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_wxMouseEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNotebook swig_types[104]
2571 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxObject swig_types[107]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2580 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPyApp swig_types[116]
2583 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyControl swig_types[118]
2585 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2594 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSlider swig_types[140]
2607 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2608 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2609 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2614 #define SWIGTYPE_p_wxStaticText swig_types[148]
2615 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2616 #define SWIGTYPE_p_wxString swig_types[150]
2617 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2620 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2621 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2622 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolbook swig_types[160]
2627 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTreeCtrl 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_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6188 long *arg2
= (long *) 0 ;
6189 long *arg3
= (long *) 0 ;
6193 int res2
= SWIG_TMPOBJ
;
6195 int res3
= SWIG_TMPOBJ
;
6196 PyObject
*swig_obj
[1] ;
6200 if (!args
) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6206 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 (arg1
)->GetSelection(arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2
)) {
6215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6220 if (SWIG_IsTmpObj(res3
)) {
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6232 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 PyObject
*resultobj
= 0;
6234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6238 PyObject
*swig_obj
[1] ;
6240 if (!args
) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6246 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_From_int(static_cast< int >(result
));
6260 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6263 wxString
*arg2
= 0 ;
6267 bool temp2
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "string", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6279 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6281 arg2
= wxString_in_helper(obj1
);
6282 if (arg2
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6308 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6312 wxString
*arg3
= 0 ;
6317 bool temp3
= false ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 PyObject
* obj2
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6330 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6332 if (!SWIG_IsOK(ecode2
)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6335 arg2
= static_cast< int >(val2
);
6337 arg3
= wxString_in_helper(obj2
);
6338 if (arg3
== NULL
) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6362 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 char * kwnames
[] = {
6373 (char *) "self",(char *) "editable", NULL
6376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6381 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6383 if (!SWIG_IsOK(ecode2
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6386 arg2
= static_cast< bool >(val2
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetEditable(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6405 PyObject
*swig_obj
[1] ;
6407 if (!args
) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6413 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 PyObject
* obj2
= 0 ;
6441 char * kwnames
[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6450 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6452 if (!SWIG_IsOK(ecode2
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6455 arg2
= static_cast< long >(val2
);
6456 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6457 if (!SWIG_IsOK(ecode3
)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6460 arg3
= static_cast< long >(val3
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->Remove(arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_Py_Void();
6474 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6488 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6563 PyObject
*swig_obj
[1] ;
6565 if (!args
) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6571 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SelectAll();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6586 PyObject
*resultobj
= 0;
6587 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6591 PyObject
*swig_obj
[1] ;
6593 if (!args
) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6599 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6616 PyObject
*resultobj
= 0;
6617 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6621 PyObject
*swig_obj
[1] ;
6623 if (!args
) SWIG_fail
;
6625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6626 if (!SWIG_IsOK(res1
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6629 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6651 PyObject
*swig_obj
[1] ;
6653 if (!args
) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6659 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6719 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6735 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6738 SwigValueWrapper
<wxVisualAttributes
> result
;
6741 PyObject
* obj0
= 0 ;
6742 char * kwnames
[] = {
6743 (char *) "variant", NULL
6746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6749 if (!SWIG_IsOK(ecode1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6752 arg1
= static_cast< wxWindowVariant
>(val1
);
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6768 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6772 return SWIG_Py_Void();
6775 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6776 return SWIG_Python_InitShadowInstance(args
);
6779 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6780 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6785 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6786 PyObject
*pyobj
= 0;
6790 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6792 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6799 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 wxWindow
*arg1
= (wxWindow
*) 0 ;
6802 int arg2
= (int) -1 ;
6803 int arg3
= (int) 100 ;
6804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6808 long arg6
= (long) wxGA_HORIZONTAL
;
6809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6811 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6813 wxGauge
*result
= 0 ;
6826 bool temp8
= false ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6829 PyObject
* obj2
= 0 ;
6830 PyObject
* obj3
= 0 ;
6831 PyObject
* obj4
= 0 ;
6832 PyObject
* obj5
= 0 ;
6833 PyObject
* obj6
= 0 ;
6834 PyObject
* obj7
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6847 if (!SWIG_IsOK(ecode2
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6850 arg2
= static_cast< int >(val2
);
6853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6854 if (!SWIG_IsOK(ecode3
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6857 arg3
= static_cast< int >(val3
);
6862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6872 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6873 if (!SWIG_IsOK(ecode6
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6876 arg6
= static_cast< long >(val6
);
6879 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6880 if (!SWIG_IsOK(res7
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6886 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6890 arg8
= wxString_in_helper(obj7
);
6891 if (arg8
== NULL
) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6917 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6919 wxGauge
*result
= 0 ;
6921 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxGauge
*)new wxGauge();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxGauge
*arg1
= (wxGauge
*) 0 ;
6939 wxWindow
*arg2
= (wxWindow
*) 0 ;
6940 int arg3
= (int) -1 ;
6941 int arg4
= (int) 100 ;
6942 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6943 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6944 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6945 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6946 long arg7
= (long) wxGA_HORIZONTAL
;
6947 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6948 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6949 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6950 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6966 bool temp9
= false ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6970 PyObject
* obj3
= 0 ;
6971 PyObject
* obj4
= 0 ;
6972 PyObject
* obj5
= 0 ;
6973 PyObject
* obj6
= 0 ;
6974 PyObject
* obj7
= 0 ;
6975 PyObject
* obj8
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6985 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6987 if (!SWIG_IsOK(res2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7000 if (!SWIG_IsOK(ecode4
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7003 arg4
= static_cast< int >(val4
);
7008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7018 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7019 if (!SWIG_IsOK(ecode7
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7022 arg7
= static_cast< long >(val7
);
7025 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7026 if (!SWIG_IsOK(res8
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7032 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7036 arg9
= wxString_in_helper(obj8
);
7037 if (arg9
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxGauge
*arg1
= (wxGauge
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "range", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7083 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7085 if (!SWIG_IsOK(ecode2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7088 arg2
= static_cast< int >(val2
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetRange(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_Py_Void();
7102 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7103 PyObject
*resultobj
= 0;
7104 wxGauge
*arg1
= (wxGauge
*) 0 ;
7108 PyObject
*swig_obj
[1] ;
7110 if (!args
) SWIG_fail
;
7112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7113 if (!SWIG_IsOK(res1
)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7116 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_From_int(static_cast< int >(result
));
7130 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxGauge
*arg1
= (wxGauge
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 char * kwnames
[] = {
7141 (char *) "self",(char *) "pos", NULL
7144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7146 if (!SWIG_IsOK(res1
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7149 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7151 if (!SWIG_IsOK(ecode2
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7154 arg2
= static_cast< int >(val2
);
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetValue(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 PyObject
*resultobj
= 0;
7170 wxGauge
*arg1
= (wxGauge
*) 0 ;
7174 PyObject
*swig_obj
[1] ;
7176 if (!args
) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7182 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_int(static_cast< int >(result
));
7196 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxGauge
*arg1
= (wxGauge
*) 0 ;
7202 PyObject
*swig_obj
[1] ;
7204 if (!args
) SWIG_fail
;
7206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7207 if (!SWIG_IsOK(res1
)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7210 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7226 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
= 0;
7228 wxGauge
*arg1
= (wxGauge
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7236 char * kwnames
[] = {
7237 (char *) "self",(char *) "w", NULL
7240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7242 if (!SWIG_IsOK(res1
)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7245 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7247 if (!SWIG_IsOK(ecode2
)) {
7248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7250 arg2
= static_cast< int >(val2
);
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 (arg1
)->SetShadowWidth(arg2
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= SWIG_Py_Void();
7264 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7265 PyObject
*resultobj
= 0;
7266 wxGauge
*arg1
= (wxGauge
*) 0 ;
7270 PyObject
*swig_obj
[1] ;
7272 if (!args
) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7278 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_From_int(static_cast< int >(result
));
7292 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
= 0;
7294 wxGauge
*arg1
= (wxGauge
*) 0 ;
7300 PyObject
* obj0
= 0 ;
7301 PyObject
* obj1
= 0 ;
7302 char * kwnames
[] = {
7303 (char *) "self",(char *) "w", NULL
7306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7308 if (!SWIG_IsOK(res1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7311 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7313 if (!SWIG_IsOK(ecode2
)) {
7314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7316 arg2
= static_cast< int >(val2
);
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 (arg1
)->SetBezelFace(arg2
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_Py_Void();
7330 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7331 PyObject
*resultobj
= 0;
7332 wxGauge
*arg1
= (wxGauge
*) 0 ;
7336 PyObject
*swig_obj
[1] ;
7338 if (!args
) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7344 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_From_int(static_cast< int >(result
));
7358 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
= 0;
7360 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7361 SwigValueWrapper
<wxVisualAttributes
> result
;
7364 PyObject
* obj0
= 0 ;
7365 char * kwnames
[] = {
7366 (char *) "variant", NULL
7369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7372 if (!SWIG_IsOK(ecode1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7375 arg1
= static_cast< wxWindowVariant
>(val1
);
7378 if (!wxPyCheckForApp()) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7391 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7394 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7395 return SWIG_Py_Void();
7398 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7399 return SWIG_Python_InitShadowInstance(args
);
7402 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7422 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7442 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7443 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7448 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7449 PyObject
*pyobj
= 0;
7453 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7455 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7462 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
= 0;
7464 wxWindow
*arg1
= (wxWindow
*) 0 ;
7465 int arg2
= (int) -1 ;
7466 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7467 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7472 long arg6
= (long) 0 ;
7473 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7474 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7475 wxStaticBox
*result
= 0 ;
7480 bool temp3
= false ;
7485 bool temp7
= false ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7488 PyObject
* obj2
= 0 ;
7489 PyObject
* obj3
= 0 ;
7490 PyObject
* obj4
= 0 ;
7491 PyObject
* obj5
= 0 ;
7492 PyObject
* obj6
= 0 ;
7493 char * kwnames
[] = {
7494 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7505 if (!SWIG_IsOK(ecode2
)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7508 arg2
= static_cast< int >(val2
);
7512 arg3
= wxString_in_helper(obj2
);
7513 if (arg3
== NULL
) SWIG_fail
;
7520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7530 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7531 if (!SWIG_IsOK(ecode6
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7534 arg6
= static_cast< long >(val6
);
7538 arg7
= wxString_in_helper(obj6
);
7539 if (arg7
== NULL
) SWIG_fail
;
7544 if (!wxPyCheckForApp()) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7573 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7574 PyObject
*resultobj
= 0;
7575 wxStaticBox
*result
= 0 ;
7577 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7579 if (!wxPyCheckForApp()) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (wxStaticBox
*)new wxStaticBox();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7592 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
= 0;
7594 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7595 wxWindow
*arg2
= (wxWindow
*) 0 ;
7596 int arg3
= (int) -1 ;
7597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7603 long arg7
= (long) 0 ;
7604 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7605 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7613 bool temp4
= false ;
7618 bool temp8
= false ;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 PyObject
* obj2
= 0 ;
7622 PyObject
* obj3
= 0 ;
7623 PyObject
* obj4
= 0 ;
7624 PyObject
* obj5
= 0 ;
7625 PyObject
* obj6
= 0 ;
7626 PyObject
* obj7
= 0 ;
7627 char * kwnames
[] = {
7628 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7633 if (!SWIG_IsOK(res1
)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7636 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7638 if (!SWIG_IsOK(res2
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7644 if (!SWIG_IsOK(ecode3
)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7647 arg3
= static_cast< int >(val3
);
7651 arg4
= wxString_in_helper(obj3
);
7652 if (arg4
== NULL
) SWIG_fail
;
7659 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7665 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7669 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7670 if (!SWIG_IsOK(ecode7
)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7673 arg7
= static_cast< long >(val7
);
7677 arg8
= wxString_in_helper(obj7
);
7678 if (arg8
== NULL
) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7713 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
= 0;
7715 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7716 SwigValueWrapper
<wxVisualAttributes
> result
;
7719 PyObject
* obj0
= 0 ;
7720 char * kwnames
[] = {
7721 (char *) "variant", NULL
7724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7727 if (!SWIG_IsOK(ecode1
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7730 arg1
= static_cast< wxWindowVariant
>(val1
);
7733 if (!wxPyCheckForApp()) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7746 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7749 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7750 return SWIG_Py_Void();
7753 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7754 return SWIG_Python_InitShadowInstance(args
);
7757 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
= 0;
7759 wxWindow
*arg1
= (wxWindow
*) 0 ;
7760 int arg2
= (int) -1 ;
7761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7765 long arg5
= (long) wxLI_HORIZONTAL
;
7766 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7768 wxStaticLine
*result
= 0 ;
7777 bool temp6
= false ;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7780 PyObject
* obj2
= 0 ;
7781 PyObject
* obj3
= 0 ;
7782 PyObject
* obj4
= 0 ;
7783 PyObject
* obj5
= 0 ;
7784 char * kwnames
[] = {
7785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7790 if (!SWIG_IsOK(res1
)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7796 if (!SWIG_IsOK(ecode2
)) {
7797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7799 arg2
= static_cast< int >(val2
);
7804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7814 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7815 if (!SWIG_IsOK(ecode5
)) {
7816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7818 arg5
= static_cast< long >(val5
);
7822 arg6
= wxString_in_helper(obj5
);
7823 if (arg6
== NULL
) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7849 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7850 PyObject
*resultobj
= 0;
7851 wxStaticLine
*result
= 0 ;
7853 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxStaticLine
*)new wxStaticLine();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7868 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
= 0;
7870 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7871 wxWindow
*arg2
= (wxWindow
*) 0 ;
7872 int arg3
= (int) -1 ;
7873 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7874 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7875 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7876 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7877 long arg6
= (long) wxLI_HORIZONTAL
;
7878 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7891 bool temp7
= false ;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7894 PyObject
* obj2
= 0 ;
7895 PyObject
* obj3
= 0 ;
7896 PyObject
* obj4
= 0 ;
7897 PyObject
* obj5
= 0 ;
7898 PyObject
* obj6
= 0 ;
7899 char * kwnames
[] = {
7900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7905 if (!SWIG_IsOK(res1
)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7908 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7910 if (!SWIG_IsOK(res2
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7916 if (!SWIG_IsOK(ecode3
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7919 arg3
= static_cast< int >(val3
);
7924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7934 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7935 if (!SWIG_IsOK(ecode6
)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7938 arg6
= static_cast< long >(val6
);
7942 arg7
= wxString_in_helper(obj6
);
7943 if (arg7
== NULL
) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 PyObject
*resultobj
= 0;
7972 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7984 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8004 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (int)wxStaticLine::GetDefaultSize();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_From_int(static_cast< int >(result
));
8018 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
= 0;
8020 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8021 SwigValueWrapper
<wxVisualAttributes
> result
;
8024 PyObject
* obj0
= 0 ;
8025 char * kwnames
[] = {
8026 (char *) "variant", NULL
8029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8031 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8032 if (!SWIG_IsOK(ecode1
)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8035 arg1
= static_cast< wxWindowVariant
>(val1
);
8038 if (!wxPyCheckForApp()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8051 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8055 return SWIG_Py_Void();
8058 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 return SWIG_Python_InitShadowInstance(args
);
8062 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxWindow
*arg1
= (wxWindow
*) 0 ;
8065 int arg2
= (int) -1 ;
8066 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8067 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8072 long arg6
= (long) 0 ;
8073 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8075 wxStaticText
*result
= 0 ;
8080 bool temp3
= false ;
8085 bool temp7
= false ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8089 PyObject
* obj3
= 0 ;
8090 PyObject
* obj4
= 0 ;
8091 PyObject
* obj5
= 0 ;
8092 PyObject
* obj6
= 0 ;
8093 char * kwnames
[] = {
8094 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8099 if (!SWIG_IsOK(res1
)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8105 if (!SWIG_IsOK(ecode2
)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8108 arg2
= static_cast< int >(val2
);
8112 arg3
= wxString_in_helper(obj2
);
8113 if (arg3
== NULL
) SWIG_fail
;
8120 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8126 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8130 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8131 if (!SWIG_IsOK(ecode6
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8134 arg6
= static_cast< long >(val6
);
8138 arg7
= wxString_in_helper(obj6
);
8139 if (arg7
== NULL
) SWIG_fail
;
8144 if (!wxPyCheckForApp()) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8173 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8174 PyObject
*resultobj
= 0;
8175 wxStaticText
*result
= 0 ;
8177 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8179 if (!wxPyCheckForApp()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (wxStaticText
*)new wxStaticText();
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8192 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
= 0;
8194 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8195 wxWindow
*arg2
= (wxWindow
*) 0 ;
8196 int arg3
= (int) -1 ;
8197 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8198 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8199 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8200 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8201 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8202 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8203 long arg7
= (long) 0 ;
8204 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8213 bool temp4
= false ;
8218 bool temp8
= false ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8221 PyObject
* obj2
= 0 ;
8222 PyObject
* obj3
= 0 ;
8223 PyObject
* obj4
= 0 ;
8224 PyObject
* obj5
= 0 ;
8225 PyObject
* obj6
= 0 ;
8226 PyObject
* obj7
= 0 ;
8227 char * kwnames
[] = {
8228 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8236 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8238 if (!SWIG_IsOK(res2
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8244 if (!SWIG_IsOK(ecode3
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8247 arg3
= static_cast< int >(val3
);
8251 arg4
= wxString_in_helper(obj3
);
8252 if (arg4
== NULL
) SWIG_fail
;
8259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8269 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8270 if (!SWIG_IsOK(ecode7
)) {
8271 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8273 arg7
= static_cast< long >(val7
);
8277 arg8
= wxString_in_helper(obj7
);
8278 if (arg8
== NULL
) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8313 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
= 0;
8315 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8323 char * kwnames
[] = {
8324 (char *) "self",(char *) "width", NULL
8327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8332 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8334 if (!SWIG_IsOK(ecode2
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8337 arg2
= static_cast< int >(val2
);
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_Py_Void();
8351 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
= 0;
8353 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8354 SwigValueWrapper
<wxVisualAttributes
> result
;
8357 PyObject
* obj0
= 0 ;
8358 char * kwnames
[] = {
8359 (char *) "variant", NULL
8362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8365 if (!SWIG_IsOK(ecode1
)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8368 arg1
= static_cast< wxWindowVariant
>(val1
);
8371 if (!wxPyCheckForApp()) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8384 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8387 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8388 return SWIG_Py_Void();
8391 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 return SWIG_Python_InitShadowInstance(args
);
8395 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
= 0;
8397 wxWindow
*arg1
= (wxWindow
*) 0 ;
8398 int arg2
= (int) -1 ;
8399 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8400 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8405 long arg6
= (long) 0 ;
8406 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8408 wxStaticBitmap
*result
= 0 ;
8419 bool temp7
= false ;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8422 PyObject
* obj2
= 0 ;
8423 PyObject
* obj3
= 0 ;
8424 PyObject
* obj4
= 0 ;
8425 PyObject
* obj5
= 0 ;
8426 PyObject
* obj6
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8439 if (!SWIG_IsOK(ecode2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8442 arg2
= static_cast< int >(val2
);
8445 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8446 if (!SWIG_IsOK(res3
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8452 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8468 if (!SWIG_IsOK(ecode6
)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8471 arg6
= static_cast< long >(val6
);
8475 arg7
= wxString_in_helper(obj6
);
8476 if (arg7
== NULL
) SWIG_fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8502 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 PyObject
*resultobj
= 0;
8504 wxStaticBitmap
*result
= 0 ;
8506 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8508 if (!wxPyCheckForApp()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8521 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8524 wxWindow
*arg2
= (wxWindow
*) 0 ;
8525 int arg3
= (int) -1 ;
8526 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8527 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8528 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8529 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8530 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8531 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8532 long arg7
= (long) 0 ;
8533 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8548 bool temp8
= false ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8552 PyObject
* obj3
= 0 ;
8553 PyObject
* obj4
= 0 ;
8554 PyObject
* obj5
= 0 ;
8555 PyObject
* obj6
= 0 ;
8556 PyObject
* obj7
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8566 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8568 if (!SWIG_IsOK(res2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8574 if (!SWIG_IsOK(ecode3
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8577 arg3
= static_cast< int >(val3
);
8580 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8581 if (!SWIG_IsOK(res4
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8587 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8603 if (!SWIG_IsOK(ecode7
)) {
8604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8606 arg7
= static_cast< long >(val7
);
8610 arg8
= wxString_in_helper(obj7
);
8611 if (arg8
== NULL
) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8638 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8639 PyObject
*resultobj
= 0;
8640 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8644 PyObject
*swig_obj
[1] ;
8646 if (!args
) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8652 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (arg1
)->GetBitmap();
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8666 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
= 0;
8668 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8669 wxBitmap
*arg2
= 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 char * kwnames
[] = {
8677 (char *) "self",(char *) "bitmap", NULL
8680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8685 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8687 if (!SWIG_IsOK(res2
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8693 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_Py_Void();
8707 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
= 0;
8709 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 char * kwnames
[] = {
8718 (char *) "self",(char *) "icon", NULL
8721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8723 if (!SWIG_IsOK(res1
)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8726 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8728 if (!SWIG_IsOK(res2
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8734 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= SWIG_Py_Void();
8748 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
= 0;
8750 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8751 SwigValueWrapper
<wxVisualAttributes
> result
;
8754 PyObject
* obj0
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "variant", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8762 if (!SWIG_IsOK(ecode1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8765 arg1
= static_cast< wxWindowVariant
>(val1
);
8768 if (!wxPyCheckForApp()) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8781 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8784 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8785 return SWIG_Py_Void();
8788 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8789 return SWIG_Python_InitShadowInstance(args
);
8792 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8793 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8798 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8799 PyObject
*pyobj
= 0;
8803 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8805 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8812 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxWindow
*arg1
= (wxWindow
*) 0 ;
8815 int arg2
= (int) -1 ;
8816 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8817 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8818 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8819 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8820 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8821 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8822 long arg6
= (long) 0 ;
8823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8825 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8827 wxListBox
*result
= 0 ;
8834 bool temp5
= false ;
8839 bool temp8
= false ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8843 PyObject
* obj3
= 0 ;
8844 PyObject
* obj4
= 0 ;
8845 PyObject
* obj5
= 0 ;
8846 PyObject
* obj6
= 0 ;
8847 PyObject
* obj7
= 0 ;
8848 char * kwnames
[] = {
8849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8860 if (!SWIG_IsOK(ecode2
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8863 arg2
= static_cast< int >(val2
);
8868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8879 if (! PySequence_Check(obj4
)) {
8880 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8883 arg5
= new wxArrayString
;
8885 int i
, len
=PySequence_Length(obj4
);
8886 for (i
=0; i
<len
; i
++) {
8887 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8888 wxString
* s
= wxString_in_helper(item
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8897 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8898 if (!SWIG_IsOK(ecode6
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8901 arg6
= static_cast< long >(val6
);
8904 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8905 if (!SWIG_IsOK(res7
)) {
8906 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8911 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8915 arg8
= wxString_in_helper(obj7
);
8916 if (arg8
== NULL
) SWIG_fail
;
8921 if (!wxPyCheckForApp()) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8929 if (temp5
) delete arg5
;
8938 if (temp5
) delete arg5
;
8948 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 PyObject
*resultobj
= 0;
8950 wxListBox
*result
= 0 ;
8952 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8954 if (!wxPyCheckForApp()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxListBox
*)new wxListBox();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8967 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
= 0;
8969 wxListBox
*arg1
= (wxListBox
*) 0 ;
8970 wxWindow
*arg2
= (wxWindow
*) 0 ;
8971 int arg3
= (int) -1 ;
8972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8976 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8977 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8978 long arg7
= (long) 0 ;
8979 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8980 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8981 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8982 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8992 bool temp6
= false ;
8997 bool temp9
= false ;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9000 PyObject
* obj2
= 0 ;
9001 PyObject
* obj3
= 0 ;
9002 PyObject
* obj4
= 0 ;
9003 PyObject
* obj5
= 0 ;
9004 PyObject
* obj6
= 0 ;
9005 PyObject
* obj7
= 0 ;
9006 PyObject
* obj8
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9013 if (!SWIG_IsOK(res1
)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9016 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9018 if (!SWIG_IsOK(res2
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9024 if (!SWIG_IsOK(ecode3
)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9027 arg3
= static_cast< int >(val3
);
9032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9038 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9043 if (! PySequence_Check(obj5
)) {
9044 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9047 arg6
= new wxArrayString
;
9049 int i
, len
=PySequence_Length(obj5
);
9050 for (i
=0; i
<len
; i
++) {
9051 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9052 wxString
* s
= wxString_in_helper(item
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9061 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9062 if (!SWIG_IsOK(ecode7
)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9065 arg7
= static_cast< long >(val7
);
9068 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9069 if (!SWIG_IsOK(res8
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9075 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9079 arg9
= wxString_in_helper(obj8
);
9080 if (arg9
== NULL
) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 if (temp6
) delete arg6
;
9103 if (temp6
) delete arg6
;
9113 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
= 0;
9115 wxListBox
*arg1
= (wxListBox
*) 0 ;
9116 wxString
*arg2
= 0 ;
9118 PyObject
*arg4
= (PyObject
*) NULL
;
9121 bool temp2
= false ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 PyObject
* obj2
= 0 ;
9127 PyObject
* obj3
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9137 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9139 arg2
= wxString_in_helper(obj1
);
9140 if (arg2
== NULL
) SWIG_fail
;
9143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9144 if (!SWIG_IsOK(ecode3
)) {
9145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9147 arg3
= static_cast< int >(val3
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9172 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= 0;
9174 wxListBox
*arg1
= (wxListBox
*) 0 ;
9175 wxArrayString
*arg2
= 0 ;
9179 bool temp2
= false ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9185 char * kwnames
[] = {
9186 (char *) "self",(char *) "items",(char *) "pos", NULL
9189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9191 if (!SWIG_IsOK(res1
)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9194 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9196 if (! PySequence_Check(obj1
)) {
9197 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9200 arg2
= new wxArrayString
;
9202 int i
, len
=PySequence_Length(obj1
);
9203 for (i
=0; i
<len
; i
++) {
9204 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9205 wxString
* s
= wxString_in_helper(item
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9212 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9213 if (!SWIG_IsOK(ecode3
)) {
9214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9216 arg3
= static_cast< unsigned int >(val3
);
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_Py_Void();
9225 if (temp2
) delete arg2
;
9230 if (temp2
) delete arg2
;
9236 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxListBox
*arg1
= (wxListBox
*) 0 ;
9239 wxArrayString
*arg2
= 0 ;
9242 bool temp2
= false ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 char * kwnames
[] = {
9246 (char *) "self",(char *) "items", NULL
9249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9254 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9256 if (! PySequence_Check(obj1
)) {
9257 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9260 arg2
= new wxArrayString
;
9262 int i
, len
=PySequence_Length(obj1
);
9263 for (i
=0; i
<len
; i
++) {
9264 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9265 wxString
* s
= wxString_in_helper(item
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 (arg1
)->Set((wxArrayString
const &)*arg2
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_Py_Void();
9280 if (temp2
) delete arg2
;
9285 if (temp2
) delete arg2
;
9291 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= 0;
9293 wxListBox
*arg1
= (wxListBox
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9302 char * kwnames
[] = {
9303 (char *) "self",(char *) "n", NULL
9306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9311 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9313 if (!SWIG_IsOK(ecode2
)) {
9314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9316 arg2
= static_cast< int >(val2
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9332 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
= 0;
9334 wxListBox
*arg1
= (wxListBox
*) 0 ;
9336 bool arg3
= (bool) true ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9346 char * kwnames
[] = {
9347 (char *) "self",(char *) "n",(char *) "select", NULL
9350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9355 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9357 if (!SWIG_IsOK(ecode2
)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9360 arg2
= static_cast< int >(val2
);
9362 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9363 if (!SWIG_IsOK(ecode3
)) {
9364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9366 arg3
= static_cast< bool >(val3
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->SetSelection(arg2
,arg3
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_Py_Void();
9381 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 wxListBox
*arg1
= (wxListBox
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 char * kwnames
[] = {
9392 (char *) "self",(char *) "n", NULL
9395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9400 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9402 if (!SWIG_IsOK(ecode2
)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9405 arg2
= static_cast< int >(val2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->Select(arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxListBox
*arg1
= (wxListBox
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "n", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9438 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9440 if (!SWIG_IsOK(ecode2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9443 arg2
= static_cast< int >(val2
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->Deselect(arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_Py_Void();
9457 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 wxListBox
*arg1
= (wxListBox
*) 0 ;
9460 int arg2
= (int) -1 ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 char * kwnames
[] = {
9468 (char *) "self",(char *) "itemToLeaveSelected", NULL
9471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9476 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9479 if (!SWIG_IsOK(ecode2
)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9482 arg2
= static_cast< int >(val2
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->DeselectAll(arg2
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_Py_Void();
9497 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxListBox
*arg1
= (wxListBox
*) 0 ;
9500 wxString
*arg2
= 0 ;
9501 bool arg3
= (bool) true ;
9505 bool temp2
= false ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "s",(char *) "select", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9520 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9522 arg2
= wxString_in_helper(obj1
);
9523 if (arg2
== NULL
) SWIG_fail
;
9527 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9528 if (!SWIG_IsOK(ecode3
)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9531 arg3
= static_cast< bool >(val3
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9556 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9557 PyObject
*resultobj
= 0;
9558 wxListBox
*arg1
= (wxListBox
*) 0 ;
9559 PyObject
*result
= 0 ;
9562 PyObject
*swig_obj
[1] ;
9564 if (!args
) SWIG_fail
;
9566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9567 if (!SWIG_IsOK(res1
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9570 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9584 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= 0;
9586 wxListBox
*arg1
= (wxListBox
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "self",(char *) "n", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9603 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9605 if (!SWIG_IsOK(ecode2
)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9608 arg2
= static_cast< int >(val2
);
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 (arg1
)->SetFirstItem(arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_Py_Void();
9622 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
= 0;
9624 wxListBox
*arg1
= (wxListBox
*) 0 ;
9625 wxString
*arg2
= 0 ;
9628 bool temp2
= false ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 char * kwnames
[] = {
9632 (char *) "self",(char *) "s", NULL
9635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9640 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9642 arg2
= wxString_in_helper(obj1
);
9643 if (arg2
== NULL
) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_Py_Void();
9667 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
= 0;
9669 wxListBox
*arg1
= (wxListBox
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "n", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9686 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9688 if (!SWIG_IsOK(ecode2
)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9691 arg2
= static_cast< int >(val2
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 (arg1
)->EnsureVisible(arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_Py_Void();
9705 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9707 wxListBox
*arg1
= (wxListBox
*) 0 ;
9708 wxString
*arg2
= 0 ;
9711 bool temp2
= false ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 char * kwnames
[] = {
9715 (char *) "self",(char *) "s", NULL
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9723 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9725 arg2
= wxString_in_helper(obj1
);
9726 if (arg2
== NULL
) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_Py_Void();
9750 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9751 PyObject
*resultobj
= 0;
9752 wxListBox
*arg1
= (wxListBox
*) 0 ;
9756 PyObject
*swig_obj
[1] ;
9758 if (!args
) SWIG_fail
;
9760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9761 if (!SWIG_IsOK(res1
)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9764 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9780 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxListBox
*arg1
= (wxListBox
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "pt", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9799 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_From_int(static_cast< int >(result
));
9817 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
= 0;
9819 wxListBox
*arg1
= (wxListBox
*) 0 ;
9821 wxColour
*arg3
= 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "self",(char *) "item",(char *) "c", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9836 if (!SWIG_IsOK(res1
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9839 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9841 if (!SWIG_IsOK(ecode2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9844 arg2
= static_cast< int >(val2
);
9847 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_Py_Void();
9862 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxListBox
*arg1
= (wxListBox
*) 0 ;
9866 wxColour
*arg3
= 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 PyObject
* obj2
= 0 ;
9875 char * kwnames
[] = {
9876 (char *) "self",(char *) "item",(char *) "c", NULL
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9881 if (!SWIG_IsOK(res1
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9884 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9886 if (!SWIG_IsOK(ecode2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9889 arg2
= static_cast< int >(val2
);
9892 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_Py_Void();
9907 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxListBox
*arg1
= (wxListBox
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "item",(char *) "f", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9930 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9932 if (!SWIG_IsOK(ecode2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9935 arg2
= static_cast< int >(val2
);
9936 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9937 if (!SWIG_IsOK(res3
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9943 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= SWIG_Py_Void();
9957 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9960 SwigValueWrapper
<wxVisualAttributes
> result
;
9963 PyObject
* obj0
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "variant", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9971 if (!SWIG_IsOK(ecode1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9974 arg1
= static_cast< wxWindowVariant
>(val1
);
9977 if (!wxPyCheckForApp()) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9990 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9993 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9994 return SWIG_Py_Void();
9997 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9998 return SWIG_Python_InitShadowInstance(args
);
10001 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= 0;
10003 wxWindow
*arg1
= (wxWindow
*) 0 ;
10004 int arg2
= (int) -1 ;
10005 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10006 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10007 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10008 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10009 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10010 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10011 long arg6
= (long) 0 ;
10012 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10013 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10014 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10016 wxCheckListBox
*result
= 0 ;
10023 bool temp5
= false ;
10028 bool temp8
= false ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 PyObject
* obj3
= 0 ;
10033 PyObject
* obj4
= 0 ;
10034 PyObject
* obj5
= 0 ;
10035 PyObject
* obj6
= 0 ;
10036 PyObject
* obj7
= 0 ;
10037 char * kwnames
[] = {
10038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10043 if (!SWIG_IsOK(res1
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10049 if (!SWIG_IsOK(ecode2
)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10052 arg2
= static_cast< int >(val2
);
10057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10063 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10068 if (! PySequence_Check(obj4
)) {
10069 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10072 arg5
= new wxArrayString
;
10074 int i
, len
=PySequence_Length(obj4
);
10075 for (i
=0; i
<len
; i
++) {
10076 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10077 wxString
* s
= wxString_in_helper(item
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10086 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10087 if (!SWIG_IsOK(ecode6
)) {
10088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10090 arg6
= static_cast< long >(val6
);
10093 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10094 if (!SWIG_IsOK(res7
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10100 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10104 arg8
= wxString_in_helper(obj7
);
10105 if (arg8
== NULL
) SWIG_fail
;
10110 if (!wxPyCheckForApp()) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10118 if (temp5
) delete arg5
;
10127 if (temp5
) delete arg5
;
10137 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10138 PyObject
*resultobj
= 0;
10139 wxCheckListBox
*result
= 0 ;
10141 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxCheckListBox
*)new wxCheckListBox();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10156 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
= 0;
10158 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10159 wxWindow
*arg2
= (wxWindow
*) 0 ;
10160 int arg3
= (int) -1 ;
10161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10165 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10166 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10167 long arg7
= (long) 0 ;
10168 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10169 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10170 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10171 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10181 bool temp6
= false ;
10186 bool temp9
= false ;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj1
= 0 ;
10189 PyObject
* obj2
= 0 ;
10190 PyObject
* obj3
= 0 ;
10191 PyObject
* obj4
= 0 ;
10192 PyObject
* obj5
= 0 ;
10193 PyObject
* obj6
= 0 ;
10194 PyObject
* obj7
= 0 ;
10195 PyObject
* obj8
= 0 ;
10196 char * kwnames
[] = {
10197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10202 if (!SWIG_IsOK(res1
)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10205 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10207 if (!SWIG_IsOK(res2
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10213 if (!SWIG_IsOK(ecode3
)) {
10214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10216 arg3
= static_cast< int >(val3
);
10221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10232 if (! PySequence_Check(obj5
)) {
10233 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10236 arg6
= new wxArrayString
;
10238 int i
, len
=PySequence_Length(obj5
);
10239 for (i
=0; i
<len
; i
++) {
10240 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10241 wxString
* s
= wxString_in_helper(item
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10250 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10251 if (!SWIG_IsOK(ecode7
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10254 arg7
= static_cast< long >(val7
);
10257 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10258 if (!SWIG_IsOK(res8
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10264 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10268 arg9
= wxString_in_helper(obj8
);
10269 if (arg9
== NULL
) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 if (temp6
) delete arg6
;
10292 if (temp6
) delete arg6
;
10302 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10305 unsigned int arg2
;
10309 unsigned int val2
;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "self",(char *) "index", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10319 if (!SWIG_IsOK(res1
)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10322 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10323 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10324 if (!SWIG_IsOK(ecode2
)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10327 arg2
= static_cast< unsigned int >(val2
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)(arg1
)->IsChecked(arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
= 0;
10345 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10346 unsigned int arg2
;
10347 int arg3
= (int) true ;
10350 unsigned int val2
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 PyObject
* obj2
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "self",(char *) "index",(char *) "check", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10366 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10367 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10371 arg2
= static_cast< unsigned int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->Check(arg2
,arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= SWIG_Py_Void();
10392 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10393 PyObject
*resultobj
= 0;
10394 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10398 PyObject
*swig_obj
[1] ;
10400 if (!args
) SWIG_fail
;
10401 swig_obj
[0] = args
;
10402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10403 if (!SWIG_IsOK(res1
)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10406 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (int)(arg1
)->GetItemHeight();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_From_int(static_cast< int >(result
));
10420 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10423 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10424 return SWIG_Py_Void();
10427 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10428 return SWIG_Python_InitShadowInstance(args
);
10431 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10432 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10437 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10438 PyObject
*pyobj
= 0;
10442 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10444 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10451 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
= 0;
10453 wxColour
const &arg1_defvalue
= wxNullColour
;
10454 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10455 wxColour
const &arg2_defvalue
= wxNullColour
;
10456 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10457 wxFont
const &arg3_defvalue
= wxNullFont
;
10458 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10459 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10460 wxTextAttr
*result
= 0 ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 PyObject
* obj3
= 0 ;
10471 char * kwnames
[] = {
10472 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10479 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10489 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10490 if (!SWIG_IsOK(res3
)) {
10491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10496 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10499 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10500 if (!SWIG_IsOK(ecode4
)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10503 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10518 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10519 PyObject
*resultobj
= 0;
10520 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10531 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10559 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxTextAttr
*arg1
= 0 ;
10576 wxTextAttr
*arg2
= 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "base",(char *) "overlay", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10596 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10598 if (!SWIG_IsOK(res2
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10604 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10618 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10621 wxColour
*arg2
= 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char * kwnames
[] = {
10628 (char *) "self",(char *) "colText", NULL
10631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10633 if (!SWIG_IsOK(res1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10636 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_Py_Void();
10654 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
= 0;
10656 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10657 wxColour
*arg2
= 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 char * kwnames
[] = {
10664 (char *) "self",(char *) "colBack", NULL
10667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10669 if (!SWIG_IsOK(res1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10672 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_Py_Void();
10690 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
= 0;
10692 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10694 long arg3
= (long) wxTEXT_ATTR_FONT
;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "font",(char *) "flags", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10713 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10715 if (!SWIG_IsOK(res2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10721 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10723 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10724 if (!SWIG_IsOK(ecode3
)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10727 arg3
= static_cast< long >(val3
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_Py_Void();
10742 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
= 0;
10744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10745 wxTextAttrAlignment arg2
;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char * kwnames
[] = {
10753 (char *) "self",(char *) "alignment", NULL
10756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10758 if (!SWIG_IsOK(res1
)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10761 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10763 if (!SWIG_IsOK(ecode2
)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10766 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetAlignment(arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_Py_Void();
10780 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= 0;
10782 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10783 wxArrayInt
*arg2
= 0 ;
10786 bool temp2
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char * kwnames
[] = {
10790 (char *) "self",(char *) "tabs", NULL
10793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10798 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10800 if (! PySequence_Check(obj1
)) {
10801 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10804 arg2
= new wxArrayInt
;
10806 int i
, len
=PySequence_Length(obj1
);
10807 for (i
=0; i
<len
; i
++) {
10808 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10809 PyObject
* number
= PyNumber_Int(item
);
10810 arg2
->Add(PyInt_AS_LONG(number
));
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= SWIG_Py_Void();
10823 if (temp2
) delete arg2
;
10828 if (temp2
) delete arg2
;
10834 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
= 0;
10836 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10838 int arg3
= (int) 0 ;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 PyObject
* obj2
= 0 ;
10848 char * kwnames
[] = {
10849 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10854 if (!SWIG_IsOK(res1
)) {
10855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10857 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10859 if (!SWIG_IsOK(ecode2
)) {
10860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10862 arg2
= static_cast< int >(val2
);
10864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10865 if (!SWIG_IsOK(ecode3
)) {
10866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10868 arg3
= static_cast< int >(val3
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetLeftIndent(arg2
,arg3
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
= 0;
10885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char * kwnames
[] = {
10894 (char *) "self",(char *) "indent", NULL
10897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10899 if (!SWIG_IsOK(res1
)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10902 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10904 if (!SWIG_IsOK(ecode2
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10907 arg2
= static_cast< int >(val2
);
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 (arg1
)->SetRightIndent(arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_Py_Void();
10921 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "flags", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10940 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10941 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10942 if (!SWIG_IsOK(ecode2
)) {
10943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10945 arg2
= static_cast< long >(val2
);
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 (arg1
)->SetFlags(arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_Py_Void();
10959 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10960 PyObject
*resultobj
= 0;
10961 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10965 PyObject
*swig_obj
[1] ;
10967 if (!args
) SWIG_fail
;
10968 swig_obj
[0] = args
;
10969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10970 if (!SWIG_IsOK(res1
)) {
10971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10973 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10989 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10990 PyObject
*resultobj
= 0;
10991 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10995 PyObject
*swig_obj
[1] ;
10997 if (!args
) SWIG_fail
;
10998 swig_obj
[0] = args
;
10999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11000 if (!SWIG_IsOK(res1
)) {
11001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11003 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11019 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11020 PyObject
*resultobj
= 0;
11021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11025 PyObject
*swig_obj
[1] ;
11027 if (!args
) SWIG_fail
;
11028 swig_obj
[0] = args
;
11029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11030 if (!SWIG_IsOK(res1
)) {
11031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11033 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11049 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11050 PyObject
*resultobj
= 0;
11051 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11055 PyObject
*swig_obj
[1] ;
11057 if (!args
) SWIG_fail
;
11058 swig_obj
[0] = args
;
11059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11060 if (!SWIG_IsOK(res1
)) {
11061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11063 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11079 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11080 PyObject
*resultobj
= 0;
11081 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11085 PyObject
*swig_obj
[1] ;
11087 if (!args
) SWIG_fail
;
11088 swig_obj
[0] = args
;
11089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11090 if (!SWIG_IsOK(res1
)) {
11091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11093 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11109 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11110 PyObject
*resultobj
= 0;
11111 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11115 PyObject
*swig_obj
[1] ;
11117 if (!args
) SWIG_fail
;
11118 swig_obj
[0] = args
;
11119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11120 if (!SWIG_IsOK(res1
)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11123 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11139 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11140 PyObject
*resultobj
= 0;
11141 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11145 PyObject
*swig_obj
[1] ;
11147 if (!args
) SWIG_fail
;
11148 swig_obj
[0] = args
;
11149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11150 if (!SWIG_IsOK(res1
)) {
11151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11153 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
= 0;
11171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 char * kwnames
[] = {
11181 (char *) "self",(char *) "flag", NULL
11184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11189 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11191 if (!SWIG_IsOK(ecode2
)) {
11192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11194 arg2
= static_cast< long >(val2
);
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11210 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11211 PyObject
*resultobj
= 0;
11212 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11213 wxColour
*result
= 0 ;
11216 PyObject
*swig_obj
[1] ;
11218 if (!args
) SWIG_fail
;
11219 swig_obj
[0] = args
;
11220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11221 if (!SWIG_IsOK(res1
)) {
11222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11224 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11229 result
= (wxColour
*) &_result_ref
;
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11241 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11242 PyObject
*resultobj
= 0;
11243 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11244 wxColour
*result
= 0 ;
11247 PyObject
*swig_obj
[1] ;
11249 if (!args
) SWIG_fail
;
11250 swig_obj
[0] = args
;
11251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11252 if (!SWIG_IsOK(res1
)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11255 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11260 result
= (wxColour
*) &_result_ref
;
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11272 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11273 PyObject
*resultobj
= 0;
11274 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11275 wxFont
*result
= 0 ;
11278 PyObject
*swig_obj
[1] ;
11280 if (!args
) SWIG_fail
;
11281 swig_obj
[0] = args
;
11282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11283 if (!SWIG_IsOK(res1
)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11286 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11291 result
= (wxFont
*) &_result_ref
;
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 wxFont
* resultptr
= new wxFont(*result
);
11298 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11306 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 PyObject
*resultobj
= 0;
11308 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11309 wxTextAttrAlignment result
;
11312 PyObject
*swig_obj
[1] ;
11314 if (!args
) SWIG_fail
;
11315 swig_obj
[0] = args
;
11316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11317 if (!SWIG_IsOK(res1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11320 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_From_int(static_cast< int >(result
));
11334 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11335 PyObject
*resultobj
= 0;
11336 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11337 wxArrayInt
*result
= 0 ;
11340 PyObject
*swig_obj
[1] ;
11342 if (!args
) SWIG_fail
;
11343 swig_obj
[0] = args
;
11344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11345 if (!SWIG_IsOK(res1
)) {
11346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11348 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11353 result
= (wxArrayInt
*) &_result_ref
;
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= PyList_New(0);
11361 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11362 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11363 PyList_Append(resultobj
, val
);
11373 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11374 PyObject
*resultobj
= 0;
11375 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11379 PyObject
*swig_obj
[1] ;
11381 if (!args
) SWIG_fail
;
11382 swig_obj
[0] = args
;
11383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11384 if (!SWIG_IsOK(res1
)) {
11385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11387 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_From_long(static_cast< long >(result
));
11401 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11407 PyObject
*swig_obj
[1] ;
11409 if (!args
) SWIG_fail
;
11410 swig_obj
[0] = args
;
11411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11415 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_long(static_cast< long >(result
));
11429 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11435 PyObject
*swig_obj
[1] ;
11437 if (!args
) SWIG_fail
;
11438 swig_obj
[0] = args
;
11439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11443 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_long(static_cast< long >(result
));
11457 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11458 PyObject
*resultobj
= 0;
11459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11463 PyObject
*swig_obj
[1] ;
11465 if (!args
) SWIG_fail
;
11466 swig_obj
[0] = args
;
11467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11468 if (!SWIG_IsOK(res1
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11471 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_long(static_cast< long >(result
));
11485 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11486 PyObject
*resultobj
= 0;
11487 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11491 PyObject
*swig_obj
[1] ;
11493 if (!args
) SWIG_fail
;
11494 swig_obj
[0] = args
;
11495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11496 if (!SWIG_IsOK(res1
)) {
11497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11499 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11515 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
= 0;
11517 wxTextAttr
*arg1
= 0 ;
11518 wxTextAttr
*arg2
= 0 ;
11519 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 PyObject
* obj2
= 0 ;
11530 char * kwnames
[] = {
11531 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11535 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11542 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11544 if (!SWIG_IsOK(res2
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11550 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11551 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11552 if (!SWIG_IsOK(res3
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11555 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11569 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11572 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11573 return SWIG_Py_Void();
11576 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11577 return SWIG_Python_InitShadowInstance(args
);
11580 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
= 0;
11582 wxWindow
*arg1
= (wxWindow
*) 0 ;
11583 int arg2
= (int) -1 ;
11584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11586 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11587 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11588 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11589 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11590 long arg6
= (long) 0 ;
11591 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11592 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11593 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11594 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11595 wxTextCtrl
*result
= 0 ;
11600 bool temp3
= false ;
11607 bool temp8
= false ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 PyObject
* obj2
= 0 ;
11611 PyObject
* obj3
= 0 ;
11612 PyObject
* obj4
= 0 ;
11613 PyObject
* obj5
= 0 ;
11614 PyObject
* obj6
= 0 ;
11615 PyObject
* obj7
= 0 ;
11616 char * kwnames
[] = {
11617 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11622 if (!SWIG_IsOK(res1
)) {
11623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11625 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11628 if (!SWIG_IsOK(ecode2
)) {
11629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11631 arg2
= static_cast< int >(val2
);
11635 arg3
= wxString_in_helper(obj2
);
11636 if (arg3
== NULL
) SWIG_fail
;
11643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11653 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11654 if (!SWIG_IsOK(ecode6
)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11657 arg6
= static_cast< long >(val6
);
11660 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11661 if (!SWIG_IsOK(res7
)) {
11662 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11667 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11671 arg8
= wxString_in_helper(obj7
);
11672 if (arg8
== NULL
) SWIG_fail
;
11677 if (!wxPyCheckForApp()) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11706 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11707 PyObject
*resultobj
= 0;
11708 wxTextCtrl
*result
= 0 ;
11710 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11712 if (!wxPyCheckForApp()) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (wxTextCtrl
*)new wxTextCtrl();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11725 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
= 0;
11727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11728 wxWindow
*arg2
= (wxWindow
*) 0 ;
11729 int arg3
= (int) -1 ;
11730 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11731 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11732 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11733 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11734 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11735 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11736 long arg7
= (long) 0 ;
11737 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11738 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11739 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11740 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11748 bool temp4
= false ;
11755 bool temp9
= false ;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 PyObject
* obj2
= 0 ;
11759 PyObject
* obj3
= 0 ;
11760 PyObject
* obj4
= 0 ;
11761 PyObject
* obj5
= 0 ;
11762 PyObject
* obj6
= 0 ;
11763 PyObject
* obj7
= 0 ;
11764 PyObject
* obj8
= 0 ;
11765 char * kwnames
[] = {
11766 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11774 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11776 if (!SWIG_IsOK(res2
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11782 if (!SWIG_IsOK(ecode3
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11785 arg3
= static_cast< int >(val3
);
11789 arg4
= wxString_in_helper(obj3
);
11790 if (arg4
== NULL
) SWIG_fail
;
11797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11803 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11807 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11808 if (!SWIG_IsOK(ecode7
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11811 arg7
= static_cast< long >(val7
);
11814 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11815 if (!SWIG_IsOK(res8
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11821 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11825 arg9
= wxString_in_helper(obj8
);
11826 if (arg9
== NULL
) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11861 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 PyObject
*resultobj
= 0;
11863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11867 PyObject
*swig_obj
[1] ;
11869 if (!args
) SWIG_fail
;
11870 swig_obj
[0] = args
;
11871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11875 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11895 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
= 0;
11897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11898 wxString
*arg2
= 0 ;
11901 bool temp2
= false ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "value", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11913 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11915 arg2
= wxString_in_helper(obj1
);
11916 if (arg2
== NULL
) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->SetValue((wxString
const &)*arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_Py_Void();
11940 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= 0;
11942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 char * kwnames
[] = {
11956 (char *) "self",(char *) "from",(char *) "to", NULL
11959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11961 if (!SWIG_IsOK(res1
)) {
11962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11964 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11965 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11966 if (!SWIG_IsOK(ecode2
)) {
11967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11969 arg2
= static_cast< long >(val2
);
11970 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11971 if (!SWIG_IsOK(ecode3
)) {
11972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11974 arg3
= static_cast< long >(val3
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11994 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
= 0;
11996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 char * kwnames
[] = {
12006 (char *) "self",(char *) "lineNo", NULL
12009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12016 if (!SWIG_IsOK(ecode2
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12019 arg2
= static_cast< long >(val2
);
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_From_int(static_cast< int >(result
));
12033 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
= 0;
12035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 char * kwnames
[] = {
12045 (char *) "self",(char *) "lineNo", NULL
12048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12053 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12055 if (!SWIG_IsOK(ecode2
)) {
12056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12058 arg2
= static_cast< long >(val2
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12078 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12079 PyObject
*resultobj
= 0;
12080 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12084 PyObject
*swig_obj
[1] ;
12086 if (!args
) SWIG_fail
;
12087 swig_obj
[0] = args
;
12088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12089 if (!SWIG_IsOK(res1
)) {
12090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12092 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_From_int(static_cast< int >(result
));
12106 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12112 PyObject
*swig_obj
[1] ;
12114 if (!args
) SWIG_fail
;
12115 swig_obj
[0] = args
;
12116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12120 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12136 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12137 PyObject
*resultobj
= 0;
12138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12142 PyObject
*swig_obj
[1] ;
12144 if (!args
) SWIG_fail
;
12145 swig_obj
[0] = args
;
12146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12147 if (!SWIG_IsOK(res1
)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12150 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12166 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12167 PyObject
*resultobj
= 0;
12168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12172 PyObject
*swig_obj
[1] ;
12174 if (!args
) SWIG_fail
;
12175 swig_obj
[0] = args
;
12176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12180 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12196 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12197 PyObject
*resultobj
= 0;
12198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12202 PyObject
*swig_obj
[1] ;
12204 if (!args
) SWIG_fail
;
12205 swig_obj
[0] = args
;
12206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12207 if (!SWIG_IsOK(res1
)) {
12208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12210 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12226 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12229 long *arg2
= (long *) 0 ;
12230 long *arg3
= (long *) 0 ;
12234 int res2
= SWIG_TMPOBJ
;
12236 int res3
= SWIG_TMPOBJ
;
12237 PyObject
*swig_obj
[1] ;
12241 if (!args
) SWIG_fail
;
12242 swig_obj
[0] = args
;
12243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12247 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_Py_Void();
12255 if (SWIG_IsTmpObj(res2
)) {
12256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12258 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12261 if (SWIG_IsTmpObj(res3
)) {
12262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12264 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12273 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12279 PyObject
*swig_obj
[1] ;
12281 if (!args
) SWIG_fail
;
12282 swig_obj
[0] = args
;
12283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12287 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12307 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12320 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12334 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
= 0;
12336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12339 wxString
*arg4
= 0 ;
12346 bool temp4
= false ;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 PyObject
* obj2
= 0 ;
12350 PyObject
* obj3
= 0 ;
12351 char * kwnames
[] = {
12352 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12360 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12361 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12362 if (!SWIG_IsOK(ecode2
)) {
12363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12365 arg2
= static_cast< long >(val2
);
12366 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12367 if (!SWIG_IsOK(ecode3
)) {
12368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12370 arg3
= static_cast< long >(val3
);
12372 arg4
= wxString_in_helper(obj3
);
12373 if (arg4
== NULL
) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 PyObject
* obj2
= 0 ;
12411 char * kwnames
[] = {
12412 (char *) "self",(char *) "from",(char *) "to", NULL
12415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12420 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12421 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12422 if (!SWIG_IsOK(ecode2
)) {
12423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12425 arg2
= static_cast< long >(val2
);
12426 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12427 if (!SWIG_IsOK(ecode3
)) {
12428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12430 arg3
= static_cast< long >(val3
);
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 (arg1
)->Remove(arg2
,arg3
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_Py_Void();
12444 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12447 wxString
*arg2
= 0 ;
12451 bool temp2
= false ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "file", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12463 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12465 arg2
= wxString_in_helper(obj1
);
12466 if (arg2
== NULL
) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12492 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
= 0;
12494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12495 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12496 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12500 bool temp2
= false ;
12501 PyObject
* obj0
= 0 ;
12502 PyObject
* obj1
= 0 ;
12503 char * kwnames
[] = {
12504 (char *) "self",(char *) "file", NULL
12507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12509 if (!SWIG_IsOK(res1
)) {
12510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12512 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12515 arg2
= wxString_in_helper(obj1
);
12516 if (arg2
== NULL
) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12543 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12548 PyObject
*swig_obj
[1] ;
12550 if (!args
) SWIG_fail
;
12551 swig_obj
[0] = args
;
12552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12556 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 (arg1
)->MarkDirty();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_Py_Void();
12570 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12571 PyObject
*resultobj
= 0;
12572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12575 PyObject
*swig_obj
[1] ;
12577 if (!args
) SWIG_fail
;
12578 swig_obj
[0] = args
;
12579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12583 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->DiscardEdits();
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_Py_Void();
12597 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
= 0;
12599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 char * kwnames
[] = {
12608 (char *) "self",(char *) "modified", NULL
12611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12613 if (!SWIG_IsOK(res1
)) {
12614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12616 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12618 if (!SWIG_IsOK(ecode2
)) {
12619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12621 arg2
= static_cast< bool >(val2
);
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->SetModified(arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_Py_Void();
12635 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
= 0;
12637 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12638 unsigned long arg2
;
12641 unsigned long val2
;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 char * kwnames
[] = {
12646 (char *) "self",(char *) "len", NULL
12649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12651 if (!SWIG_IsOK(res1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12654 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12655 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12656 if (!SWIG_IsOK(ecode2
)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12659 arg2
= static_cast< unsigned long >(val2
);
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 (arg1
)->SetMaxLength(arg2
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_Py_Void();
12673 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
= 0;
12675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12676 wxString
*arg2
= 0 ;
12679 bool temp2
= false ;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 char * kwnames
[] = {
12683 (char *) "self",(char *) "text", NULL
12686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12688 if (!SWIG_IsOK(res1
)) {
12689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12691 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12693 arg2
= wxString_in_helper(obj1
);
12694 if (arg2
== NULL
) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 (arg1
)->WriteText((wxString
const &)*arg2
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_Py_Void();
12718 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
= 0;
12720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12721 wxString
*arg2
= 0 ;
12724 bool temp2
= false ;
12725 PyObject
* obj0
= 0 ;
12726 PyObject
* obj1
= 0 ;
12727 char * kwnames
[] = {
12728 (char *) "self",(char *) "text", NULL
12731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12733 if (!SWIG_IsOK(res1
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12736 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12738 arg2
= wxString_in_helper(obj1
);
12739 if (arg2
== NULL
) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->AppendText((wxString
const &)*arg2
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_Py_Void();
12763 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
= 0;
12765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12766 wxKeyEvent
*arg2
= 0 ;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj1
= 0 ;
12774 char * kwnames
[] = {
12775 (char *) "self",(char *) "event", NULL
12778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12785 if (!SWIG_IsOK(res2
)) {
12786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12791 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12807 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
= 0;
12809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12812 wxTextAttr
*arg4
= 0 ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 PyObject
* obj2
= 0 ;
12825 PyObject
* obj3
= 0 ;
12826 char * kwnames
[] = {
12827 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12832 if (!SWIG_IsOK(res1
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12835 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12836 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12837 if (!SWIG_IsOK(ecode2
)) {
12838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12840 arg2
= static_cast< long >(val2
);
12841 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12842 if (!SWIG_IsOK(ecode3
)) {
12843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12845 arg3
= static_cast< long >(val3
);
12846 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12847 if (!SWIG_IsOK(res4
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12853 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12869 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
= 0;
12871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12873 wxTextAttr
*arg3
= 0 ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 PyObject
* obj2
= 0 ;
12884 char * kwnames
[] = {
12885 (char *) "self",(char *) "position",(char *) "style", NULL
12888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12890 if (!SWIG_IsOK(res1
)) {
12891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12893 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12894 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12895 if (!SWIG_IsOK(ecode2
)) {
12896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12898 arg2
= static_cast< long >(val2
);
12899 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12900 if (!SWIG_IsOK(res3
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12906 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12922 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
= 0;
12924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12925 wxTextAttr
*arg2
= 0 ;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char * kwnames
[] = {
12934 (char *) "self",(char *) "style", NULL
12937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12939 if (!SWIG_IsOK(res1
)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12942 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12944 if (!SWIG_IsOK(res2
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12950 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12966 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 PyObject
*resultobj
= 0;
12968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12969 wxTextAttr
*result
= 0 ;
12972 PyObject
*swig_obj
[1] ;
12974 if (!args
) SWIG_fail
;
12975 swig_obj
[0] = args
;
12976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12980 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12985 result
= (wxTextAttr
*) &_result_ref
;
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12997 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
= 0;
12999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 PyObject
* obj2
= 0 ;
13012 char * kwnames
[] = {
13013 (char *) "self",(char *) "x",(char *) "y", NULL
13016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13018 if (!SWIG_IsOK(res1
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13021 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13022 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13023 if (!SWIG_IsOK(ecode2
)) {
13024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13026 arg2
= static_cast< long >(val2
);
13027 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13028 if (!SWIG_IsOK(ecode3
)) {
13029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13031 arg3
= static_cast< long >(val3
);
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 resultobj
= SWIG_From_long(static_cast< long >(result
));
13045 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
= 0;
13047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13049 long *arg3
= (long *) 0 ;
13050 long *arg4
= (long *) 0 ;
13056 int res3
= SWIG_TMPOBJ
;
13058 int res4
= SWIG_TMPOBJ
;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 char * kwnames
[] = {
13062 (char *) "self",(char *) "pos", NULL
13067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13069 if (!SWIG_IsOK(res1
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13072 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13073 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13074 if (!SWIG_IsOK(ecode2
)) {
13075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13077 arg2
= static_cast< long >(val2
);
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_Py_Void();
13085 if (SWIG_IsTmpObj(res3
)) {
13086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13088 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13091 if (SWIG_IsTmpObj(res4
)) {
13092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13094 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13103 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
= 0;
13105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char * kwnames
[] = {
13114 (char *) "self",(char *) "pos", NULL
13117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13122 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13123 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13124 if (!SWIG_IsOK(ecode2
)) {
13125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13127 arg2
= static_cast< long >(val2
);
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->ShowPosition(arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_Py_Void();
13141 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
= 0;
13143 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13144 wxPoint
*arg2
= 0 ;
13145 long *arg3
= (long *) 0 ;
13146 long *arg4
= (long *) 0 ;
13147 wxTextCtrlHitTestResult result
;
13152 int res3
= SWIG_TMPOBJ
;
13154 int res4
= SWIG_TMPOBJ
;
13155 PyObject
* obj0
= 0 ;
13156 PyObject
* obj1
= 0 ;
13157 char * kwnames
[] = {
13158 (char *) "self",(char *) "pt", NULL
13163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13165 if (!SWIG_IsOK(res1
)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13168 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_From_int(static_cast< int >(result
));
13180 if (SWIG_IsTmpObj(res3
)) {
13181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13183 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13186 if (SWIG_IsTmpObj(res4
)) {
13187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13189 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13198 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
= 0;
13200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13201 wxPoint
*arg2
= 0 ;
13202 long *arg3
= (long *) 0 ;
13203 wxTextCtrlHitTestResult result
;
13208 int res3
= SWIG_TMPOBJ
;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char * kwnames
[] = {
13212 (char *) "self",(char *) "pt", NULL
13216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13218 if (!SWIG_IsOK(res1
)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13221 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_From_int(static_cast< int >(result
));
13233 if (SWIG_IsTmpObj(res3
)) {
13234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13236 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13245 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13246 PyObject
*resultobj
= 0;
13247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13250 PyObject
*swig_obj
[1] ;
13252 if (!args
) SWIG_fail
;
13253 swig_obj
[0] = args
;
13254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13255 if (!SWIG_IsOK(res1
)) {
13256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13258 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= SWIG_Py_Void();
13272 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 PyObject
*resultobj
= 0;
13274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13277 PyObject
*swig_obj
[1] ;
13279 if (!args
) SWIG_fail
;
13280 swig_obj
[0] = args
;
13281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13282 if (!SWIG_IsOK(res1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13285 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= SWIG_Py_Void();
13299 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13300 PyObject
*resultobj
= 0;
13301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13304 PyObject
*swig_obj
[1] ;
13306 if (!args
) SWIG_fail
;
13307 swig_obj
[0] = args
;
13308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13312 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_Py_Void();
13326 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13327 PyObject
*resultobj
= 0;
13328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13332 PyObject
*swig_obj
[1] ;
13334 if (!args
) SWIG_fail
;
13335 swig_obj
[0] = args
;
13336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13337 if (!SWIG_IsOK(res1
)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13340 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13356 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13357 PyObject
*resultobj
= 0;
13358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13362 PyObject
*swig_obj
[1] ;
13364 if (!args
) SWIG_fail
;
13365 swig_obj
[0] = args
;
13366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13370 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13386 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13392 PyObject
*swig_obj
[1] ;
13394 if (!args
) SWIG_fail
;
13395 swig_obj
[0] = args
;
13396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13416 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13417 PyObject
*resultobj
= 0;
13418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13421 PyObject
*swig_obj
[1] ;
13423 if (!args
) SWIG_fail
;
13424 swig_obj
[0] = args
;
13425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13429 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= SWIG_Py_Void();
13443 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13444 PyObject
*resultobj
= 0;
13445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13448 PyObject
*swig_obj
[1] ;
13450 if (!args
) SWIG_fail
;
13451 swig_obj
[0] = args
;
13452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13453 if (!SWIG_IsOK(res1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13456 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_Py_Void();
13470 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13471 PyObject
*resultobj
= 0;
13472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13476 PyObject
*swig_obj
[1] ;
13478 if (!args
) SWIG_fail
;
13479 swig_obj
[0] = args
;
13480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13481 if (!SWIG_IsOK(res1
)) {
13482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13484 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13500 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13501 PyObject
*resultobj
= 0;
13502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13506 PyObject
*swig_obj
[1] ;
13508 if (!args
) SWIG_fail
;
13509 swig_obj
[0] = args
;
13510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13511 if (!SWIG_IsOK(res1
)) {
13512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13514 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13530 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
= 0;
13532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 char * kwnames
[] = {
13541 (char *) "self",(char *) "pos", NULL
13544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13546 if (!SWIG_IsOK(res1
)) {
13547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13549 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13551 if (!SWIG_IsOK(ecode2
)) {
13552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13554 arg2
= static_cast< long >(val2
);
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 (arg1
)->SetInsertionPoint(arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= SWIG_Py_Void();
13568 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13569 PyObject
*resultobj
= 0;
13570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13573 PyObject
*swig_obj
[1] ;
13575 if (!args
) SWIG_fail
;
13576 swig_obj
[0] = args
;
13577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13578 if (!SWIG_IsOK(res1
)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13581 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 (arg1
)->SetInsertionPointEnd();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13601 PyObject
*swig_obj
[1] ;
13603 if (!args
) SWIG_fail
;
13604 swig_obj
[0] = args
;
13605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13609 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_From_long(static_cast< long >(result
));
13623 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13624 PyObject
*resultobj
= 0;
13625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13629 PyObject
*swig_obj
[1] ;
13631 if (!args
) SWIG_fail
;
13632 swig_obj
[0] = args
;
13633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13634 if (!SWIG_IsOK(res1
)) {
13635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13637 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= SWIG_From_long(static_cast< long >(result
));
13651 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
= 0;
13653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 PyObject
* obj2
= 0 ;
13665 char * kwnames
[] = {
13666 (char *) "self",(char *) "from",(char *) "to", NULL
13669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13676 if (!SWIG_IsOK(ecode2
)) {
13677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13679 arg2
= static_cast< long >(val2
);
13680 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13681 if (!SWIG_IsOK(ecode3
)) {
13682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13684 arg3
= static_cast< long >(val3
);
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->SetSelection(arg2
,arg3
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_Py_Void();
13698 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13699 PyObject
*resultobj
= 0;
13700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13703 PyObject
*swig_obj
[1] ;
13705 if (!args
) SWIG_fail
;
13706 swig_obj
[0] = args
;
13707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13708 if (!SWIG_IsOK(res1
)) {
13709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13711 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 (arg1
)->SelectAll();
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_Py_Void();
13725 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
= 0;
13727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 char * kwnames
[] = {
13736 (char *) "self",(char *) "editable", NULL
13739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13741 if (!SWIG_IsOK(res1
)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13744 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13745 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13746 if (!SWIG_IsOK(ecode2
)) {
13747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13749 arg2
= static_cast< bool >(val2
);
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 (arg1
)->SetEditable(arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_Py_Void();
13763 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
= 0;
13765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13766 bool arg2
= (bool) true ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 char * kwnames
[] = {
13775 (char *) "self",(char *) "show", NULL
13778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13780 if (!SWIG_IsOK(res1
)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13785 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13786 if (!SWIG_IsOK(ecode2
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13789 arg2
= static_cast< bool >(val2
);
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13806 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13807 PyObject
*resultobj
= 0;
13808 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13812 PyObject
*swig_obj
[1] ;
13814 if (!args
) SWIG_fail
;
13815 swig_obj
[0] = args
;
13816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13817 if (!SWIG_IsOK(res1
)) {
13818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13820 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (bool)(arg1
)->HideNativeCaret();
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13836 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
= 0;
13838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13839 wxString
*arg2
= 0 ;
13842 bool temp2
= false ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char * kwnames
[] = {
13846 (char *) "self",(char *) "text", NULL
13849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13854 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13856 arg2
= wxString_in_helper(obj1
);
13857 if (arg2
== NULL
) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_Py_Void();
13881 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
= 0;
13883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13893 PyObject
* obj0
= 0 ;
13894 PyObject
* obj1
= 0 ;
13895 PyObject
* obj2
= 0 ;
13896 char * kwnames
[] = {
13897 (char *) "self",(char *) "from",(char *) "to", NULL
13900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13902 if (!SWIG_IsOK(res1
)) {
13903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13905 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13906 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13907 if (!SWIG_IsOK(ecode2
)) {
13908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13910 arg2
= static_cast< long >(val2
);
13911 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13912 if (!SWIG_IsOK(ecode3
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13915 arg3
= static_cast< long >(val3
);
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13935 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
= 0;
13937 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13938 SwigValueWrapper
<wxVisualAttributes
> result
;
13941 PyObject
* obj0
= 0 ;
13942 char * kwnames
[] = {
13943 (char *) "variant", NULL
13946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13948 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13949 if (!SWIG_IsOK(ecode1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13952 arg1
= static_cast< wxWindowVariant
>(val1
);
13955 if (!wxPyCheckForApp()) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13968 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13971 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13972 return SWIG_Py_Void();
13975 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13976 return SWIG_Python_InitShadowInstance(args
);
13979 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13980 PyObject
*resultobj
= 0;
13982 wxMouseEvent
*arg2
= 0 ;
13985 wxTextUrlEvent
*result
= 0 ;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 PyObject
* obj2
= 0 ;
13997 PyObject
* obj3
= 0 ;
13998 char * kwnames
[] = {
13999 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14004 if (!SWIG_IsOK(ecode1
)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14007 arg1
= static_cast< int >(val1
);
14008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14009 if (!SWIG_IsOK(res2
)) {
14010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14015 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14016 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14017 if (!SWIG_IsOK(ecode3
)) {
14018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14020 arg3
= static_cast< long >(val3
);
14021 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14022 if (!SWIG_IsOK(ecode4
)) {
14023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14025 arg4
= static_cast< long >(val4
);
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14039 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14040 PyObject
*resultobj
= 0;
14041 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14042 wxMouseEvent
*result
= 0 ;
14045 PyObject
*swig_obj
[1] ;
14047 if (!args
) SWIG_fail
;
14048 swig_obj
[0] = args
;
14049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14050 if (!SWIG_IsOK(res1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14053 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14058 result
= (wxMouseEvent
*) &_result_ref
;
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14070 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14071 PyObject
*resultobj
= 0;
14072 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14076 PyObject
*swig_obj
[1] ;
14078 if (!args
) SWIG_fail
;
14079 swig_obj
[0] = args
;
14080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14081 if (!SWIG_IsOK(res1
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14084 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= SWIG_From_long(static_cast< long >(result
));
14098 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14099 PyObject
*resultobj
= 0;
14100 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14104 PyObject
*swig_obj
[1] ;
14106 if (!args
) SWIG_fail
;
14107 swig_obj
[0] = args
;
14108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14112 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_From_long(static_cast< long >(result
));
14126 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14129 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14130 return SWIG_Py_Void();
14133 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14134 return SWIG_Python_InitShadowInstance(args
);
14137 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14138 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14143 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14144 PyObject
*pyobj
= 0;
14148 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14150 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14157 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
= 0;
14159 wxWindow
*arg1
= (wxWindow
*) 0 ;
14160 int arg2
= (int) -1 ;
14161 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14162 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14163 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14164 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14165 long arg5
= (long) wxSB_HORIZONTAL
;
14166 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14167 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14168 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14169 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14170 wxScrollBar
*result
= 0 ;
14181 bool temp7
= false ;
14182 PyObject
* obj0
= 0 ;
14183 PyObject
* obj1
= 0 ;
14184 PyObject
* obj2
= 0 ;
14185 PyObject
* obj3
= 0 ;
14186 PyObject
* obj4
= 0 ;
14187 PyObject
* obj5
= 0 ;
14188 PyObject
* obj6
= 0 ;
14189 char * kwnames
[] = {
14190 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14195 if (!SWIG_IsOK(res1
)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14201 if (!SWIG_IsOK(ecode2
)) {
14202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14204 arg2
= static_cast< int >(val2
);
14209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14219 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14220 if (!SWIG_IsOK(ecode5
)) {
14221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14223 arg5
= static_cast< long >(val5
);
14226 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14227 if (!SWIG_IsOK(res6
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14233 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14237 arg7
= wxString_in_helper(obj6
);
14238 if (arg7
== NULL
) SWIG_fail
;
14243 if (!wxPyCheckForApp()) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14264 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14265 PyObject
*resultobj
= 0;
14266 wxScrollBar
*result
= 0 ;
14268 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14270 if (!wxPyCheckForApp()) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= (wxScrollBar
*)new wxScrollBar();
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14283 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= 0;
14285 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14286 wxWindow
*arg2
= (wxWindow
*) 0 ;
14287 int arg3
= (int) -1 ;
14288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14292 long arg6
= (long) wxSB_HORIZONTAL
;
14293 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14294 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14295 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14296 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14310 bool temp8
= false ;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 PyObject
* obj2
= 0 ;
14314 PyObject
* obj3
= 0 ;
14315 PyObject
* obj4
= 0 ;
14316 PyObject
* obj5
= 0 ;
14317 PyObject
* obj6
= 0 ;
14318 PyObject
* obj7
= 0 ;
14319 char * kwnames
[] = {
14320 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14325 if (!SWIG_IsOK(res1
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14328 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14329 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14330 if (!SWIG_IsOK(res2
)) {
14331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14333 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14336 if (!SWIG_IsOK(ecode3
)) {
14337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14339 arg3
= static_cast< int >(val3
);
14344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14354 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14355 if (!SWIG_IsOK(ecode6
)) {
14356 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14358 arg6
= static_cast< long >(val6
);
14361 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14362 if (!SWIG_IsOK(res7
)) {
14363 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14368 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14372 arg8
= wxString_in_helper(obj7
);
14373 if (arg8
== NULL
) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14400 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14401 PyObject
*resultobj
= 0;
14402 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14406 PyObject
*swig_obj
[1] ;
14408 if (!args
) SWIG_fail
;
14409 swig_obj
[0] = args
;
14410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14411 if (!SWIG_IsOK(res1
)) {
14412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14414 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_From_int(static_cast< int >(result
));
14428 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14429 PyObject
*resultobj
= 0;
14430 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14434 PyObject
*swig_obj
[1] ;
14436 if (!args
) SWIG_fail
;
14437 swig_obj
[0] = args
;
14438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14439 if (!SWIG_IsOK(res1
)) {
14440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14442 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= SWIG_From_int(static_cast< int >(result
));
14456 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14457 PyObject
*resultobj
= 0;
14458 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14462 PyObject
*swig_obj
[1] ;
14464 if (!args
) SWIG_fail
;
14465 swig_obj
[0] = args
;
14466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14467 if (!SWIG_IsOK(res1
)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14470 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= SWIG_From_int(static_cast< int >(result
));
14484 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14485 PyObject
*resultobj
= 0;
14486 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14490 PyObject
*swig_obj
[1] ;
14492 if (!args
) SWIG_fail
;
14493 swig_obj
[0] = args
;
14494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14495 if (!SWIG_IsOK(res1
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14498 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_From_int(static_cast< int >(result
));
14512 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14513 PyObject
*resultobj
= 0;
14514 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14518 PyObject
*swig_obj
[1] ;
14520 if (!args
) SWIG_fail
;
14521 swig_obj
[0] = args
;
14522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14523 if (!SWIG_IsOK(res1
)) {
14524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14526 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14542 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
= 0;
14544 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 char * kwnames
[] = {
14553 (char *) "self",(char *) "viewStart", NULL
14556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14558 if (!SWIG_IsOK(res1
)) {
14559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14561 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14563 if (!SWIG_IsOK(ecode2
)) {
14564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14566 arg2
= static_cast< int >(val2
);
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 (arg1
)->SetThumbPosition(arg2
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_Py_Void();
14580 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
= 0;
14582 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14583 SwigValueWrapper
<wxVisualAttributes
> result
;
14586 PyObject
* obj0
= 0 ;
14587 char * kwnames
[] = {
14588 (char *) "variant", NULL
14591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14594 if (!SWIG_IsOK(ecode1
)) {
14595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14597 arg1
= static_cast< wxWindowVariant
>(val1
);
14600 if (!wxPyCheckForApp()) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14613 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14616 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14617 return SWIG_Py_Void();
14620 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14621 return SWIG_Python_InitShadowInstance(args
);
14624 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14625 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14630 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14631 PyObject
*pyobj
= 0;
14635 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14637 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14644 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14645 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14650 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14651 PyObject
*pyobj
= 0;
14655 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14657 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14664 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
= 0;
14666 wxWindow
*arg1
= (wxWindow
*) 0 ;
14667 int arg2
= (int) -1 ;
14668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14672 long arg5
= (long) wxSP_HORIZONTAL
;
14673 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14674 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14675 wxSpinButton
*result
= 0 ;
14684 bool temp6
= false ;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 PyObject
* obj2
= 0 ;
14688 PyObject
* obj3
= 0 ;
14689 PyObject
* obj4
= 0 ;
14690 PyObject
* obj5
= 0 ;
14691 char * kwnames
[] = {
14692 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14697 if (!SWIG_IsOK(res1
)) {
14698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14700 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14703 if (!SWIG_IsOK(ecode2
)) {
14704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14706 arg2
= static_cast< int >(val2
);
14711 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14717 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14721 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14722 if (!SWIG_IsOK(ecode5
)) {
14723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14725 arg5
= static_cast< long >(val5
);
14729 arg6
= wxString_in_helper(obj5
);
14730 if (arg6
== NULL
) SWIG_fail
;
14735 if (!wxPyCheckForApp()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14756 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14757 PyObject
*resultobj
= 0;
14758 wxSpinButton
*result
= 0 ;
14760 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14762 if (!wxPyCheckForApp()) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (wxSpinButton
*)new wxSpinButton();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14775 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
= 0;
14777 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14778 wxWindow
*arg2
= (wxWindow
*) 0 ;
14779 int arg3
= (int) -1 ;
14780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14784 long arg6
= (long) wxSP_HORIZONTAL
;
14785 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14786 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14798 bool temp7
= false ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 PyObject
* obj2
= 0 ;
14802 PyObject
* obj3
= 0 ;
14803 PyObject
* obj4
= 0 ;
14804 PyObject
* obj5
= 0 ;
14805 PyObject
* obj6
= 0 ;
14806 char * kwnames
[] = {
14807 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14812 if (!SWIG_IsOK(res1
)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14815 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14817 if (!SWIG_IsOK(res2
)) {
14818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14820 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14823 if (!SWIG_IsOK(ecode3
)) {
14824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14826 arg3
= static_cast< int >(val3
);
14831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14841 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14842 if (!SWIG_IsOK(ecode6
)) {
14843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14845 arg6
= static_cast< long >(val6
);
14849 arg7
= wxString_in_helper(obj6
);
14850 if (arg7
== NULL
) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14877 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14878 PyObject
*resultobj
= 0;
14879 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14883 PyObject
*swig_obj
[1] ;
14885 if (!args
) SWIG_fail
;
14886 swig_obj
[0] = args
;
14887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14888 if (!SWIG_IsOK(res1
)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14891 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_From_int(static_cast< int >(result
));
14905 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14906 PyObject
*resultobj
= 0;
14907 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14911 PyObject
*swig_obj
[1] ;
14913 if (!args
) SWIG_fail
;
14914 swig_obj
[0] = args
;
14915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14919 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_From_int(static_cast< int >(result
));
14933 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14934 PyObject
*resultobj
= 0;
14935 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14939 PyObject
*swig_obj
[1] ;
14941 if (!args
) SWIG_fail
;
14942 swig_obj
[0] = args
;
14943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14944 if (!SWIG_IsOK(res1
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14947 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= SWIG_From_int(static_cast< int >(result
));
14961 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
= 0;
14963 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char * kwnames
[] = {
14972 (char *) "self",(char *) "val", NULL
14975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14977 if (!SWIG_IsOK(res1
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14980 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14982 if (!SWIG_IsOK(ecode2
)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14985 arg2
= static_cast< int >(val2
);
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->SetValue(arg2
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_Py_Void();
14999 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
= 0;
15001 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 char * kwnames
[] = {
15010 (char *) "self",(char *) "minVal", NULL
15013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15018 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15020 if (!SWIG_IsOK(ecode2
)) {
15021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15023 arg2
= static_cast< int >(val2
);
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 (arg1
)->SetMin(arg2
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_Py_Void();
15037 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
= 0;
15039 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 char * kwnames
[] = {
15048 (char *) "self",(char *) "maxVal", NULL
15051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15053 if (!SWIG_IsOK(res1
)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15056 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15058 if (!SWIG_IsOK(ecode2
)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15061 arg2
= static_cast< int >(val2
);
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 (arg1
)->SetMax(arg2
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_Py_Void();
15075 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 PyObject
* obj2
= 0 ;
15089 char * kwnames
[] = {
15090 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15095 if (!SWIG_IsOK(res1
)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15098 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15100 if (!SWIG_IsOK(ecode2
)) {
15101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15103 arg2
= static_cast< int >(val2
);
15104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15105 if (!SWIG_IsOK(ecode3
)) {
15106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15108 arg3
= static_cast< int >(val3
);
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 (arg1
)->SetRange(arg2
,arg3
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_Py_Void();
15122 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15123 PyObject
*resultobj
= 0;
15124 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15128 PyObject
*swig_obj
[1] ;
15130 if (!args
) SWIG_fail
;
15131 swig_obj
[0] = args
;
15132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15136 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15152 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
= 0;
15154 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15155 SwigValueWrapper
<wxVisualAttributes
> result
;
15158 PyObject
* obj0
= 0 ;
15159 char * kwnames
[] = {
15160 (char *) "variant", NULL
15163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15165 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15166 if (!SWIG_IsOK(ecode1
)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15169 arg1
= static_cast< wxWindowVariant
>(val1
);
15172 if (!wxPyCheckForApp()) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15185 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15188 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15189 return SWIG_Py_Void();
15192 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15193 return SWIG_Python_InitShadowInstance(args
);
15196 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
= 0;
15198 wxWindow
*arg1
= (wxWindow
*) 0 ;
15199 int arg2
= (int) -1 ;
15200 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15201 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15206 long arg6
= (long) wxSP_ARROW_KEYS
;
15207 int arg7
= (int) 0 ;
15208 int arg8
= (int) 100 ;
15209 int arg9
= (int) 0 ;
15210 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15211 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15212 wxSpinCtrl
*result
= 0 ;
15217 bool temp3
= false ;
15228 bool temp10
= false ;
15229 PyObject
* obj0
= 0 ;
15230 PyObject
* obj1
= 0 ;
15231 PyObject
* obj2
= 0 ;
15232 PyObject
* obj3
= 0 ;
15233 PyObject
* obj4
= 0 ;
15234 PyObject
* obj5
= 0 ;
15235 PyObject
* obj6
= 0 ;
15236 PyObject
* obj7
= 0 ;
15237 PyObject
* obj8
= 0 ;
15238 PyObject
* obj9
= 0 ;
15239 char * kwnames
[] = {
15240 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15248 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15251 if (!SWIG_IsOK(ecode2
)) {
15252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15254 arg2
= static_cast< int >(val2
);
15258 arg3
= wxString_in_helper(obj2
);
15259 if (arg3
== NULL
) SWIG_fail
;
15266 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15272 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15276 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15277 if (!SWIG_IsOK(ecode6
)) {
15278 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15280 arg6
= static_cast< long >(val6
);
15283 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15284 if (!SWIG_IsOK(ecode7
)) {
15285 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15287 arg7
= static_cast< int >(val7
);
15290 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15291 if (!SWIG_IsOK(ecode8
)) {
15292 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15294 arg8
= static_cast< int >(val8
);
15297 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15298 if (!SWIG_IsOK(ecode9
)) {
15299 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15301 arg9
= static_cast< int >(val9
);
15305 arg10
= wxString_in_helper(obj9
);
15306 if (arg10
== NULL
) SWIG_fail
;
15311 if (!wxPyCheckForApp()) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15340 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15341 PyObject
*resultobj
= 0;
15342 wxSpinCtrl
*result
= 0 ;
15344 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15346 if (!wxPyCheckForApp()) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15359 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
= 0;
15361 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15362 wxWindow
*arg2
= (wxWindow
*) 0 ;
15363 int arg3
= (int) -1 ;
15364 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15365 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15366 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15367 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15368 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15369 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15370 long arg7
= (long) wxSP_ARROW_KEYS
;
15371 int arg8
= (int) 0 ;
15372 int arg9
= (int) 100 ;
15373 int arg10
= (int) 0 ;
15374 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15375 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15383 bool temp4
= false ;
15394 bool temp11
= false ;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 PyObject
* obj2
= 0 ;
15398 PyObject
* obj3
= 0 ;
15399 PyObject
* obj4
= 0 ;
15400 PyObject
* obj5
= 0 ;
15401 PyObject
* obj6
= 0 ;
15402 PyObject
* obj7
= 0 ;
15403 PyObject
* obj8
= 0 ;
15404 PyObject
* obj9
= 0 ;
15405 PyObject
* obj10
= 0 ;
15406 char * kwnames
[] = {
15407 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15412 if (!SWIG_IsOK(res1
)) {
15413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15415 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15417 if (!SWIG_IsOK(res2
)) {
15418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15423 if (!SWIG_IsOK(ecode3
)) {
15424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15426 arg3
= static_cast< int >(val3
);
15430 arg4
= wxString_in_helper(obj3
);
15431 if (arg4
== NULL
) SWIG_fail
;
15438 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15444 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15448 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15449 if (!SWIG_IsOK(ecode7
)) {
15450 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15452 arg7
= static_cast< long >(val7
);
15455 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15456 if (!SWIG_IsOK(ecode8
)) {
15457 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15459 arg8
= static_cast< int >(val8
);
15462 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15463 if (!SWIG_IsOK(ecode9
)) {
15464 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15466 arg9
= static_cast< int >(val9
);
15469 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15470 if (!SWIG_IsOK(ecode10
)) {
15471 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15473 arg10
= static_cast< int >(val10
);
15477 arg11
= wxString_in_helper(obj10
);
15478 if (arg11
== NULL
) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15513 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15514 PyObject
*resultobj
= 0;
15515 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15519 PyObject
*swig_obj
[1] ;
15521 if (!args
) SWIG_fail
;
15522 swig_obj
[0] = args
;
15523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15524 if (!SWIG_IsOK(res1
)) {
15525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15527 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_From_int(static_cast< int >(result
));
15541 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
= 0;
15543 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 char * kwnames
[] = {
15552 (char *) "self",(char *) "value", NULL
15555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15557 if (!SWIG_IsOK(res1
)) {
15558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15560 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15562 if (!SWIG_IsOK(ecode2
)) {
15563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15565 arg2
= static_cast< int >(val2
);
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 (arg1
)->SetValue(arg2
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 resultobj
= SWIG_Py_Void();
15579 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
= 0;
15581 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15582 wxString
*arg2
= 0 ;
15585 bool temp2
= false ;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 char * kwnames
[] = {
15589 (char *) "self",(char *) "text", NULL
15592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15597 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15599 arg2
= wxString_in_helper(obj1
);
15600 if (arg2
== NULL
) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 (arg1
)->SetValue((wxString
const &)*arg2
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= SWIG_Py_Void();
15624 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= 0;
15626 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 PyObject
* obj2
= 0 ;
15638 char * kwnames
[] = {
15639 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15644 if (!SWIG_IsOK(res1
)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15647 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15649 if (!SWIG_IsOK(ecode2
)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15652 arg2
= static_cast< int >(val2
);
15653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15654 if (!SWIG_IsOK(ecode3
)) {
15655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15657 arg3
= static_cast< int >(val3
);
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 (arg1
)->SetRange(arg2
,arg3
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= SWIG_Py_Void();
15671 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15672 PyObject
*resultobj
= 0;
15673 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15677 PyObject
*swig_obj
[1] ;
15679 if (!args
) SWIG_fail
;
15680 swig_obj
[0] = args
;
15681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15685 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= SWIG_From_int(static_cast< int >(result
));
15699 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15700 PyObject
*resultobj
= 0;
15701 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15705 PyObject
*swig_obj
[1] ;
15707 if (!args
) SWIG_fail
;
15708 swig_obj
[0] = args
;
15709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15710 if (!SWIG_IsOK(res1
)) {
15711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15713 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= SWIG_From_int(static_cast< int >(result
));
15727 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
= 0;
15729 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 PyObject
* obj2
= 0 ;
15741 char * kwnames
[] = {
15742 (char *) "self",(char *) "from",(char *) "to", NULL
15745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15747 if (!SWIG_IsOK(res1
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15750 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15751 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15752 if (!SWIG_IsOK(ecode2
)) {
15753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15755 arg2
= static_cast< long >(val2
);
15756 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15757 if (!SWIG_IsOK(ecode3
)) {
15758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15760 arg3
= static_cast< long >(val3
);
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 (arg1
)->SetSelection(arg2
,arg3
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_Py_Void();
15774 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
= 0;
15776 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15777 SwigValueWrapper
<wxVisualAttributes
> result
;
15780 PyObject
* obj0
= 0 ;
15781 char * kwnames
[] = {
15782 (char *) "variant", NULL
15785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15787 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15788 if (!SWIG_IsOK(ecode1
)) {
15789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15791 arg1
= static_cast< wxWindowVariant
>(val1
);
15794 if (!wxPyCheckForApp()) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15807 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15810 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15811 return SWIG_Py_Void();
15814 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15815 return SWIG_Python_InitShadowInstance(args
);
15818 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
= 0;
15820 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15821 int arg2
= (int) 0 ;
15822 wxSpinEvent
*result
= 0 ;
15827 PyObject
* obj0
= 0 ;
15828 PyObject
* obj1
= 0 ;
15829 char * kwnames
[] = {
15830 (char *) "commandType",(char *) "winid", NULL
15833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15835 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15836 if (!SWIG_IsOK(ecode1
)) {
15837 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15839 arg1
= static_cast< wxEventType
>(val1
);
15842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15843 if (!SWIG_IsOK(ecode2
)) {
15844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15846 arg2
= static_cast< int >(val2
);
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15861 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15862 PyObject
*resultobj
= 0;
15863 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15867 PyObject
*swig_obj
[1] ;
15869 if (!args
) SWIG_fail
;
15870 swig_obj
[0] = args
;
15871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15872 if (!SWIG_IsOK(res1
)) {
15873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15875 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= SWIG_From_int(static_cast< int >(result
));
15889 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
= 0;
15891 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 PyObject
* obj1
= 0 ;
15899 char * kwnames
[] = {
15900 (char *) "self",(char *) "pos", NULL
15903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15905 if (!SWIG_IsOK(res1
)) {
15906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15908 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15910 if (!SWIG_IsOK(ecode2
)) {
15911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15913 arg2
= static_cast< int >(val2
);
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 (arg1
)->SetPosition(arg2
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_Py_Void();
15927 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15930 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15931 return SWIG_Py_Void();
15934 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15935 return SWIG_Python_InitShadowInstance(args
);
15938 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15939 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15944 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15945 PyObject
*pyobj
= 0;
15949 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15951 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15958 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15959 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15964 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15965 PyObject
*pyobj
= 0;
15969 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15971 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15978 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
= 0;
15980 wxWindow
*arg1
= (wxWindow
*) 0 ;
15981 int arg2
= (int) -1 ;
15982 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15984 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15985 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15986 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15987 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15988 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15989 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15990 int arg7
= (int) 0 ;
15991 long arg8
= (long) wxRA_HORIZONTAL
;
15992 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15993 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15994 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15995 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15996 wxRadioBox
*result
= 0 ;
16001 bool temp3
= false ;
16004 bool temp6
= false ;
16011 bool temp10
= false ;
16012 PyObject
* obj0
= 0 ;
16013 PyObject
* obj1
= 0 ;
16014 PyObject
* obj2
= 0 ;
16015 PyObject
* obj3
= 0 ;
16016 PyObject
* obj4
= 0 ;
16017 PyObject
* obj5
= 0 ;
16018 PyObject
* obj6
= 0 ;
16019 PyObject
* obj7
= 0 ;
16020 PyObject
* obj8
= 0 ;
16021 PyObject
* obj9
= 0 ;
16022 char * kwnames
[] = {
16023 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16028 if (!SWIG_IsOK(res1
)) {
16029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16031 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16034 if (!SWIG_IsOK(ecode2
)) {
16035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16037 arg2
= static_cast< int >(val2
);
16041 arg3
= wxString_in_helper(obj2
);
16042 if (arg3
== NULL
) SWIG_fail
;
16049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16055 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16060 if (! PySequence_Check(obj5
)) {
16061 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16064 arg6
= new wxArrayString
;
16066 int i
, len
=PySequence_Length(obj5
);
16067 for (i
=0; i
<len
; i
++) {
16068 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16069 wxString
* s
= wxString_in_helper(item
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16078 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16079 if (!SWIG_IsOK(ecode7
)) {
16080 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16082 arg7
= static_cast< int >(val7
);
16085 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16086 if (!SWIG_IsOK(ecode8
)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16089 arg8
= static_cast< long >(val8
);
16092 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16093 if (!SWIG_IsOK(res9
)) {
16094 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16099 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16103 arg10
= wxString_in_helper(obj9
);
16104 if (arg10
== NULL
) SWIG_fail
;
16109 if (!wxPyCheckForApp()) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 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
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16121 if (temp6
) delete arg6
;
16134 if (temp6
) delete arg6
;
16144 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16145 PyObject
*resultobj
= 0;
16146 wxRadioBox
*result
= 0 ;
16148 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16150 if (!wxPyCheckForApp()) SWIG_fail
;
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (wxRadioBox
*)new wxRadioBox();
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16163 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
= 0;
16165 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16166 wxWindow
*arg2
= (wxWindow
*) 0 ;
16167 int arg3
= (int) -1 ;
16168 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16169 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16170 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16171 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16172 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16173 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16174 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16175 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16176 int arg8
= (int) 0 ;
16177 long arg9
= (long) wxRA_HORIZONTAL
;
16178 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16179 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16180 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16181 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16189 bool temp4
= false ;
16192 bool temp7
= false ;
16199 bool temp11
= false ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 PyObject
* obj2
= 0 ;
16203 PyObject
* obj3
= 0 ;
16204 PyObject
* obj4
= 0 ;
16205 PyObject
* obj5
= 0 ;
16206 PyObject
* obj6
= 0 ;
16207 PyObject
* obj7
= 0 ;
16208 PyObject
* obj8
= 0 ;
16209 PyObject
* obj9
= 0 ;
16210 PyObject
* obj10
= 0 ;
16211 char * kwnames
[] = {
16212 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16217 if (!SWIG_IsOK(res1
)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16220 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16222 if (!SWIG_IsOK(res2
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16225 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16228 if (!SWIG_IsOK(ecode3
)) {
16229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16231 arg3
= static_cast< int >(val3
);
16235 arg4
= wxString_in_helper(obj3
);
16236 if (arg4
== NULL
) SWIG_fail
;
16243 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16249 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16254 if (! PySequence_Check(obj6
)) {
16255 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16258 arg7
= new wxArrayString
;
16260 int i
, len
=PySequence_Length(obj6
);
16261 for (i
=0; i
<len
; i
++) {
16262 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16263 wxString
* s
= wxString_in_helper(item
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16272 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16273 if (!SWIG_IsOK(ecode8
)) {
16274 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16276 arg8
= static_cast< int >(val8
);
16279 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16280 if (!SWIG_IsOK(ecode9
)) {
16281 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16283 arg9
= static_cast< long >(val9
);
16286 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16287 if (!SWIG_IsOK(res10
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16293 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16297 arg11
= wxString_in_helper(obj10
);
16298 if (arg11
== NULL
) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 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
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16316 if (temp7
) delete arg7
;
16329 if (temp7
) delete arg7
;
16339 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
= 0;
16341 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 char * kwnames
[] = {
16350 (char *) "self",(char *) "n", NULL
16353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16355 if (!SWIG_IsOK(res1
)) {
16356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16358 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16360 if (!SWIG_IsOK(ecode2
)) {
16361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16363 arg2
= static_cast< int >(val2
);
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 (arg1
)->SetSelection(arg2
);
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_Py_Void();
16377 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16378 PyObject
*resultobj
= 0;
16379 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16383 PyObject
*swig_obj
[1] ;
16385 if (!args
) SWIG_fail
;
16386 swig_obj
[0] = args
;
16387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16388 if (!SWIG_IsOK(res1
)) {
16389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16391 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= SWIG_From_int(static_cast< int >(result
));
16405 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16406 PyObject
*resultobj
= 0;
16407 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16411 PyObject
*swig_obj
[1] ;
16413 if (!args
) SWIG_fail
;
16414 swig_obj
[0] = args
;
16415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16419 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16439 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
= 0;
16441 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16442 wxString
*arg2
= 0 ;
16446 bool temp2
= false ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char * kwnames
[] = {
16450 (char *) "self",(char *) "s", NULL
16453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16455 if (!SWIG_IsOK(res1
)) {
16456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16458 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16460 arg2
= wxString_in_helper(obj1
);
16461 if (arg2
== NULL
) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16487 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16488 PyObject
*resultobj
= 0;
16489 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16493 PyObject
*swig_obj
[1] ;
16495 if (!args
) SWIG_fail
;
16496 swig_obj
[0] = args
;
16497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16498 if (!SWIG_IsOK(res1
)) {
16499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16501 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16515 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
= 0;
16517 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16518 wxString
*arg2
= 0 ;
16522 bool temp2
= false ;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 char * kwnames
[] = {
16526 (char *) "self",(char *) "s", NULL
16529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16531 if (!SWIG_IsOK(res1
)) {
16532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16534 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16536 arg2
= wxString_in_helper(obj1
);
16537 if (arg2
== NULL
) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= SWIG_From_int(static_cast< int >(result
));
16561 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
= 0;
16563 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char * kwnames
[] = {
16573 (char *) "self",(char *) "n", NULL
16576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16578 if (!SWIG_IsOK(res1
)) {
16579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16581 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16583 if (!SWIG_IsOK(ecode2
)) {
16584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16586 arg2
= static_cast< int >(val2
);
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16606 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
= 0;
16608 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16610 wxString
*arg3
= 0 ;
16615 bool temp3
= false ;
16616 PyObject
* obj0
= 0 ;
16617 PyObject
* obj1
= 0 ;
16618 PyObject
* obj2
= 0 ;
16619 char * kwnames
[] = {
16620 (char *) "self",(char *) "n",(char *) "label", NULL
16623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16625 if (!SWIG_IsOK(res1
)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16628 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16630 if (!SWIG_IsOK(ecode2
)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16633 arg2
= static_cast< int >(val2
);
16635 arg3
= wxString_in_helper(obj2
);
16636 if (arg3
== NULL
) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_Py_Void();
16660 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
= 0;
16662 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16663 unsigned int arg2
;
16664 bool arg3
= (bool) true ;
16667 unsigned int val2
;
16671 PyObject
* obj0
= 0 ;
16672 PyObject
* obj1
= 0 ;
16673 PyObject
* obj2
= 0 ;
16674 char * kwnames
[] = {
16675 (char *) "self",(char *) "n",(char *) "enable", NULL
16678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16680 if (!SWIG_IsOK(res1
)) {
16681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16683 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16684 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16685 if (!SWIG_IsOK(ecode2
)) {
16686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16688 arg2
= static_cast< unsigned int >(val2
);
16690 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16691 if (!SWIG_IsOK(ecode3
)) {
16692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16694 arg3
= static_cast< bool >(val3
);
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 (arg1
)->Enable(arg2
,arg3
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_Py_Void();
16709 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
= 0;
16711 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16712 unsigned int arg2
;
16713 bool arg3
= (bool) true ;
16716 unsigned int val2
;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 PyObject
* obj2
= 0 ;
16723 char * kwnames
[] = {
16724 (char *) "self",(char *) "n",(char *) "show", NULL
16727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16729 if (!SWIG_IsOK(res1
)) {
16730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16732 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16733 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16734 if (!SWIG_IsOK(ecode2
)) {
16735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16737 arg2
= static_cast< unsigned int >(val2
);
16739 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16740 if (!SWIG_IsOK(ecode3
)) {
16741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16743 arg3
= static_cast< bool >(val3
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 (arg1
)->Show(arg2
,arg3
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_Py_Void();
16758 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
= 0;
16760 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16761 unsigned int arg2
;
16765 unsigned int val2
;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 char * kwnames
[] = {
16770 (char *) "self",(char *) "n", NULL
16773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16775 if (!SWIG_IsOK(res1
)) {
16776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16778 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16779 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16780 if (!SWIG_IsOK(ecode2
)) {
16781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16783 arg2
= static_cast< unsigned int >(val2
);
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16799 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
= 0;
16801 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16802 unsigned int arg2
;
16806 unsigned int val2
;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 char * kwnames
[] = {
16811 (char *) "self",(char *) "n", NULL
16814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16816 if (!SWIG_IsOK(res1
)) {
16817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16819 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16820 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16821 if (!SWIG_IsOK(ecode2
)) {
16822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16824 arg2
= static_cast< unsigned int >(val2
);
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16840 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16841 PyObject
*resultobj
= 0;
16842 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16843 unsigned int result
;
16846 PyObject
*swig_obj
[1] ;
16848 if (!args
) SWIG_fail
;
16849 swig_obj
[0] = args
;
16850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16851 if (!SWIG_IsOK(res1
)) {
16852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16854 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16868 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16869 PyObject
*resultobj
= 0;
16870 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16871 unsigned int result
;
16874 PyObject
*swig_obj
[1] ;
16876 if (!args
) SWIG_fail
;
16877 swig_obj
[0] = args
;
16878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16882 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16889 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16896 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
= 0;
16898 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 PyObject
* obj2
= 0 ;
16914 PyObject
* obj3
= 0 ;
16915 char * kwnames
[] = {
16916 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16921 if (!SWIG_IsOK(res1
)) {
16922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16924 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16926 if (!SWIG_IsOK(ecode2
)) {
16927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16929 arg2
= static_cast< int >(val2
);
16930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16931 if (!SWIG_IsOK(ecode3
)) {
16932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16934 arg3
= static_cast< wxDirection
>(val3
);
16935 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16936 if (!SWIG_IsOK(ecode4
)) {
16937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16939 arg4
= static_cast< long >(val4
);
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_From_int(static_cast< int >(result
));
16953 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
= 0;
16955 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16956 unsigned int arg2
;
16957 wxString
*arg3
= 0 ;
16960 unsigned int val2
;
16962 bool temp3
= false ;
16963 PyObject
* obj0
= 0 ;
16964 PyObject
* obj1
= 0 ;
16965 PyObject
* obj2
= 0 ;
16966 char * kwnames
[] = {
16967 (char *) "self",(char *) "item",(char *) "text", NULL
16970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16972 if (!SWIG_IsOK(res1
)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16975 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16976 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16977 if (!SWIG_IsOK(ecode2
)) {
16978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16980 arg2
= static_cast< unsigned int >(val2
);
16982 arg3
= wxString_in_helper(obj2
);
16983 if (arg3
== NULL
) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_Py_Void();
17007 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
= 0;
17009 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17010 unsigned int arg2
;
17011 wxToolTip
*result
= 0 ;
17014 unsigned int val2
;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 char * kwnames
[] = {
17019 (char *) "self",(char *) "item", NULL
17022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17024 if (!SWIG_IsOK(res1
)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17027 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17028 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17029 if (!SWIG_IsOK(ecode2
)) {
17030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17032 arg2
= static_cast< unsigned int >(val2
);
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17048 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= 0;
17050 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17051 unsigned int arg2
;
17052 wxString
*arg3
= 0 ;
17055 unsigned int val2
;
17057 bool temp3
= false ;
17058 PyObject
* obj0
= 0 ;
17059 PyObject
* obj1
= 0 ;
17060 PyObject
* obj2
= 0 ;
17061 char * kwnames
[] = {
17062 (char *) "self",(char *) "n",(char *) "helpText", NULL
17065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17067 if (!SWIG_IsOK(res1
)) {
17068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17070 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17071 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17072 if (!SWIG_IsOK(ecode2
)) {
17073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17075 arg2
= static_cast< unsigned int >(val2
);
17077 arg3
= wxString_in_helper(obj2
);
17078 if (arg3
== NULL
) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= SWIG_Py_Void();
17102 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= 0;
17104 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17105 unsigned int arg2
;
17109 unsigned int val2
;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 char * kwnames
[] = {
17114 (char *) "self",(char *) "n", NULL
17117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17119 if (!SWIG_IsOK(res1
)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17122 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17123 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17124 if (!SWIG_IsOK(ecode2
)) {
17125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17127 arg2
= static_cast< unsigned int >(val2
);
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17147 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
= 0;
17149 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17150 SwigValueWrapper
<wxVisualAttributes
> result
;
17153 PyObject
* obj0
= 0 ;
17154 char * kwnames
[] = {
17155 (char *) "variant", NULL
17158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17160 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17161 if (!SWIG_IsOK(ecode1
)) {
17162 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17164 arg1
= static_cast< wxWindowVariant
>(val1
);
17167 if (!wxPyCheckForApp()) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17180 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17183 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17184 return SWIG_Py_Void();
17187 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17188 return SWIG_Python_InitShadowInstance(args
);
17191 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 wxWindow
*arg1
= (wxWindow
*) 0 ;
17194 int arg2
= (int) -1 ;
17195 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17196 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17201 long arg6
= (long) 0 ;
17202 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17203 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17204 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17206 wxRadioButton
*result
= 0 ;
17211 bool temp3
= false ;
17218 bool temp8
= false ;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 PyObject
* obj2
= 0 ;
17222 PyObject
* obj3
= 0 ;
17223 PyObject
* obj4
= 0 ;
17224 PyObject
* obj5
= 0 ;
17225 PyObject
* obj6
= 0 ;
17226 PyObject
* obj7
= 0 ;
17227 char * kwnames
[] = {
17228 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17233 if (!SWIG_IsOK(res1
)) {
17234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17236 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17239 if (!SWIG_IsOK(ecode2
)) {
17240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17242 arg2
= static_cast< int >(val2
);
17246 arg3
= wxString_in_helper(obj2
);
17247 if (arg3
== NULL
) SWIG_fail
;
17254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17264 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17265 if (!SWIG_IsOK(ecode6
)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17268 arg6
= static_cast< long >(val6
);
17271 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17272 if (!SWIG_IsOK(res7
)) {
17273 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17278 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17282 arg8
= wxString_in_helper(obj7
);
17283 if (arg8
== NULL
) SWIG_fail
;
17288 if (!wxPyCheckForApp()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17317 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17318 PyObject
*resultobj
= 0;
17319 wxRadioButton
*result
= 0 ;
17321 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17323 if (!wxPyCheckForApp()) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (wxRadioButton
*)new wxRadioButton();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17336 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
= 0;
17338 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17339 wxWindow
*arg2
= (wxWindow
*) 0 ;
17340 int arg3
= (int) -1 ;
17341 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17342 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17343 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17344 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17345 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17346 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17347 long arg7
= (long) 0 ;
17348 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17349 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17350 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17351 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17359 bool temp4
= false ;
17366 bool temp9
= false ;
17367 PyObject
* obj0
= 0 ;
17368 PyObject
* obj1
= 0 ;
17369 PyObject
* obj2
= 0 ;
17370 PyObject
* obj3
= 0 ;
17371 PyObject
* obj4
= 0 ;
17372 PyObject
* obj5
= 0 ;
17373 PyObject
* obj6
= 0 ;
17374 PyObject
* obj7
= 0 ;
17375 PyObject
* obj8
= 0 ;
17376 char * kwnames
[] = {
17377 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17382 if (!SWIG_IsOK(res1
)) {
17383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17385 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17387 if (!SWIG_IsOK(res2
)) {
17388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17393 if (!SWIG_IsOK(ecode3
)) {
17394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17396 arg3
= static_cast< int >(val3
);
17400 arg4
= wxString_in_helper(obj3
);
17401 if (arg4
== NULL
) SWIG_fail
;
17408 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17414 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17418 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17419 if (!SWIG_IsOK(ecode7
)) {
17420 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17422 arg7
= static_cast< long >(val7
);
17425 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17426 if (!SWIG_IsOK(res8
)) {
17427 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17432 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17436 arg9
= wxString_in_helper(obj8
);
17437 if (arg9
== NULL
) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17472 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17473 PyObject
*resultobj
= 0;
17474 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17478 PyObject
*swig_obj
[1] ;
17480 if (!args
) SWIG_fail
;
17481 swig_obj
[0] = args
;
17482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17483 if (!SWIG_IsOK(res1
)) {
17484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17486 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (bool)(arg1
)->GetValue();
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17502 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
= 0;
17504 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 char * kwnames
[] = {
17513 (char *) "self",(char *) "value", NULL
17516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17518 if (!SWIG_IsOK(res1
)) {
17519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17521 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17522 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17523 if (!SWIG_IsOK(ecode2
)) {
17524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17526 arg2
= static_cast< bool >(val2
);
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 (arg1
)->SetValue(arg2
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_Py_Void();
17540 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
= 0;
17542 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17543 SwigValueWrapper
<wxVisualAttributes
> result
;
17546 PyObject
* obj0
= 0 ;
17547 char * kwnames
[] = {
17548 (char *) "variant", NULL
17551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17553 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17554 if (!SWIG_IsOK(ecode1
)) {
17555 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17557 arg1
= static_cast< wxWindowVariant
>(val1
);
17560 if (!wxPyCheckForApp()) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17573 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17576 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17577 return SWIG_Py_Void();
17580 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17581 return SWIG_Python_InitShadowInstance(args
);
17584 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17585 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17590 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17591 PyObject
*pyobj
= 0;
17595 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17597 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17604 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
= 0;
17606 wxWindow
*arg1
= (wxWindow
*) 0 ;
17607 int arg2
= (int) -1 ;
17608 int arg3
= (int) 0 ;
17609 int arg4
= (int) 0 ;
17610 int arg5
= (int) 100 ;
17611 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17612 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17613 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17614 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17615 long arg8
= (long) wxSL_HORIZONTAL
;
17616 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17617 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17618 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17619 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17620 wxSlider
*result
= 0 ;
17637 bool temp10
= false ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 PyObject
* obj2
= 0 ;
17641 PyObject
* obj3
= 0 ;
17642 PyObject
* obj4
= 0 ;
17643 PyObject
* obj5
= 0 ;
17644 PyObject
* obj6
= 0 ;
17645 PyObject
* obj7
= 0 ;
17646 PyObject
* obj8
= 0 ;
17647 PyObject
* obj9
= 0 ;
17648 char * kwnames
[] = {
17649 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17654 if (!SWIG_IsOK(res1
)) {
17655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17657 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17660 if (!SWIG_IsOK(ecode2
)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17663 arg2
= static_cast< int >(val2
);
17666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17667 if (!SWIG_IsOK(ecode3
)) {
17668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17670 arg3
= static_cast< int >(val3
);
17673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17674 if (!SWIG_IsOK(ecode4
)) {
17675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17677 arg4
= static_cast< int >(val4
);
17680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17681 if (!SWIG_IsOK(ecode5
)) {
17682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17684 arg5
= static_cast< int >(val5
);
17689 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17695 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17699 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17700 if (!SWIG_IsOK(ecode8
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17703 arg8
= static_cast< long >(val8
);
17706 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17707 if (!SWIG_IsOK(res9
)) {
17708 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17713 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17717 arg10
= wxString_in_helper(obj9
);
17718 if (arg10
== NULL
) SWIG_fail
;
17723 if (!wxPyCheckForApp()) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17744 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17745 PyObject
*resultobj
= 0;
17746 wxSlider
*result
= 0 ;
17748 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17750 if (!wxPyCheckForApp()) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (wxSlider
*)new wxSlider();
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17763 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
= 0;
17765 wxSlider
*arg1
= (wxSlider
*) 0 ;
17766 wxWindow
*arg2
= (wxWindow
*) 0 ;
17767 int arg3
= (int) -1 ;
17768 int arg4
= (int) 0 ;
17769 int arg5
= (int) 0 ;
17770 int arg6
= (int) 100 ;
17771 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17772 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17773 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17774 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17775 long arg9
= (long) wxSL_HORIZONTAL
;
17776 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17777 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17778 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17779 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17799 bool temp11
= false ;
17800 PyObject
* obj0
= 0 ;
17801 PyObject
* obj1
= 0 ;
17802 PyObject
* obj2
= 0 ;
17803 PyObject
* obj3
= 0 ;
17804 PyObject
* obj4
= 0 ;
17805 PyObject
* obj5
= 0 ;
17806 PyObject
* obj6
= 0 ;
17807 PyObject
* obj7
= 0 ;
17808 PyObject
* obj8
= 0 ;
17809 PyObject
* obj9
= 0 ;
17810 PyObject
* obj10
= 0 ;
17811 char * kwnames
[] = {
17812 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17817 if (!SWIG_IsOK(res1
)) {
17818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17820 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17822 if (!SWIG_IsOK(res2
)) {
17823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17825 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17828 if (!SWIG_IsOK(ecode3
)) {
17829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17831 arg3
= static_cast< int >(val3
);
17834 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17835 if (!SWIG_IsOK(ecode4
)) {
17836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17838 arg4
= static_cast< int >(val4
);
17841 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17842 if (!SWIG_IsOK(ecode5
)) {
17843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17845 arg5
= static_cast< int >(val5
);
17848 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17849 if (!SWIG_IsOK(ecode6
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17852 arg6
= static_cast< int >(val6
);
17857 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17863 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17867 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17868 if (!SWIG_IsOK(ecode9
)) {
17869 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17871 arg9
= static_cast< long >(val9
);
17874 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17875 if (!SWIG_IsOK(res10
)) {
17876 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17881 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17885 arg11
= wxString_in_helper(obj10
);
17886 if (arg11
== NULL
) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17913 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17914 PyObject
*resultobj
= 0;
17915 wxSlider
*arg1
= (wxSlider
*) 0 ;
17919 PyObject
*swig_obj
[1] ;
17921 if (!args
) SWIG_fail
;
17922 swig_obj
[0] = args
;
17923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17924 if (!SWIG_IsOK(res1
)) {
17925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17927 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= SWIG_From_int(static_cast< int >(result
));
17941 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
= 0;
17943 wxSlider
*arg1
= (wxSlider
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char * kwnames
[] = {
17952 (char *) "self",(char *) "value", NULL
17955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17957 if (!SWIG_IsOK(res1
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17960 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17962 if (!SWIG_IsOK(ecode2
)) {
17963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17965 arg2
= static_cast< int >(val2
);
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 (arg1
)->SetValue(arg2
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_Py_Void();
17979 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= 0;
17981 wxSlider
*arg1
= (wxSlider
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 char * kwnames
[] = {
17994 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17999 if (!SWIG_IsOK(res1
)) {
18000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18002 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18004 if (!SWIG_IsOK(ecode2
)) {
18005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18007 arg2
= static_cast< int >(val2
);
18008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18009 if (!SWIG_IsOK(ecode3
)) {
18010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18012 arg3
= static_cast< int >(val3
);
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 (arg1
)->SetRange(arg2
,arg3
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= SWIG_Py_Void();
18026 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18027 PyObject
*resultobj
= 0;
18028 wxSlider
*arg1
= (wxSlider
*) 0 ;
18032 PyObject
*swig_obj
[1] ;
18034 if (!args
) SWIG_fail
;
18035 swig_obj
[0] = args
;
18036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18040 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_From_int(static_cast< int >(result
));
18054 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18055 PyObject
*resultobj
= 0;
18056 wxSlider
*arg1
= (wxSlider
*) 0 ;
18060 PyObject
*swig_obj
[1] ;
18062 if (!args
) SWIG_fail
;
18063 swig_obj
[0] = args
;
18064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18065 if (!SWIG_IsOK(res1
)) {
18066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18068 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_From_int(static_cast< int >(result
));
18082 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
= 0;
18084 wxSlider
*arg1
= (wxSlider
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 PyObject
* obj1
= 0 ;
18092 char * kwnames
[] = {
18093 (char *) "self",(char *) "minValue", NULL
18096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18101 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18103 if (!SWIG_IsOK(ecode2
)) {
18104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18106 arg2
= static_cast< int >(val2
);
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 (arg1
)->SetMin(arg2
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= SWIG_Py_Void();
18120 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
= 0;
18122 wxSlider
*arg1
= (wxSlider
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char * kwnames
[] = {
18131 (char *) "self",(char *) "maxValue", NULL
18134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18136 if (!SWIG_IsOK(res1
)) {
18137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18139 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18141 if (!SWIG_IsOK(ecode2
)) {
18142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18144 arg2
= static_cast< int >(val2
);
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 (arg1
)->SetMax(arg2
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 resultobj
= SWIG_Py_Void();
18158 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
= 0;
18160 wxSlider
*arg1
= (wxSlider
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 char * kwnames
[] = {
18169 (char *) "self",(char *) "lineSize", NULL
18172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18174 if (!SWIG_IsOK(res1
)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18177 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18179 if (!SWIG_IsOK(ecode2
)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18182 arg2
= static_cast< int >(val2
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->SetLineSize(arg2
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_Py_Void();
18196 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
= 0;
18198 wxSlider
*arg1
= (wxSlider
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 char * kwnames
[] = {
18207 (char *) "self",(char *) "pageSize", NULL
18210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18212 if (!SWIG_IsOK(res1
)) {
18213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18215 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18217 if (!SWIG_IsOK(ecode2
)) {
18218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18220 arg2
= static_cast< int >(val2
);
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 (arg1
)->SetPageSize(arg2
);
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= SWIG_Py_Void();
18234 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18235 PyObject
*resultobj
= 0;
18236 wxSlider
*arg1
= (wxSlider
*) 0 ;
18240 PyObject
*swig_obj
[1] ;
18242 if (!args
) SWIG_fail
;
18243 swig_obj
[0] = args
;
18244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18245 if (!SWIG_IsOK(res1
)) {
18246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18248 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_From_int(static_cast< int >(result
));
18262 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18263 PyObject
*resultobj
= 0;
18264 wxSlider
*arg1
= (wxSlider
*) 0 ;
18268 PyObject
*swig_obj
[1] ;
18270 if (!args
) SWIG_fail
;
18271 swig_obj
[0] = args
;
18272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18273 if (!SWIG_IsOK(res1
)) {
18274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18276 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= SWIG_From_int(static_cast< int >(result
));
18290 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
= 0;
18292 wxSlider
*arg1
= (wxSlider
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 char * kwnames
[] = {
18301 (char *) "self",(char *) "lenPixels", NULL
18304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18306 if (!SWIG_IsOK(res1
)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18309 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18311 if (!SWIG_IsOK(ecode2
)) {
18312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18314 arg2
= static_cast< int >(val2
);
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->SetThumbLength(arg2
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_Py_Void();
18328 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18329 PyObject
*resultobj
= 0;
18330 wxSlider
*arg1
= (wxSlider
*) 0 ;
18334 PyObject
*swig_obj
[1] ;
18336 if (!args
) SWIG_fail
;
18337 swig_obj
[0] = args
;
18338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18342 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_From_int(static_cast< int >(result
));
18356 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
= 0;
18358 wxSlider
*arg1
= (wxSlider
*) 0 ;
18360 int arg3
= (int) 1 ;
18367 PyObject
* obj0
= 0 ;
18368 PyObject
* obj1
= 0 ;
18369 PyObject
* obj2
= 0 ;
18370 char * kwnames
[] = {
18371 (char *) "self",(char *) "n",(char *) "pos", NULL
18374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18376 if (!SWIG_IsOK(res1
)) {
18377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18379 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18381 if (!SWIG_IsOK(ecode2
)) {
18382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18384 arg2
= static_cast< int >(val2
);
18386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18387 if (!SWIG_IsOK(ecode3
)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18390 arg3
= static_cast< int >(val3
);
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 (arg1
)->SetTickFreq(arg2
,arg3
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= SWIG_Py_Void();
18405 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18406 PyObject
*resultobj
= 0;
18407 wxSlider
*arg1
= (wxSlider
*) 0 ;
18411 PyObject
*swig_obj
[1] ;
18413 if (!args
) SWIG_fail
;
18414 swig_obj
[0] = args
;
18415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18416 if (!SWIG_IsOK(res1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18419 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= SWIG_From_int(static_cast< int >(result
));
18433 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18434 PyObject
*resultobj
= 0;
18435 wxSlider
*arg1
= (wxSlider
*) 0 ;
18438 PyObject
*swig_obj
[1] ;
18440 if (!args
) SWIG_fail
;
18441 swig_obj
[0] = args
;
18442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18443 if (!SWIG_IsOK(res1
)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18446 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 (arg1
)->ClearTicks();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_Py_Void();
18460 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
= 0;
18462 wxSlider
*arg1
= (wxSlider
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 char * kwnames
[] = {
18471 (char *) "self",(char *) "tickPos", NULL
18474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18476 if (!SWIG_IsOK(res1
)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18479 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18481 if (!SWIG_IsOK(ecode2
)) {
18482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18484 arg2
= static_cast< int >(val2
);
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->SetTick(arg2
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_Py_Void();
18498 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18499 PyObject
*resultobj
= 0;
18500 wxSlider
*arg1
= (wxSlider
*) 0 ;
18503 PyObject
*swig_obj
[1] ;
18505 if (!args
) SWIG_fail
;
18506 swig_obj
[0] = args
;
18507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18508 if (!SWIG_IsOK(res1
)) {
18509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18511 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 (arg1
)->ClearSel();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_Py_Void();
18525 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18526 PyObject
*resultobj
= 0;
18527 wxSlider
*arg1
= (wxSlider
*) 0 ;
18531 PyObject
*swig_obj
[1] ;
18533 if (!args
) SWIG_fail
;
18534 swig_obj
[0] = args
;
18535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18539 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_From_int(static_cast< int >(result
));
18553 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18554 PyObject
*resultobj
= 0;
18555 wxSlider
*arg1
= (wxSlider
*) 0 ;
18559 PyObject
*swig_obj
[1] ;
18561 if (!args
) SWIG_fail
;
18562 swig_obj
[0] = args
;
18563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18564 if (!SWIG_IsOK(res1
)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18567 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_From_int(static_cast< int >(result
));
18581 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
= 0;
18583 wxSlider
*arg1
= (wxSlider
*) 0 ;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 PyObject
* obj2
= 0 ;
18595 char * kwnames
[] = {
18596 (char *) "self",(char *) "min",(char *) "max", NULL
18599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18601 if (!SWIG_IsOK(res1
)) {
18602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18604 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18606 if (!SWIG_IsOK(ecode2
)) {
18607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18609 arg2
= static_cast< int >(val2
);
18610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18611 if (!SWIG_IsOK(ecode3
)) {
18612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18614 arg3
= static_cast< int >(val3
);
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 (arg1
)->SetSelection(arg2
,arg3
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_Py_Void();
18628 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= 0;
18630 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18631 SwigValueWrapper
<wxVisualAttributes
> result
;
18634 PyObject
* obj0
= 0 ;
18635 char * kwnames
[] = {
18636 (char *) "variant", NULL
18639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18642 if (!SWIG_IsOK(ecode1
)) {
18643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18645 arg1
= static_cast< wxWindowVariant
>(val1
);
18648 if (!wxPyCheckForApp()) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18661 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18664 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18665 return SWIG_Py_Void();
18668 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18669 return SWIG_Python_InitShadowInstance(args
);
18672 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18673 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18678 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18679 PyObject
*pyobj
= 0;
18683 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18685 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18692 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
= 0;
18694 wxWindow
*arg1
= (wxWindow
*) 0 ;
18695 int arg2
= (int) -1 ;
18696 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18702 long arg6
= (long) 0 ;
18703 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18704 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18705 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18706 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18707 wxToggleButton
*result
= 0 ;
18712 bool temp3
= false ;
18719 bool temp8
= false ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 PyObject
* obj2
= 0 ;
18723 PyObject
* obj3
= 0 ;
18724 PyObject
* obj4
= 0 ;
18725 PyObject
* obj5
= 0 ;
18726 PyObject
* obj6
= 0 ;
18727 PyObject
* obj7
= 0 ;
18728 char * kwnames
[] = {
18729 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18740 if (!SWIG_IsOK(ecode2
)) {
18741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18743 arg2
= static_cast< int >(val2
);
18747 arg3
= wxString_in_helper(obj2
);
18748 if (arg3
== NULL
) SWIG_fail
;
18755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18766 if (!SWIG_IsOK(ecode6
)) {
18767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18769 arg6
= static_cast< long >(val6
);
18772 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18773 if (!SWIG_IsOK(res7
)) {
18774 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18779 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18783 arg8
= wxString_in_helper(obj7
);
18784 if (arg8
== NULL
) SWIG_fail
;
18789 if (!wxPyCheckForApp()) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18818 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18819 PyObject
*resultobj
= 0;
18820 wxToggleButton
*result
= 0 ;
18822 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18824 if (!wxPyCheckForApp()) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (wxToggleButton
*)new wxToggleButton();
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18837 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
= 0;
18839 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18840 wxWindow
*arg2
= (wxWindow
*) 0 ;
18841 int arg3
= (int) -1 ;
18842 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18843 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18844 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18845 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18846 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18847 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18848 long arg7
= (long) 0 ;
18849 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18850 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18851 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18852 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18860 bool temp4
= false ;
18867 bool temp9
= false ;
18868 PyObject
* obj0
= 0 ;
18869 PyObject
* obj1
= 0 ;
18870 PyObject
* obj2
= 0 ;
18871 PyObject
* obj3
= 0 ;
18872 PyObject
* obj4
= 0 ;
18873 PyObject
* obj5
= 0 ;
18874 PyObject
* obj6
= 0 ;
18875 PyObject
* obj7
= 0 ;
18876 PyObject
* obj8
= 0 ;
18877 char * kwnames
[] = {
18878 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18883 if (!SWIG_IsOK(res1
)) {
18884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18886 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18888 if (!SWIG_IsOK(res2
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18891 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18894 if (!SWIG_IsOK(ecode3
)) {
18895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18897 arg3
= static_cast< int >(val3
);
18901 arg4
= wxString_in_helper(obj3
);
18902 if (arg4
== NULL
) SWIG_fail
;
18909 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18915 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18919 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18920 if (!SWIG_IsOK(ecode7
)) {
18921 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18923 arg7
= static_cast< long >(val7
);
18926 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18927 if (!SWIG_IsOK(res8
)) {
18928 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18933 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18937 arg9
= wxString_in_helper(obj8
);
18938 if (arg9
== NULL
) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18973 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char * kwnames
[] = {
18984 (char *) "self",(char *) "value", NULL
18987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18989 if (!SWIG_IsOK(res1
)) {
18990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18992 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18993 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18994 if (!SWIG_IsOK(ecode2
)) {
18995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18997 arg2
= static_cast< bool >(val2
);
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 (arg1
)->SetValue(arg2
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_Py_Void();
19011 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19012 PyObject
*resultobj
= 0;
19013 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19017 PyObject
*swig_obj
[1] ;
19019 if (!args
) SWIG_fail
;
19020 swig_obj
[0] = args
;
19021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19022 if (!SWIG_IsOK(res1
)) {
19023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19025 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19041 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
= 0;
19043 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19044 SwigValueWrapper
<wxVisualAttributes
> result
;
19047 PyObject
* obj0
= 0 ;
19048 char * kwnames
[] = {
19049 (char *) "variant", NULL
19052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19054 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19055 if (!SWIG_IsOK(ecode1
)) {
19056 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19058 arg1
= static_cast< wxWindowVariant
>(val1
);
19061 if (!wxPyCheckForApp()) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19074 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19077 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19078 return SWIG_Py_Void();
19081 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19082 return SWIG_Python_InitShadowInstance(args
);
19085 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19086 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19091 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19092 PyObject
*pyobj
= 0;
19096 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19098 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19105 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19106 PyObject
*resultobj
= 0;
19107 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19111 PyObject
*swig_obj
[1] ;
19113 if (!args
) SWIG_fail
;
19114 swig_obj
[0] = args
;
19115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19116 if (!SWIG_IsOK(res1
)) {
19117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19119 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19133 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19137 wxWindow
*result
= 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 char * kwnames
[] = {
19145 (char *) "self",(char *) "n", NULL
19148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19150 if (!SWIG_IsOK(res1
)) {
19151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19153 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19154 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19155 if (!SWIG_IsOK(ecode2
)) {
19156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19158 arg2
= static_cast< size_t >(val2
);
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= wxPyMake_wxObject(result
, 0);
19174 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19175 PyObject
*resultobj
= 0;
19176 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19177 wxWindow
*result
= 0 ;
19180 PyObject
*swig_obj
[1] ;
19182 if (!args
) SWIG_fail
;
19183 swig_obj
[0] = args
;
19184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19185 if (!SWIG_IsOK(res1
)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19188 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= wxPyMake_wxObject(result
, 0);
19204 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19205 PyObject
*resultobj
= 0;
19206 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19210 PyObject
*swig_obj
[1] ;
19212 if (!args
) SWIG_fail
;
19213 swig_obj
[0] = args
;
19214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19215 if (!SWIG_IsOK(res1
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19218 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_From_int(static_cast< int >(result
));
19232 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
= 0;
19234 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19236 wxString
*arg3
= 0 ;
19242 bool temp3
= false ;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 PyObject
* obj2
= 0 ;
19246 char * kwnames
[] = {
19247 (char *) "self",(char *) "n",(char *) "strText", NULL
19250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19252 if (!SWIG_IsOK(res1
)) {
19253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19255 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19256 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19257 if (!SWIG_IsOK(ecode2
)) {
19258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19260 arg2
= static_cast< size_t >(val2
);
19262 arg3
= wxString_in_helper(obj2
);
19263 if (arg3
== NULL
) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19289 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
= 0;
19291 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char * kwnames
[] = {
19301 (char *) "self",(char *) "n", NULL
19304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19306 if (!SWIG_IsOK(res1
)) {
19307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19309 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19310 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19311 if (!SWIG_IsOK(ecode2
)) {
19312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19314 arg2
= static_cast< size_t >(val2
);
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19334 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
= 0;
19336 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19337 wxImageList
*arg2
= (wxImageList
*) 0 ;
19342 PyObject
* obj0
= 0 ;
19343 PyObject
* obj1
= 0 ;
19344 char * kwnames
[] = {
19345 (char *) "self",(char *) "imageList", NULL
19348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19350 if (!SWIG_IsOK(res1
)) {
19351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19353 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19355 if (!SWIG_IsOK(res2
)) {
19356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19358 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->SetImageList(arg2
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_Py_Void();
19372 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= 0;
19374 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19375 wxImageList
*arg2
= (wxImageList
*) 0 ;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 char * kwnames
[] = {
19382 (char *) "self",(char *) "imageList", NULL
19385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19387 if (!SWIG_IsOK(res1
)) {
19388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19390 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19391 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19392 if (!SWIG_IsOK(res2
)) {
19393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->AssignImageList(arg2
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_Py_Void();
19408 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19409 PyObject
*resultobj
= 0;
19410 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19411 wxImageList
*result
= 0 ;
19414 PyObject
*swig_obj
[1] ;
19416 if (!args
) SWIG_fail
;
19417 swig_obj
[0] = args
;
19418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19419 if (!SWIG_IsOK(res1
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19422 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19438 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 char * kwnames
[] = {
19450 (char *) "self",(char *) "n", NULL
19453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19458 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19459 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19460 if (!SWIG_IsOK(ecode2
)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19463 arg2
= static_cast< size_t >(val2
);
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= SWIG_From_int(static_cast< int >(result
));
19477 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
= 0;
19479 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19489 PyObject
* obj0
= 0 ;
19490 PyObject
* obj1
= 0 ;
19491 PyObject
* obj2
= 0 ;
19492 char * kwnames
[] = {
19493 (char *) "self",(char *) "n",(char *) "imageId", NULL
19496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19498 if (!SWIG_IsOK(res1
)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19501 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19502 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19503 if (!SWIG_IsOK(ecode2
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19506 arg2
= static_cast< size_t >(val2
);
19507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19508 if (!SWIG_IsOK(ecode3
)) {
19509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19511 arg3
= static_cast< int >(val3
);
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19527 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
= 0;
19529 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char * kwnames
[] = {
19537 (char *) "self",(char *) "size", NULL
19540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19542 if (!SWIG_IsOK(res1
)) {
19543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19545 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_Py_Void();
19563 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
= 0;
19565 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 char * kwnames
[] = {
19574 (char *) "self",(char *) "sizePage", NULL
19577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19579 if (!SWIG_IsOK(res1
)) {
19580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19582 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19585 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19600 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19601 PyObject
*resultobj
= 0;
19602 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19603 unsigned int result
;
19606 PyObject
*swig_obj
[1] ;
19608 if (!args
) SWIG_fail
;
19609 swig_obj
[0] = args
;
19610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19611 if (!SWIG_IsOK(res1
)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19614 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19628 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
= 0;
19630 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19631 unsigned int arg2
;
19634 unsigned int val2
;
19636 PyObject
* obj0
= 0 ;
19637 PyObject
* obj1
= 0 ;
19638 char * kwnames
[] = {
19639 (char *) "self",(char *) "internalBorder", NULL
19642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19644 if (!SWIG_IsOK(res1
)) {
19645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19647 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19648 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19649 if (!SWIG_IsOK(ecode2
)) {
19650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19652 arg2
= static_cast< unsigned int >(val2
);
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 (arg1
)->SetInternalBorder(arg2
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= SWIG_Py_Void();
19666 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19667 PyObject
*resultobj
= 0;
19668 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19672 PyObject
*swig_obj
[1] ;
19674 if (!args
) SWIG_fail
;
19675 swig_obj
[0] = args
;
19676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19677 if (!SWIG_IsOK(res1
)) {
19678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19680 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19696 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
= 0;
19698 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char * kwnames
[] = {
19707 (char *) "self",(char *) "margin", NULL
19710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19712 if (!SWIG_IsOK(res1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19715 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19717 if (!SWIG_IsOK(ecode2
)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19720 arg2
= static_cast< int >(val2
);
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 (arg1
)->SetControlMargin(arg2
);
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_Py_Void();
19734 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19735 PyObject
*resultobj
= 0;
19736 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19740 PyObject
*swig_obj
[1] ;
19742 if (!args
) SWIG_fail
;
19743 swig_obj
[0] = args
;
19744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19748 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_From_int(static_cast< int >(result
));
19762 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
= 0;
19764 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 char * kwnames
[] = {
19773 (char *) "self",(char *) "fit", NULL
19776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19778 if (!SWIG_IsOK(res1
)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19781 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19782 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19783 if (!SWIG_IsOK(ecode2
)) {
19784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19786 arg2
= static_cast< bool >(val2
);
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 (arg1
)->SetFitToCurrentPage(arg2
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_Py_Void();
19800 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19801 PyObject
*resultobj
= 0;
19802 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19806 PyObject
*swig_obj
[1] ;
19808 if (!args
) SWIG_fail
;
19809 swig_obj
[0] = args
;
19810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19814 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19830 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19831 PyObject
*resultobj
= 0;
19832 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19833 wxSizer
*result
= 0 ;
19836 PyObject
*swig_obj
[1] ;
19838 if (!args
) SWIG_fail
;
19839 swig_obj
[0] = args
;
19840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19841 if (!SWIG_IsOK(res1
)) {
19842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19844 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19860 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
= 0;
19862 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 PyObject
* obj1
= 0 ;
19871 char * kwnames
[] = {
19872 (char *) "self",(char *) "n", NULL
19875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19877 if (!SWIG_IsOK(res1
)) {
19878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19880 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19881 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19882 if (!SWIG_IsOK(ecode2
)) {
19883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19885 arg2
= static_cast< size_t >(val2
);
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (bool)(arg1
)->DeletePage(arg2
);
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19901 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
= 0;
19903 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 char * kwnames
[] = {
19913 (char *) "self",(char *) "n", NULL
19916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19918 if (!SWIG_IsOK(res1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19921 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19922 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19923 if (!SWIG_IsOK(ecode2
)) {
19924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19926 arg2
= static_cast< size_t >(val2
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (bool)(arg1
)->RemovePage(arg2
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19942 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19943 PyObject
*resultobj
= 0;
19944 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19948 PyObject
*swig_obj
[1] ;
19950 if (!args
) SWIG_fail
;
19951 swig_obj
[0] = args
;
19952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19953 if (!SWIG_IsOK(res1
)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19956 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= (bool)(arg1
)->DeleteAllPages();
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19972 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
= 0;
19974 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19975 wxWindow
*arg2
= (wxWindow
*) 0 ;
19976 wxString
*arg3
= 0 ;
19977 bool arg4
= (bool) false ;
19978 int arg5
= (int) -1 ;
19984 bool temp3
= false ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 PyObject
* obj2
= 0 ;
19992 PyObject
* obj3
= 0 ;
19993 PyObject
* obj4
= 0 ;
19994 char * kwnames
[] = {
19995 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20000 if (!SWIG_IsOK(res1
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20003 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20004 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20005 if (!SWIG_IsOK(res2
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20008 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20010 arg3
= wxString_in_helper(obj2
);
20011 if (arg3
== NULL
) SWIG_fail
;
20015 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20016 if (!SWIG_IsOK(ecode4
)) {
20017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20019 arg4
= static_cast< bool >(val4
);
20022 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20023 if (!SWIG_IsOK(ecode5
)) {
20024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20026 arg5
= static_cast< int >(val5
);
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20051 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20052 PyObject
*resultobj
= 0;
20053 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20055 wxWindow
*arg3
= (wxWindow
*) 0 ;
20056 wxString
*arg4
= 0 ;
20057 bool arg5
= (bool) false ;
20058 int arg6
= (int) -1 ;
20066 bool temp4
= false ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 PyObject
* obj2
= 0 ;
20074 PyObject
* obj3
= 0 ;
20075 PyObject
* obj4
= 0 ;
20076 PyObject
* obj5
= 0 ;
20077 char * kwnames
[] = {
20078 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20083 if (!SWIG_IsOK(res1
)) {
20084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20086 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20087 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20088 if (!SWIG_IsOK(ecode2
)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20091 arg2
= static_cast< size_t >(val2
);
20092 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20093 if (!SWIG_IsOK(res3
)) {
20094 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20096 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20098 arg4
= wxString_in_helper(obj3
);
20099 if (arg4
== NULL
) SWIG_fail
;
20103 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20104 if (!SWIG_IsOK(ecode5
)) {
20105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20107 arg5
= static_cast< bool >(val5
);
20110 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20111 if (!SWIG_IsOK(ecode6
)) {
20112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20114 arg6
= static_cast< int >(val6
);
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20139 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
= 0;
20141 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char * kwnames
[] = {
20151 (char *) "self",(char *) "n", NULL
20154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20156 if (!SWIG_IsOK(res1
)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20159 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20160 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20161 if (!SWIG_IsOK(ecode2
)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20164 arg2
= static_cast< size_t >(val2
);
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (int)(arg1
)->SetSelection(arg2
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= SWIG_From_int(static_cast< int >(result
));
20178 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
= 0;
20180 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20181 bool arg2
= (bool) true ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 char * kwnames
[] = {
20189 (char *) "self",(char *) "forward", NULL
20192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20194 if (!SWIG_IsOK(res1
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20197 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20199 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20200 if (!SWIG_IsOK(ecode2
)) {
20201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20203 arg2
= static_cast< bool >(val2
);
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 (arg1
)->AdvanceSelection(arg2
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_Py_Void();
20218 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20221 wxPoint
*arg2
= 0 ;
20222 long *arg3
= (long *) 0 ;
20228 int res3
= SWIG_TMPOBJ
;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 char * kwnames
[] = {
20232 (char *) "self",(char *) "pt", NULL
20236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20238 if (!SWIG_IsOK(res1
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20241 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20244 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_From_int(static_cast< int >(result
));
20253 if (SWIG_IsTmpObj(res3
)) {
20254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20256 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20265 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
= 0;
20267 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20268 SwigValueWrapper
<wxVisualAttributes
> result
;
20271 PyObject
* obj0
= 0 ;
20272 char * kwnames
[] = {
20273 (char *) "variant", NULL
20276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20278 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20279 if (!SWIG_IsOK(ecode1
)) {
20280 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20282 arg1
= static_cast< wxWindowVariant
>(val1
);
20285 if (!wxPyCheckForApp()) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20298 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20301 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20302 return SWIG_Py_Void();
20305 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
= 0;
20307 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20308 int arg2
= (int) 0 ;
20309 int arg3
= (int) -1 ;
20310 int arg4
= (int) -1 ;
20311 wxBookCtrlBaseEvent
*result
= 0 ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 PyObject
* obj2
= 0 ;
20323 PyObject
* obj3
= 0 ;
20324 char * kwnames
[] = {
20325 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20330 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20331 if (!SWIG_IsOK(ecode1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20334 arg1
= static_cast< wxEventType
>(val1
);
20337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20338 if (!SWIG_IsOK(ecode2
)) {
20339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20341 arg2
= static_cast< int >(val2
);
20344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20345 if (!SWIG_IsOK(ecode3
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20348 arg3
= static_cast< int >(val3
);
20351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20352 if (!SWIG_IsOK(ecode4
)) {
20353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20355 arg4
= static_cast< int >(val4
);
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20370 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20371 PyObject
*resultobj
= 0;
20372 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20376 PyObject
*swig_obj
[1] ;
20378 if (!args
) SWIG_fail
;
20379 swig_obj
[0] = args
;
20380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20381 if (!SWIG_IsOK(res1
)) {
20382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20384 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= SWIG_From_int(static_cast< int >(result
));
20398 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
= 0;
20400 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 char * kwnames
[] = {
20409 (char *) "self",(char *) "nSel", NULL
20412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20414 if (!SWIG_IsOK(res1
)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20417 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20419 if (!SWIG_IsOK(ecode2
)) {
20420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20422 arg2
= static_cast< int >(val2
);
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 (arg1
)->SetSelection(arg2
);
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= SWIG_Py_Void();
20436 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20437 PyObject
*resultobj
= 0;
20438 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20442 PyObject
*swig_obj
[1] ;
20444 if (!args
) SWIG_fail
;
20445 swig_obj
[0] = args
;
20446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20447 if (!SWIG_IsOK(res1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20450 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_From_int(static_cast< int >(result
));
20464 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
= 0;
20466 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20474 char * kwnames
[] = {
20475 (char *) "self",(char *) "nOldSel", NULL
20478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20483 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20485 if (!SWIG_IsOK(ecode2
)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20488 arg2
= static_cast< int >(val2
);
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->SetOldSelection(arg2
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_Py_Void();
20502 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20505 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20506 return SWIG_Py_Void();
20509 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20510 return SWIG_Python_InitShadowInstance(args
);
20513 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
= 0;
20515 wxWindow
*arg1
= (wxWindow
*) 0 ;
20516 int arg2
= (int) -1 ;
20517 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20518 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20519 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20520 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20521 long arg5
= (long) 0 ;
20522 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20523 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20524 wxNotebook
*result
= 0 ;
20533 bool temp6
= false ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 PyObject
* obj2
= 0 ;
20537 PyObject
* obj3
= 0 ;
20538 PyObject
* obj4
= 0 ;
20539 PyObject
* obj5
= 0 ;
20540 char * kwnames
[] = {
20541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20546 if (!SWIG_IsOK(res1
)) {
20547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20552 if (!SWIG_IsOK(ecode2
)) {
20553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20555 arg2
= static_cast< int >(val2
);
20560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20570 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20571 if (!SWIG_IsOK(ecode5
)) {
20572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20574 arg5
= static_cast< long >(val5
);
20578 arg6
= wxString_in_helper(obj5
);
20579 if (arg6
== NULL
) SWIG_fail
;
20584 if (!wxPyCheckForApp()) SWIG_fail
;
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20605 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20606 PyObject
*resultobj
= 0;
20607 wxNotebook
*result
= 0 ;
20609 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20611 if (!wxPyCheckForApp()) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (wxNotebook
*)new wxNotebook();
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20624 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
= 0;
20626 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20627 wxWindow
*arg2
= (wxWindow
*) 0 ;
20628 int arg3
= (int) -1 ;
20629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20633 long arg6
= (long) 0 ;
20634 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20647 bool temp7
= false ;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 PyObject
* obj2
= 0 ;
20651 PyObject
* obj3
= 0 ;
20652 PyObject
* obj4
= 0 ;
20653 PyObject
* obj5
= 0 ;
20654 PyObject
* obj6
= 0 ;
20655 char * kwnames
[] = {
20656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20661 if (!SWIG_IsOK(res1
)) {
20662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20664 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20666 if (!SWIG_IsOK(res2
)) {
20667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20669 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20672 if (!SWIG_IsOK(ecode3
)) {
20673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20675 arg3
= static_cast< int >(val3
);
20680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20690 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20691 if (!SWIG_IsOK(ecode6
)) {
20692 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20694 arg6
= static_cast< long >(val6
);
20698 arg7
= wxString_in_helper(obj6
);
20699 if (arg7
== NULL
) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20726 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20727 PyObject
*resultobj
= 0;
20728 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20732 PyObject
*swig_obj
[1] ;
20734 if (!args
) SWIG_fail
;
20735 swig_obj
[0] = args
;
20736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20737 if (!SWIG_IsOK(res1
)) {
20738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20740 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= SWIG_From_int(static_cast< int >(result
));
20754 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
= 0;
20756 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char * kwnames
[] = {
20764 (char *) "self",(char *) "padding", NULL
20767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20769 if (!SWIG_IsOK(res1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20772 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20783 resultobj
= SWIG_Py_Void();
20790 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
= 0;
20792 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20797 PyObject
* obj0
= 0 ;
20798 PyObject
* obj1
= 0 ;
20799 char * kwnames
[] = {
20800 (char *) "self",(char *) "sz", NULL
20803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20805 if (!SWIG_IsOK(res1
)) {
20806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20808 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20811 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_Py_Void();
20826 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20827 PyObject
*resultobj
= 0;
20828 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20832 PyObject
*swig_obj
[1] ;
20834 if (!args
) SWIG_fail
;
20835 swig_obj
[0] = args
;
20836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20840 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20854 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
= 0;
20856 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20857 SwigValueWrapper
<wxVisualAttributes
> result
;
20860 PyObject
* obj0
= 0 ;
20861 char * kwnames
[] = {
20862 (char *) "variant", NULL
20865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20867 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20868 if (!SWIG_IsOK(ecode1
)) {
20869 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20871 arg1
= static_cast< wxWindowVariant
>(val1
);
20874 if (!wxPyCheckForApp()) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20887 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20890 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20891 return SWIG_Py_Void();
20894 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20895 return SWIG_Python_InitShadowInstance(args
);
20898 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
= 0;
20900 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20901 int arg2
= (int) 0 ;
20902 int arg3
= (int) -1 ;
20903 int arg4
= (int) -1 ;
20904 wxNotebookEvent
*result
= 0 ;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 PyObject
* obj2
= 0 ;
20916 PyObject
* obj3
= 0 ;
20917 char * kwnames
[] = {
20918 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20924 if (!SWIG_IsOK(ecode1
)) {
20925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20927 arg1
= static_cast< wxEventType
>(val1
);
20930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20931 if (!SWIG_IsOK(ecode2
)) {
20932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20934 arg2
= static_cast< int >(val2
);
20937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20938 if (!SWIG_IsOK(ecode3
)) {
20939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20941 arg3
= static_cast< int >(val3
);
20944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20945 if (!SWIG_IsOK(ecode4
)) {
20946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20948 arg4
= static_cast< int >(val4
);
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20963 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20966 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20967 return SWIG_Py_Void();
20970 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 return SWIG_Python_InitShadowInstance(args
);
20974 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
= 0;
20976 wxWindow
*arg1
= (wxWindow
*) 0 ;
20977 int arg2
= (int) -1 ;
20978 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20979 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20980 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20981 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20982 long arg5
= (long) 0 ;
20983 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20984 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20985 wxListbook
*result
= 0 ;
20994 bool temp6
= false ;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 PyObject
* obj2
= 0 ;
20998 PyObject
* obj3
= 0 ;
20999 PyObject
* obj4
= 0 ;
21000 PyObject
* obj5
= 0 ;
21001 char * kwnames
[] = {
21002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21007 if (!SWIG_IsOK(res1
)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21010 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21013 if (!SWIG_IsOK(ecode2
)) {
21014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21016 arg2
= static_cast< int >(val2
);
21021 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21027 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21031 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21032 if (!SWIG_IsOK(ecode5
)) {
21033 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21035 arg5
= static_cast< long >(val5
);
21039 arg6
= wxString_in_helper(obj5
);
21040 if (arg6
== NULL
) SWIG_fail
;
21045 if (!wxPyCheckForApp()) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21066 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21067 PyObject
*resultobj
= 0;
21068 wxListbook
*result
= 0 ;
21070 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21072 if (!wxPyCheckForApp()) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (wxListbook
*)new wxListbook();
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21085 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21086 PyObject
*resultobj
= 0;
21087 wxListbook
*arg1
= (wxListbook
*) 0 ;
21088 wxWindow
*arg2
= (wxWindow
*) 0 ;
21089 int arg3
= (int) -1 ;
21090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21094 long arg6
= (long) 0 ;
21095 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21108 bool temp7
= false ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 PyObject
* obj2
= 0 ;
21112 PyObject
* obj3
= 0 ;
21113 PyObject
* obj4
= 0 ;
21114 PyObject
* obj5
= 0 ;
21115 PyObject
* obj6
= 0 ;
21116 char * kwnames
[] = {
21117 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21122 if (!SWIG_IsOK(res1
)) {
21123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21125 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21127 if (!SWIG_IsOK(res2
)) {
21128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21130 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21133 if (!SWIG_IsOK(ecode3
)) {
21134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21136 arg3
= static_cast< int >(val3
);
21141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21151 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21152 if (!SWIG_IsOK(ecode6
)) {
21153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21155 arg6
= static_cast< long >(val6
);
21159 arg7
= wxString_in_helper(obj6
);
21160 if (arg7
== NULL
) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21187 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21188 PyObject
*resultobj
= 0;
21189 wxListbook
*arg1
= (wxListbook
*) 0 ;
21190 wxListView
*result
= 0 ;
21193 PyObject
*swig_obj
[1] ;
21195 if (!args
) SWIG_fail
;
21196 swig_obj
[0] = args
;
21197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21198 if (!SWIG_IsOK(res1
)) {
21199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21201 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (wxListView
*)(arg1
)->GetListView();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21215 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21218 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21219 return SWIG_Py_Void();
21222 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21223 return SWIG_Python_InitShadowInstance(args
);
21226 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
= 0;
21228 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21229 int arg2
= (int) 0 ;
21230 int arg3
= (int) -1 ;
21231 int arg4
= (int) -1 ;
21232 wxListbookEvent
*result
= 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 PyObject
* obj2
= 0 ;
21244 PyObject
* obj3
= 0 ;
21245 char * kwnames
[] = {
21246 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21251 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21252 if (!SWIG_IsOK(ecode1
)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21255 arg1
= static_cast< wxEventType
>(val1
);
21258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21259 if (!SWIG_IsOK(ecode2
)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21262 arg2
= static_cast< int >(val2
);
21265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21266 if (!SWIG_IsOK(ecode3
)) {
21267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21269 arg3
= static_cast< int >(val3
);
21272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21273 if (!SWIG_IsOK(ecode4
)) {
21274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21276 arg4
= static_cast< int >(val4
);
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21291 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21294 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21295 return SWIG_Py_Void();
21298 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21299 return SWIG_Python_InitShadowInstance(args
);
21302 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
= 0;
21304 wxWindow
*arg1
= (wxWindow
*) 0 ;
21306 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21307 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21308 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21309 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21310 long arg5
= (long) 0 ;
21311 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21312 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21313 wxChoicebook
*result
= 0 ;
21322 bool temp6
= false ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 PyObject
* obj2
= 0 ;
21326 PyObject
* obj3
= 0 ;
21327 PyObject
* obj4
= 0 ;
21328 PyObject
* obj5
= 0 ;
21329 char * kwnames
[] = {
21330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21335 if (!SWIG_IsOK(res1
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21340 if (!SWIG_IsOK(ecode2
)) {
21341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21343 arg2
= static_cast< int >(val2
);
21347 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21353 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21357 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21358 if (!SWIG_IsOK(ecode5
)) {
21359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21361 arg5
= static_cast< long >(val5
);
21365 arg6
= wxString_in_helper(obj5
);
21366 if (arg6
== NULL
) SWIG_fail
;
21371 if (!wxPyCheckForApp()) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21392 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21393 PyObject
*resultobj
= 0;
21394 wxChoicebook
*result
= 0 ;
21396 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21398 if (!wxPyCheckForApp()) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= (wxChoicebook
*)new wxChoicebook();
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21411 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
= 0;
21413 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21414 wxWindow
*arg2
= (wxWindow
*) 0 ;
21416 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21417 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21418 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21419 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21420 long arg6
= (long) 0 ;
21421 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21422 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21434 bool temp7
= false ;
21435 PyObject
* obj0
= 0 ;
21436 PyObject
* obj1
= 0 ;
21437 PyObject
* obj2
= 0 ;
21438 PyObject
* obj3
= 0 ;
21439 PyObject
* obj4
= 0 ;
21440 PyObject
* obj5
= 0 ;
21441 PyObject
* obj6
= 0 ;
21442 char * kwnames
[] = {
21443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21448 if (!SWIG_IsOK(res1
)) {
21449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21451 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21453 if (!SWIG_IsOK(res2
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21456 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21458 if (!SWIG_IsOK(ecode3
)) {
21459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21461 arg3
= static_cast< int >(val3
);
21465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21475 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21476 if (!SWIG_IsOK(ecode6
)) {
21477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21479 arg6
= static_cast< long >(val6
);
21483 arg7
= wxString_in_helper(obj6
);
21484 if (arg7
== NULL
) SWIG_fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21511 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21512 PyObject
*resultobj
= 0;
21513 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21514 wxChoice
*result
= 0 ;
21517 PyObject
*swig_obj
[1] ;
21519 if (!args
) SWIG_fail
;
21520 swig_obj
[0] = args
;
21521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21522 if (!SWIG_IsOK(res1
)) {
21523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21525 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21539 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21542 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21543 return SWIG_Py_Void();
21546 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21547 return SWIG_Python_InitShadowInstance(args
);
21550 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
= 0;
21552 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21553 int arg2
= (int) 0 ;
21554 int arg3
= (int) -1 ;
21555 int arg4
= (int) -1 ;
21556 wxChoicebookEvent
*result
= 0 ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 PyObject
* obj2
= 0 ;
21568 PyObject
* obj3
= 0 ;
21569 char * kwnames
[] = {
21570 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21575 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21576 if (!SWIG_IsOK(ecode1
)) {
21577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21579 arg1
= static_cast< wxEventType
>(val1
);
21582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21583 if (!SWIG_IsOK(ecode2
)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21586 arg2
= static_cast< int >(val2
);
21589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21590 if (!SWIG_IsOK(ecode3
)) {
21591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21593 arg3
= static_cast< int >(val3
);
21596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21597 if (!SWIG_IsOK(ecode4
)) {
21598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21600 arg4
= static_cast< int >(val4
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21615 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21618 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21619 return SWIG_Py_Void();
21622 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21623 return SWIG_Python_InitShadowInstance(args
);
21626 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
= 0;
21628 wxWindow
*arg1
= (wxWindow
*) 0 ;
21630 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21631 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21632 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21633 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21634 long arg5
= (long) wxBK_DEFAULT
;
21635 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21636 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21637 wxTreebook
*result
= 0 ;
21646 bool temp6
= false ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 PyObject
* obj2
= 0 ;
21650 PyObject
* obj3
= 0 ;
21651 PyObject
* obj4
= 0 ;
21652 PyObject
* obj5
= 0 ;
21653 char * kwnames
[] = {
21654 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21659 if (!SWIG_IsOK(res1
)) {
21660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21662 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21664 if (!SWIG_IsOK(ecode2
)) {
21665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21667 arg2
= static_cast< int >(val2
);
21671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21681 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21682 if (!SWIG_IsOK(ecode5
)) {
21683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21685 arg5
= static_cast< long >(val5
);
21689 arg6
= wxString_in_helper(obj5
);
21690 if (arg6
== NULL
) SWIG_fail
;
21695 if (!wxPyCheckForApp()) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21716 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21717 PyObject
*resultobj
= 0;
21718 wxTreebook
*result
= 0 ;
21720 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21722 if (!wxPyCheckForApp()) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (wxTreebook
*)new wxTreebook();
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21735 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
= 0;
21737 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21738 wxWindow
*arg2
= (wxWindow
*) 0 ;
21740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21744 long arg6
= (long) wxBK_DEFAULT
;
21745 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21758 bool temp7
= false ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 PyObject
* obj2
= 0 ;
21762 PyObject
* obj3
= 0 ;
21763 PyObject
* obj4
= 0 ;
21764 PyObject
* obj5
= 0 ;
21765 PyObject
* obj6
= 0 ;
21766 char * kwnames
[] = {
21767 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21772 if (!SWIG_IsOK(res1
)) {
21773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21775 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21777 if (!SWIG_IsOK(res2
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21780 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21782 if (!SWIG_IsOK(ecode3
)) {
21783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21785 arg3
= static_cast< int >(val3
);
21789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21799 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21800 if (!SWIG_IsOK(ecode6
)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21803 arg6
= static_cast< long >(val6
);
21807 arg7
= wxString_in_helper(obj6
);
21808 if (arg7
== NULL
) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21835 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
= 0;
21837 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21839 wxWindow
*arg3
= (wxWindow
*) 0 ;
21840 wxString
*arg4
= 0 ;
21841 bool arg5
= (bool) false ;
21842 int arg6
= (int) wxNOT_FOUND
;
21850 bool temp4
= false ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 PyObject
* obj2
= 0 ;
21858 PyObject
* obj3
= 0 ;
21859 PyObject
* obj4
= 0 ;
21860 PyObject
* obj5
= 0 ;
21861 char * kwnames
[] = {
21862 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21867 if (!SWIG_IsOK(res1
)) {
21868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21870 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21871 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21872 if (!SWIG_IsOK(ecode2
)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21875 arg2
= static_cast< size_t >(val2
);
21876 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21877 if (!SWIG_IsOK(res3
)) {
21878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21880 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21882 arg4
= wxString_in_helper(obj3
);
21883 if (arg4
== NULL
) SWIG_fail
;
21887 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21888 if (!SWIG_IsOK(ecode5
)) {
21889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21891 arg5
= static_cast< bool >(val5
);
21894 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21895 if (!SWIG_IsOK(ecode6
)) {
21896 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21898 arg6
= static_cast< int >(val6
);
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21923 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
= 0;
21925 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21926 wxWindow
*arg2
= (wxWindow
*) 0 ;
21927 wxString
*arg3
= 0 ;
21928 bool arg4
= (bool) false ;
21929 int arg5
= (int) wxNOT_FOUND
;
21935 bool temp3
= false ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 PyObject
* obj2
= 0 ;
21943 PyObject
* obj3
= 0 ;
21944 PyObject
* obj4
= 0 ;
21945 char * kwnames
[] = {
21946 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21951 if (!SWIG_IsOK(res1
)) {
21952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21954 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21956 if (!SWIG_IsOK(res2
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21961 arg3
= wxString_in_helper(obj2
);
21962 if (arg3
== NULL
) SWIG_fail
;
21966 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21967 if (!SWIG_IsOK(ecode4
)) {
21968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21970 arg4
= static_cast< bool >(val4
);
21973 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21974 if (!SWIG_IsOK(ecode5
)) {
21975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21977 arg5
= static_cast< int >(val5
);
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22002 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
= 0;
22004 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 PyObject
* obj1
= 0 ;
22013 char * kwnames
[] = {
22014 (char *) "self",(char *) "pos", NULL
22017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22019 if (!SWIG_IsOK(res1
)) {
22020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22022 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22023 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22024 if (!SWIG_IsOK(ecode2
)) {
22025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22027 arg2
= static_cast< size_t >(val2
);
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22043 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
= 0;
22045 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22047 bool arg3
= (bool) true ;
22055 PyObject
* obj0
= 0 ;
22056 PyObject
* obj1
= 0 ;
22057 PyObject
* obj2
= 0 ;
22058 char * kwnames
[] = {
22059 (char *) "self",(char *) "pos",(char *) "expand", NULL
22062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22064 if (!SWIG_IsOK(res1
)) {
22065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22067 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22068 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22069 if (!SWIG_IsOK(ecode2
)) {
22070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22072 arg2
= static_cast< size_t >(val2
);
22074 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22075 if (!SWIG_IsOK(ecode3
)) {
22076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22078 arg3
= static_cast< bool >(val3
);
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22095 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
= 0;
22097 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 char * kwnames
[] = {
22107 (char *) "self",(char *) "pos", NULL
22110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22112 if (!SWIG_IsOK(res1
)) {
22113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22115 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22116 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22117 if (!SWIG_IsOK(ecode2
)) {
22118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22120 arg2
= static_cast< size_t >(val2
);
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (bool)(arg1
)->CollapseNode(arg2
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22136 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
= 0;
22138 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 char * kwnames
[] = {
22148 (char *) "self",(char *) "pos", NULL
22151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22153 if (!SWIG_IsOK(res1
)) {
22154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22156 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22157 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22158 if (!SWIG_IsOK(ecode2
)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22161 arg2
= static_cast< size_t >(val2
);
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_From_int(static_cast< int >(result
));
22175 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22176 PyObject
*resultobj
= 0;
22177 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22178 wxTreeCtrl
*result
= 0 ;
22181 PyObject
*swig_obj
[1] ;
22183 if (!args
) SWIG_fail
;
22184 swig_obj
[0] = args
;
22185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22186 if (!SWIG_IsOK(res1
)) {
22187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22189 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22203 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22206 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22207 return SWIG_Py_Void();
22210 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22211 return SWIG_Python_InitShadowInstance(args
);
22214 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
= 0;
22216 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22217 int arg2
= (int) 0 ;
22218 int arg3
= (int) wxNOT_FOUND
;
22219 int arg4
= (int) wxNOT_FOUND
;
22220 wxTreebookEvent
*result
= 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 PyObject
* obj2
= 0 ;
22232 PyObject
* obj3
= 0 ;
22233 char * kwnames
[] = {
22234 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22240 if (!SWIG_IsOK(ecode1
)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22243 arg1
= static_cast< wxEventType
>(val1
);
22246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22247 if (!SWIG_IsOK(ecode2
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22250 arg2
= static_cast< int >(val2
);
22253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22254 if (!SWIG_IsOK(ecode3
)) {
22255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22257 arg3
= static_cast< int >(val3
);
22260 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22261 if (!SWIG_IsOK(ecode4
)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22264 arg4
= static_cast< int >(val4
);
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22279 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22282 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22283 return SWIG_Py_Void();
22286 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22287 return SWIG_Python_InitShadowInstance(args
);
22290 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
= 0;
22292 wxWindow
*arg1
= (wxWindow
*) 0 ;
22294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22298 long arg5
= (long) wxBK_DEFAULT
;
22299 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22300 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22301 wxToolbook
*result
= 0 ;
22310 bool temp6
= false ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 PyObject
* obj2
= 0 ;
22314 PyObject
* obj3
= 0 ;
22315 PyObject
* obj4
= 0 ;
22316 PyObject
* obj5
= 0 ;
22317 char * kwnames
[] = {
22318 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22323 if (!SWIG_IsOK(res1
)) {
22324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22328 if (!SWIG_IsOK(ecode2
)) {
22329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22331 arg2
= static_cast< int >(val2
);
22335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22341 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22345 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22346 if (!SWIG_IsOK(ecode5
)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22349 arg5
= static_cast< long >(val5
);
22353 arg6
= wxString_in_helper(obj5
);
22354 if (arg6
== NULL
) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22379 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22380 PyObject
*resultobj
= 0;
22381 wxToolbook
*result
= 0 ;
22383 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (wxToolbook
*)new wxToolbook();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22397 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
= 0;
22399 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22400 wxWindow
*arg2
= (wxWindow
*) 0 ;
22402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22406 long arg6
= (long) 0 ;
22407 wxString
const &arg7_defvalue
= wxEmptyString
;
22408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22420 bool temp7
= false ;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 PyObject
* obj2
= 0 ;
22424 PyObject
* obj3
= 0 ;
22425 PyObject
* obj4
= 0 ;
22426 PyObject
* obj5
= 0 ;
22427 PyObject
* obj6
= 0 ;
22428 char * kwnames
[] = {
22429 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22434 if (!SWIG_IsOK(res1
)) {
22435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22437 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22439 if (!SWIG_IsOK(res2
)) {
22440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22442 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22444 if (!SWIG_IsOK(ecode3
)) {
22445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22447 arg3
= static_cast< int >(val3
);
22451 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22457 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22461 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22462 if (!SWIG_IsOK(ecode6
)) {
22463 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22465 arg6
= static_cast< long >(val6
);
22469 arg7
= wxString_in_helper(obj6
);
22470 if (arg7
== NULL
) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22497 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22498 PyObject
*resultobj
= 0;
22499 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22500 wxToolBarBase
*result
= 0 ;
22503 PyObject
*swig_obj
[1] ;
22505 if (!args
) SWIG_fail
;
22506 swig_obj
[0] = args
;
22507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22511 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22519 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22527 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 PyObject
*resultobj
= 0;
22529 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22532 PyObject
*swig_obj
[1] ;
22534 if (!args
) SWIG_fail
;
22535 swig_obj
[0] = args
;
22536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22537 if (!SWIG_IsOK(res1
)) {
22538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22540 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_Py_Void();
22554 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22557 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22558 return SWIG_Py_Void();
22561 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22562 return SWIG_Python_InitShadowInstance(args
);
22565 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
= 0;
22567 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22568 int arg2
= (int) 0 ;
22569 int arg3
= (int) wxNOT_FOUND
;
22570 int arg4
= (int) wxNOT_FOUND
;
22571 wxToolbookEvent
*result
= 0 ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 PyObject
* obj2
= 0 ;
22583 PyObject
* obj3
= 0 ;
22584 char * kwnames
[] = {
22585 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22591 if (!SWIG_IsOK(ecode1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22594 arg1
= static_cast< wxEventType
>(val1
);
22597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22598 if (!SWIG_IsOK(ecode2
)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22601 arg2
= static_cast< int >(val2
);
22604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22605 if (!SWIG_IsOK(ecode3
)) {
22606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22608 arg3
= static_cast< int >(val3
);
22611 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22612 if (!SWIG_IsOK(ecode4
)) {
22613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22615 arg4
= static_cast< int >(val4
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22630 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22633 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22634 return SWIG_Py_Void();
22637 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22638 return SWIG_Python_InitShadowInstance(args
);
22641 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22642 PyObject
*resultobj
= 0;
22643 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22647 PyObject
*swig_obj
[1] ;
22649 if (!args
) SWIG_fail
;
22650 swig_obj
[0] = args
;
22651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22652 if (!SWIG_IsOK(res1
)) {
22653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22655 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (int)(arg1
)->GetId();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_From_int(static_cast< int >(result
));
22669 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22670 PyObject
*resultobj
= 0;
22671 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22672 wxControl
*result
= 0 ;
22675 PyObject
*swig_obj
[1] ;
22677 if (!args
) SWIG_fail
;
22678 swig_obj
[0] = args
;
22679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22680 if (!SWIG_IsOK(res1
)) {
22681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22683 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (wxControl
*)(arg1
)->GetControl();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= wxPyMake_wxObject(result
, 0);
22699 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22700 PyObject
*resultobj
= 0;
22701 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22702 wxToolBarBase
*result
= 0 ;
22705 PyObject
*swig_obj
[1] ;
22707 if (!args
) SWIG_fail
;
22708 swig_obj
[0] = args
;
22709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22710 if (!SWIG_IsOK(res1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22713 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22729 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22730 PyObject
*resultobj
= 0;
22731 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22735 PyObject
*swig_obj
[1] ;
22737 if (!args
) SWIG_fail
;
22738 swig_obj
[0] = args
;
22739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22743 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (int)(arg1
)->IsButton();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_From_int(static_cast< int >(result
));
22757 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22758 PyObject
*resultobj
= 0;
22759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22763 PyObject
*swig_obj
[1] ;
22765 if (!args
) SWIG_fail
;
22766 swig_obj
[0] = args
;
22767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22771 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (int)(arg1
)->IsControl();
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 resultobj
= SWIG_From_int(static_cast< int >(result
));
22785 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22786 PyObject
*resultobj
= 0;
22787 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22791 PyObject
*swig_obj
[1] ;
22793 if (!args
) SWIG_fail
;
22794 swig_obj
[0] = args
;
22795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22796 if (!SWIG_IsOK(res1
)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22799 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= (int)(arg1
)->IsSeparator();
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= SWIG_From_int(static_cast< int >(result
));
22813 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22814 PyObject
*resultobj
= 0;
22815 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22819 PyObject
*swig_obj
[1] ;
22821 if (!args
) SWIG_fail
;
22822 swig_obj
[0] = args
;
22823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22824 if (!SWIG_IsOK(res1
)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22827 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (int)(arg1
)->GetStyle();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 resultobj
= SWIG_From_int(static_cast< int >(result
));
22841 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22842 PyObject
*resultobj
= 0;
22843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22847 PyObject
*swig_obj
[1] ;
22849 if (!args
) SWIG_fail
;
22850 swig_obj
[0] = args
;
22851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22852 if (!SWIG_IsOK(res1
)) {
22853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22855 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (wxItemKind
)(arg1
)->GetKind();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_From_int(static_cast< int >(result
));
22869 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22870 PyObject
*resultobj
= 0;
22871 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22875 PyObject
*swig_obj
[1] ;
22877 if (!args
) SWIG_fail
;
22878 swig_obj
[0] = args
;
22879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22880 if (!SWIG_IsOK(res1
)) {
22881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22883 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= (bool)(arg1
)->IsEnabled();
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22899 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22900 PyObject
*resultobj
= 0;
22901 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22905 PyObject
*swig_obj
[1] ;
22907 if (!args
) SWIG_fail
;
22908 swig_obj
[0] = args
;
22909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22910 if (!SWIG_IsOK(res1
)) {
22911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22913 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 result
= (bool)(arg1
)->IsToggled();
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22929 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22930 PyObject
*resultobj
= 0;
22931 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22935 PyObject
*swig_obj
[1] ;
22937 if (!args
) SWIG_fail
;
22938 swig_obj
[0] = args
;
22939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22940 if (!SWIG_IsOK(res1
)) {
22941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22943 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= (bool)(arg1
)->CanBeToggled();
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22959 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22960 PyObject
*resultobj
= 0;
22961 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22962 wxBitmap
*result
= 0 ;
22965 PyObject
*swig_obj
[1] ;
22967 if (!args
) SWIG_fail
;
22968 swig_obj
[0] = args
;
22969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22973 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22978 result
= (wxBitmap
*) &_result_ref
;
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22984 wxBitmap
* resultptr
= new wxBitmap(*result
);
22985 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22993 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22994 PyObject
*resultobj
= 0;
22995 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22996 wxBitmap
*result
= 0 ;
22999 PyObject
*swig_obj
[1] ;
23001 if (!args
) SWIG_fail
;
23002 swig_obj
[0] = args
;
23003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23007 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23012 result
= (wxBitmap
*) &_result_ref
;
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23018 wxBitmap
* resultptr
= new wxBitmap(*result
);
23019 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23027 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23028 PyObject
*resultobj
= 0;
23029 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23033 PyObject
*swig_obj
[1] ;
23035 if (!args
) SWIG_fail
;
23036 swig_obj
[0] = args
;
23037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23038 if (!SWIG_IsOK(res1
)) {
23039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23041 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (arg1
)->GetBitmap();
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23055 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(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_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23069 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (arg1
)->GetLabel();
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23089 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23090 PyObject
*resultobj
= 0;
23091 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23095 PyObject
*swig_obj
[1] ;
23097 if (!args
) SWIG_fail
;
23098 swig_obj
[0] = args
;
23099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23100 if (!SWIG_IsOK(res1
)) {
23101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23103 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (arg1
)->GetShortHelp();
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23123 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23124 PyObject
*resultobj
= 0;
23125 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23129 PyObject
*swig_obj
[1] ;
23131 if (!args
) SWIG_fail
;
23132 swig_obj
[0] = args
;
23133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23137 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 result
= (arg1
)->GetLongHelp();
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23157 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
= 0;
23159 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23166 PyObject
* obj0
= 0 ;
23167 PyObject
* obj1
= 0 ;
23168 char * kwnames
[] = {
23169 (char *) "self",(char *) "enable", NULL
23172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23174 if (!SWIG_IsOK(res1
)) {
23175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23177 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23178 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23179 if (!SWIG_IsOK(ecode2
)) {
23180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23182 arg2
= static_cast< bool >(val2
);
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (bool)(arg1
)->Enable(arg2
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23198 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23199 PyObject
*resultobj
= 0;
23200 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23203 PyObject
*swig_obj
[1] ;
23205 if (!args
) SWIG_fail
;
23206 swig_obj
[0] = args
;
23207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23211 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_Py_Void();
23225 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
= 0;
23227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char * kwnames
[] = {
23237 (char *) "self",(char *) "toggle", NULL
23240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23242 if (!SWIG_IsOK(res1
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23245 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23246 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23247 if (!SWIG_IsOK(ecode2
)) {
23248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23250 arg2
= static_cast< bool >(val2
);
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)(arg1
)->SetToggle(arg2
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23266 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
= 0;
23268 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23269 wxString
*arg2
= 0 ;
23273 bool temp2
= false ;
23274 PyObject
* obj0
= 0 ;
23275 PyObject
* obj1
= 0 ;
23276 char * kwnames
[] = {
23277 (char *) "self",(char *) "help", NULL
23280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23282 if (!SWIG_IsOK(res1
)) {
23283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23285 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23287 arg2
= wxString_in_helper(obj1
);
23288 if (arg2
== NULL
) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23314 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
= 0;
23316 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23317 wxString
*arg2
= 0 ;
23321 bool temp2
= false ;
23322 PyObject
* obj0
= 0 ;
23323 PyObject
* obj1
= 0 ;
23324 char * kwnames
[] = {
23325 (char *) "self",(char *) "help", NULL
23328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23330 if (!SWIG_IsOK(res1
)) {
23331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23333 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23335 arg2
= wxString_in_helper(obj1
);
23336 if (arg2
== NULL
) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23362 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
= 0;
23364 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23365 wxBitmap
*arg2
= 0 ;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 char * kwnames
[] = {
23373 (char *) "self",(char *) "bmp", NULL
23376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23378 if (!SWIG_IsOK(res1
)) {
23379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23381 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23383 if (!SWIG_IsOK(res2
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23389 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_Py_Void();
23403 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
= 0;
23405 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23406 wxBitmap
*arg2
= 0 ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 char * kwnames
[] = {
23414 (char *) "self",(char *) "bmp", NULL
23417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23419 if (!SWIG_IsOK(res1
)) {
23420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23422 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23424 if (!SWIG_IsOK(res2
)) {
23425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23430 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= SWIG_Py_Void();
23444 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
= 0;
23446 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23447 wxString
*arg2
= 0 ;
23450 bool temp2
= false ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char * kwnames
[] = {
23454 (char *) "self",(char *) "label", NULL
23457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23459 if (!SWIG_IsOK(res1
)) {
23460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23462 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23464 arg2
= wxString_in_helper(obj1
);
23465 if (arg2
== NULL
) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 (arg1
)->SetLabel((wxString
const &)*arg2
);
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_Py_Void();
23489 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23490 PyObject
*resultobj
= 0;
23491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23494 PyObject
*swig_obj
[1] ;
23496 if (!args
) SWIG_fail
;
23497 swig_obj
[0] = args
;
23498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23499 if (!SWIG_IsOK(res1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23502 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= SWIG_Py_Void();
23516 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
= 0;
23518 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23519 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 char * kwnames
[] = {
23527 (char *) "self",(char *) "tbar", NULL
23530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23532 if (!SWIG_IsOK(res1
)) {
23533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23535 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23537 if (!SWIG_IsOK(res2
)) {
23538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23540 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 (arg1
)->Attach(arg2
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= SWIG_Py_Void();
23554 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23555 PyObject
*resultobj
= 0;
23556 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23557 PyObject
*result
= 0 ;
23560 PyObject
*swig_obj
[1] ;
23562 if (!args
) SWIG_fail
;
23563 swig_obj
[0] = args
;
23564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23565 if (!SWIG_IsOK(res1
)) {
23566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23568 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= result
;
23582 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
= 0;
23584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23585 PyObject
*arg2
= (PyObject
*) 0 ;
23588 PyObject
* obj0
= 0 ;
23589 PyObject
* obj1
= 0 ;
23590 char * kwnames
[] = {
23591 (char *) "self",(char *) "clientData", NULL
23594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23596 if (!SWIG_IsOK(res1
)) {
23597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23599 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= SWIG_Py_Void();
23614 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23617 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23618 return SWIG_Py_Void();
23621 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
= 0;
23623 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23625 wxString
*arg3
= 0 ;
23626 wxBitmap
*arg4
= 0 ;
23627 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23628 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23629 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23630 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23631 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23632 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23633 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23634 PyObject
*arg9
= (PyObject
*) NULL
;
23635 wxToolBarToolBase
*result
= 0 ;
23640 bool temp3
= false ;
23647 bool temp7
= false ;
23648 bool temp8
= false ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 PyObject
* obj2
= 0 ;
23652 PyObject
* obj3
= 0 ;
23653 PyObject
* obj4
= 0 ;
23654 PyObject
* obj5
= 0 ;
23655 PyObject
* obj6
= 0 ;
23656 PyObject
* obj7
= 0 ;
23657 PyObject
* obj8
= 0 ;
23658 char * kwnames
[] = {
23659 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23664 if (!SWIG_IsOK(res1
)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23667 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23669 if (!SWIG_IsOK(ecode2
)) {
23670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23672 arg2
= static_cast< int >(val2
);
23674 arg3
= wxString_in_helper(obj2
);
23675 if (arg3
== NULL
) SWIG_fail
;
23678 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23679 if (!SWIG_IsOK(res4
)) {
23680 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23685 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23687 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23688 if (!SWIG_IsOK(res5
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23694 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23697 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23698 if (!SWIG_IsOK(ecode6
)) {
23699 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23701 arg6
= static_cast< wxItemKind
>(val6
);
23705 arg7
= wxString_in_helper(obj6
);
23706 if (arg7
== NULL
) SWIG_fail
;
23712 arg8
= wxString_in_helper(obj7
);
23713 if (arg8
== NULL
) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23759 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
= 0;
23761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23764 wxString
*arg4
= 0 ;
23765 wxBitmap
*arg5
= 0 ;
23766 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23767 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23768 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23769 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23770 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23771 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23772 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23773 PyObject
*arg10
= (PyObject
*) NULL
;
23774 wxToolBarToolBase
*result
= 0 ;
23781 bool temp4
= false ;
23788 bool temp8
= false ;
23789 bool temp9
= false ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 PyObject
* obj2
= 0 ;
23793 PyObject
* obj3
= 0 ;
23794 PyObject
* obj4
= 0 ;
23795 PyObject
* obj5
= 0 ;
23796 PyObject
* obj6
= 0 ;
23797 PyObject
* obj7
= 0 ;
23798 PyObject
* obj8
= 0 ;
23799 PyObject
* obj9
= 0 ;
23800 char * kwnames
[] = {
23801 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23806 if (!SWIG_IsOK(res1
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23809 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23810 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23811 if (!SWIG_IsOK(ecode2
)) {
23812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23814 arg2
= static_cast< size_t >(val2
);
23815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23816 if (!SWIG_IsOK(ecode3
)) {
23817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23819 arg3
= static_cast< int >(val3
);
23821 arg4
= wxString_in_helper(obj3
);
23822 if (arg4
== NULL
) SWIG_fail
;
23825 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23826 if (!SWIG_IsOK(res5
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23832 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23834 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23835 if (!SWIG_IsOK(res6
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23841 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23844 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23845 if (!SWIG_IsOK(ecode7
)) {
23846 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23848 arg7
= static_cast< wxItemKind
>(val7
);
23852 arg8
= wxString_in_helper(obj7
);
23853 if (arg8
== NULL
) SWIG_fail
;
23859 arg9
= wxString_in_helper(obj8
);
23860 if (arg9
== NULL
) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23906 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= 0;
23908 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23909 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23910 wxToolBarToolBase
*result
= 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 char * kwnames
[] = {
23918 (char *) "self",(char *) "tool", NULL
23921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23923 if (!SWIG_IsOK(res1
)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23926 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23928 if (!SWIG_IsOK(res2
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23931 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23947 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
= 0;
23949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23951 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23952 wxToolBarToolBase
*result
= 0 ;
23959 PyObject
* obj0
= 0 ;
23960 PyObject
* obj1
= 0 ;
23961 PyObject
* obj2
= 0 ;
23962 char * kwnames
[] = {
23963 (char *) "self",(char *) "pos",(char *) "tool", NULL
23966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23968 if (!SWIG_IsOK(res1
)) {
23969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23971 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23972 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23973 if (!SWIG_IsOK(ecode2
)) {
23974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23976 arg2
= static_cast< size_t >(val2
);
23977 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23978 if (!SWIG_IsOK(res3
)) {
23979 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23981 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23997 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
= 0;
23999 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24000 wxControl
*arg2
= (wxControl
*) 0 ;
24001 wxToolBarToolBase
*result
= 0 ;
24006 PyObject
* obj0
= 0 ;
24007 PyObject
* obj1
= 0 ;
24008 char * kwnames
[] = {
24009 (char *) "self",(char *) "control", NULL
24012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24014 if (!SWIG_IsOK(res1
)) {
24015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24017 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24019 if (!SWIG_IsOK(res2
)) {
24020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24022 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24038 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
= 0;
24040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24042 wxControl
*arg3
= (wxControl
*) 0 ;
24043 wxToolBarToolBase
*result
= 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 PyObject
* obj2
= 0 ;
24053 char * kwnames
[] = {
24054 (char *) "self",(char *) "pos",(char *) "control", NULL
24057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24059 if (!SWIG_IsOK(res1
)) {
24060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24062 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24063 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24064 if (!SWIG_IsOK(ecode2
)) {
24065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24067 arg2
= static_cast< size_t >(val2
);
24068 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24069 if (!SWIG_IsOK(res3
)) {
24070 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24072 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24088 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
= 0;
24090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24092 wxControl
*result
= 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char * kwnames
[] = {
24100 (char *) "self",(char *) "id", NULL
24103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24105 if (!SWIG_IsOK(res1
)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24108 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24110 if (!SWIG_IsOK(ecode2
)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24113 arg2
= static_cast< int >(val2
);
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= wxPyMake_wxObject(result
, 0);
24129 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 PyObject
*resultobj
= 0;
24131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24132 wxToolBarToolBase
*result
= 0 ;
24135 PyObject
*swig_obj
[1] ;
24137 if (!args
) SWIG_fail
;
24138 swig_obj
[0] = args
;
24139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24143 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24159 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
= 0;
24161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24163 wxToolBarToolBase
*result
= 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 char * kwnames
[] = {
24171 (char *) "self",(char *) "pos", NULL
24174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24179 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24180 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24181 if (!SWIG_IsOK(ecode2
)) {
24182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24184 arg2
= static_cast< size_t >(val2
);
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24200 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
= 0;
24202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24204 wxToolBarToolBase
*result
= 0 ;
24209 PyObject
* obj0
= 0 ;
24210 PyObject
* obj1
= 0 ;
24211 char * kwnames
[] = {
24212 (char *) "self",(char *) "id", NULL
24215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24220 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24222 if (!SWIG_IsOK(ecode2
)) {
24223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24225 arg2
= static_cast< int >(val2
);
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24241 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
= 0;
24243 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char * kwnames
[] = {
24253 (char *) "self",(char *) "pos", NULL
24256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24258 if (!SWIG_IsOK(res1
)) {
24259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24261 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24262 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24263 if (!SWIG_IsOK(ecode2
)) {
24264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24266 arg2
= static_cast< size_t >(val2
);
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24282 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
= 0;
24284 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 char * kwnames
[] = {
24294 (char *) "self",(char *) "id", NULL
24297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24299 if (!SWIG_IsOK(res1
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24302 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24304 if (!SWIG_IsOK(ecode2
)) {
24305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24307 arg2
= static_cast< int >(val2
);
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (bool)(arg1
)->DeleteTool(arg2
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24323 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24324 PyObject
*resultobj
= 0;
24325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24328 PyObject
*swig_obj
[1] ;
24330 if (!args
) SWIG_fail
;
24331 swig_obj
[0] = args
;
24332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24333 if (!SWIG_IsOK(res1
)) {
24334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24336 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->ClearTools();
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_Py_Void();
24350 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24351 PyObject
*resultobj
= 0;
24352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24356 PyObject
*swig_obj
[1] ;
24358 if (!args
) SWIG_fail
;
24359 swig_obj
[0] = args
;
24360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24361 if (!SWIG_IsOK(res1
)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24364 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (bool)(arg1
)->Realize();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24380 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= 0;
24382 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 PyObject
* obj2
= 0 ;
24394 char * kwnames
[] = {
24395 (char *) "self",(char *) "id",(char *) "enable", NULL
24398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24400 if (!SWIG_IsOK(res1
)) {
24401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24403 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24405 if (!SWIG_IsOK(ecode2
)) {
24406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24408 arg2
= static_cast< int >(val2
);
24409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24410 if (!SWIG_IsOK(ecode3
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24413 arg3
= static_cast< bool >(val3
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 (arg1
)->EnableTool(arg2
,arg3
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_Py_Void();
24427 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
= 0;
24429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 PyObject
* obj2
= 0 ;
24441 char * kwnames
[] = {
24442 (char *) "self",(char *) "id",(char *) "toggle", NULL
24445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24450 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24452 if (!SWIG_IsOK(ecode2
)) {
24453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24455 arg2
= static_cast< int >(val2
);
24456 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24457 if (!SWIG_IsOK(ecode3
)) {
24458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24460 arg3
= static_cast< bool >(val3
);
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 (arg1
)->ToggleTool(arg2
,arg3
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_Py_Void();
24474 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
= 0;
24476 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 PyObject
* obj2
= 0 ;
24488 char * kwnames
[] = {
24489 (char *) "self",(char *) "id",(char *) "toggle", NULL
24492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24497 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24499 if (!SWIG_IsOK(ecode2
)) {
24500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24502 arg2
= static_cast< int >(val2
);
24503 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24504 if (!SWIG_IsOK(ecode3
)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24507 arg3
= static_cast< bool >(val3
);
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 (arg1
)->SetToggle(arg2
,arg3
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 resultobj
= SWIG_Py_Void();
24521 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= 0;
24523 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24525 PyObject
*result
= 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char * kwnames
[] = {
24533 (char *) "self",(char *) "id", NULL
24536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24538 if (!SWIG_IsOK(res1
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24541 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24543 if (!SWIG_IsOK(ecode2
)) {
24544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24546 arg2
= static_cast< int >(val2
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= result
;
24560 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
= 0;
24562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24564 PyObject
*arg3
= (PyObject
*) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 PyObject
* obj2
= 0 ;
24572 char * kwnames
[] = {
24573 (char *) "self",(char *) "id",(char *) "clientData", NULL
24576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24581 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24583 if (!SWIG_IsOK(ecode2
)) {
24584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24586 arg2
= static_cast< int >(val2
);
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_Py_Void();
24601 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
= 0;
24603 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char * kwnames
[] = {
24613 (char *) "self",(char *) "id", NULL
24616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24621 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24623 if (!SWIG_IsOK(ecode2
)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24626 arg2
= static_cast< int >(val2
);
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_From_int(static_cast< int >(result
));
24640 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
= 0;
24642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "self",(char *) "id", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24660 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24662 if (!SWIG_IsOK(ecode2
)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24665 arg2
= static_cast< int >(val2
);
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (bool)(arg1
)->GetToolState(arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24681 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
= 0;
24683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char * kwnames
[] = {
24693 (char *) "self",(char *) "id", NULL
24696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24698 if (!SWIG_IsOK(res1
)) {
24699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24701 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24703 if (!SWIG_IsOK(ecode2
)) {
24704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24706 arg2
= static_cast< int >(val2
);
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24722 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
= 0;
24724 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24726 wxString
*arg3
= 0 ;
24731 bool temp3
= false ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 PyObject
* obj2
= 0 ;
24735 char * kwnames
[] = {
24736 (char *) "self",(char *) "id",(char *) "helpString", NULL
24739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24741 if (!SWIG_IsOK(res1
)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24744 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24746 if (!SWIG_IsOK(ecode2
)) {
24747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24749 arg2
= static_cast< int >(val2
);
24751 arg3
= wxString_in_helper(obj2
);
24752 if (arg3
== NULL
) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= SWIG_Py_Void();
24776 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
= 0;
24778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 char * kwnames
[] = {
24788 (char *) "self",(char *) "id", NULL
24791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24793 if (!SWIG_IsOK(res1
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24796 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24798 if (!SWIG_IsOK(ecode2
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24801 arg2
= static_cast< int >(val2
);
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (arg1
)->GetToolShortHelp(arg2
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24821 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
= 0;
24823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24825 wxString
*arg3
= 0 ;
24830 bool temp3
= false ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 PyObject
* obj2
= 0 ;
24834 char * kwnames
[] = {
24835 (char *) "self",(char *) "id",(char *) "helpString", NULL
24838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24843 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24845 if (!SWIG_IsOK(ecode2
)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24848 arg2
= static_cast< int >(val2
);
24850 arg3
= wxString_in_helper(obj2
);
24851 if (arg3
== NULL
) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= SWIG_Py_Void();
24875 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
= 0;
24877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24884 PyObject
* obj0
= 0 ;
24885 PyObject
* obj1
= 0 ;
24886 char * kwnames
[] = {
24887 (char *) "self",(char *) "id", NULL
24890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24892 if (!SWIG_IsOK(res1
)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24895 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24897 if (!SWIG_IsOK(ecode2
)) {
24898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24900 arg2
= static_cast< int >(val2
);
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 result
= (arg1
)->GetToolLongHelp(arg2
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24920 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
= 0;
24922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 PyObject
* obj2
= 0 ;
24934 char * kwnames
[] = {
24935 (char *) "self",(char *) "x",(char *) "y", NULL
24938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24940 if (!SWIG_IsOK(res1
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24943 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24945 if (!SWIG_IsOK(ecode2
)) {
24946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24948 arg2
= static_cast< int >(val2
);
24949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24950 if (!SWIG_IsOK(ecode3
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24953 arg3
= static_cast< int >(val3
);
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 (arg1
)->SetMargins(arg2
,arg3
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= SWIG_Py_Void();
24967 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
= 0;
24969 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 char * kwnames
[] = {
24977 (char *) "self",(char *) "size", NULL
24980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24985 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24988 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_Py_Void();
25003 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
= 0;
25005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 char * kwnames
[] = {
25014 (char *) "self",(char *) "packing", NULL
25017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25022 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25024 if (!SWIG_IsOK(ecode2
)) {
25025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25027 arg2
= static_cast< int >(val2
);
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 (arg1
)->SetToolPacking(arg2
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= SWIG_Py_Void();
25041 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
= 0;
25043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 char * kwnames
[] = {
25052 (char *) "self",(char *) "separation", NULL
25055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25057 if (!SWIG_IsOK(res1
)) {
25058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25060 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25062 if (!SWIG_IsOK(ecode2
)) {
25063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25065 arg2
= static_cast< int >(val2
);
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 (arg1
)->SetToolSeparation(arg2
);
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25072 resultobj
= SWIG_Py_Void();
25079 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25080 PyObject
*resultobj
= 0;
25081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25085 PyObject
*swig_obj
[1] ;
25087 if (!args
) SWIG_fail
;
25088 swig_obj
[0] = args
;
25089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25090 if (!SWIG_IsOK(res1
)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25093 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 result
= (arg1
)->GetToolMargins();
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25107 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25108 PyObject
*resultobj
= 0;
25109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25113 PyObject
*swig_obj
[1] ;
25115 if (!args
) SWIG_fail
;
25116 swig_obj
[0] = args
;
25117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25118 if (!SWIG_IsOK(res1
)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25121 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 result
= (arg1
)->GetMargins();
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25135 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25136 PyObject
*resultobj
= 0;
25137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25141 PyObject
*swig_obj
[1] ;
25143 if (!args
) SWIG_fail
;
25144 swig_obj
[0] = args
;
25145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25146 if (!SWIG_IsOK(res1
)) {
25147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25149 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (int)(arg1
)->GetToolPacking();
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= SWIG_From_int(static_cast< int >(result
));
25163 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25164 PyObject
*resultobj
= 0;
25165 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25169 PyObject
*swig_obj
[1] ;
25171 if (!args
) SWIG_fail
;
25172 swig_obj
[0] = args
;
25173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25174 if (!SWIG_IsOK(res1
)) {
25175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25177 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (int)(arg1
)->GetToolSeparation();
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= SWIG_From_int(static_cast< int >(result
));
25191 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
= 0;
25193 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 char * kwnames
[] = {
25202 (char *) "self",(char *) "nRows", NULL
25205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25210 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25212 if (!SWIG_IsOK(ecode2
)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25215 arg2
= static_cast< int >(val2
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->SetRows(arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_Py_Void();
25229 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 PyObject
* obj2
= 0 ;
25243 char * kwnames
[] = {
25244 (char *) "self",(char *) "rows",(char *) "cols", NULL
25247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25249 if (!SWIG_IsOK(res1
)) {
25250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25252 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25254 if (!SWIG_IsOK(ecode2
)) {
25255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25257 arg2
= static_cast< int >(val2
);
25258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25259 if (!SWIG_IsOK(ecode3
)) {
25260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25262 arg3
= static_cast< int >(val3
);
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_Py_Void();
25276 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25277 PyObject
*resultobj
= 0;
25278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25282 PyObject
*swig_obj
[1] ;
25284 if (!args
) SWIG_fail
;
25285 swig_obj
[0] = args
;
25286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25290 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (int)(arg1
)->GetMaxRows();
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_From_int(static_cast< int >(result
));
25304 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25305 PyObject
*resultobj
= 0;
25306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25310 PyObject
*swig_obj
[1] ;
25312 if (!args
) SWIG_fail
;
25313 swig_obj
[0] = args
;
25314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25315 if (!SWIG_IsOK(res1
)) {
25316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25318 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 result
= (int)(arg1
)->GetMaxCols();
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= SWIG_From_int(static_cast< int >(result
));
25332 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
= 0;
25334 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 char * kwnames
[] = {
25342 (char *) "self",(char *) "size", NULL
25345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25347 if (!SWIG_IsOK(res1
)) {
25348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25350 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25353 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= SWIG_Py_Void();
25368 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25369 PyObject
*resultobj
= 0;
25370 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25374 PyObject
*swig_obj
[1] ;
25376 if (!args
) SWIG_fail
;
25377 swig_obj
[0] = args
;
25378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25379 if (!SWIG_IsOK(res1
)) {
25380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25382 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= (arg1
)->GetToolBitmapSize();
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25396 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25397 PyObject
*resultobj
= 0;
25398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25402 PyObject
*swig_obj
[1] ;
25404 if (!args
) SWIG_fail
;
25405 swig_obj
[0] = args
;
25406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25407 if (!SWIG_IsOK(res1
)) {
25408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25410 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= (arg1
)->GetToolSize();
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25424 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
= 0;
25426 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25429 wxToolBarToolBase
*result
= 0 ;
25436 PyObject
* obj0
= 0 ;
25437 PyObject
* obj1
= 0 ;
25438 PyObject
* obj2
= 0 ;
25439 char * kwnames
[] = {
25440 (char *) "self",(char *) "x",(char *) "y", NULL
25443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25448 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25450 if (!SWIG_IsOK(ecode2
)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25453 arg2
= static_cast< int >(val2
);
25454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25455 if (!SWIG_IsOK(ecode3
)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25458 arg3
= static_cast< int >(val3
);
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25474 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
= 0;
25476 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25478 wxToolBarToolBase
*result
= 0 ;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "self",(char *) "toolid", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25494 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25496 if (!SWIG_IsOK(ecode2
)) {
25497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25499 arg2
= static_cast< int >(val2
);
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25515 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 PyObject
*resultobj
= 0;
25517 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25521 PyObject
*swig_obj
[1] ;
25523 if (!args
) SWIG_fail
;
25524 swig_obj
[0] = args
;
25525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25526 if (!SWIG_IsOK(res1
)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25529 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 result
= (bool)(arg1
)->IsVertical();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25545 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25546 PyObject
*resultobj
= 0;
25547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25551 PyObject
*swig_obj
[1] ;
25553 if (!args
) SWIG_fail
;
25554 swig_obj
[0] = args
;
25555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25556 if (!SWIG_IsOK(res1
)) {
25557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25559 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25573 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25576 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25577 return SWIG_Py_Void();
25580 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
= 0;
25582 wxWindow
*arg1
= (wxWindow
*) 0 ;
25583 int arg2
= (int) -1 ;
25584 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25585 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25586 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25587 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25588 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25589 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25590 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25591 wxToolBar
*result
= 0 ;
25600 bool temp6
= false ;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 PyObject
* obj2
= 0 ;
25604 PyObject
* obj3
= 0 ;
25605 PyObject
* obj4
= 0 ;
25606 PyObject
* obj5
= 0 ;
25607 char * kwnames
[] = {
25608 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25613 if (!SWIG_IsOK(res1
)) {
25614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25616 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25619 if (!SWIG_IsOK(ecode2
)) {
25620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25622 arg2
= static_cast< int >(val2
);
25627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25637 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25638 if (!SWIG_IsOK(ecode5
)) {
25639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25641 arg5
= static_cast< long >(val5
);
25645 arg6
= wxString_in_helper(obj5
);
25646 if (arg6
== NULL
) SWIG_fail
;
25651 if (!wxPyCheckForApp()) SWIG_fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25672 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25673 PyObject
*resultobj
= 0;
25674 wxToolBar
*result
= 0 ;
25676 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25678 if (!wxPyCheckForApp()) SWIG_fail
;
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 result
= (wxToolBar
*)new wxToolBar();
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25691 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
= 0;
25693 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25694 wxWindow
*arg2
= (wxWindow
*) 0 ;
25695 int arg3
= (int) -1 ;
25696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25700 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25701 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25714 bool temp7
= false ;
25715 PyObject
* obj0
= 0 ;
25716 PyObject
* obj1
= 0 ;
25717 PyObject
* obj2
= 0 ;
25718 PyObject
* obj3
= 0 ;
25719 PyObject
* obj4
= 0 ;
25720 PyObject
* obj5
= 0 ;
25721 PyObject
* obj6
= 0 ;
25722 char * kwnames
[] = {
25723 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25728 if (!SWIG_IsOK(res1
)) {
25729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25731 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25733 if (!SWIG_IsOK(res2
)) {
25734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25736 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25739 if (!SWIG_IsOK(ecode3
)) {
25740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25742 arg3
= static_cast< int >(val3
);
25747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25757 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25758 if (!SWIG_IsOK(ecode6
)) {
25759 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25761 arg6
= static_cast< long >(val6
);
25765 arg7
= wxString_in_helper(obj6
);
25766 if (arg7
== NULL
) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25793 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
= 0;
25795 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25796 SwigValueWrapper
<wxVisualAttributes
> result
;
25799 PyObject
* obj0
= 0 ;
25800 char * kwnames
[] = {
25801 (char *) "variant", NULL
25804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25807 if (!SWIG_IsOK(ecode1
)) {
25808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25810 arg1
= static_cast< wxWindowVariant
>(val1
);
25813 if (!wxPyCheckForApp()) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25826 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25829 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25830 return SWIG_Py_Void();
25833 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25834 return SWIG_Python_InitShadowInstance(args
);
25837 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25838 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25843 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25844 PyObject
*pyobj
= 0;
25848 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25850 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25857 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
= 0;
25859 wxColour
const &arg1_defvalue
= wxNullColour
;
25860 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25861 wxColour
const &arg2_defvalue
= wxNullColour
;
25862 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25863 wxFont
const &arg3_defvalue
= wxNullFont
;
25864 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25865 wxListItemAttr
*result
= 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 PyObject
* obj2
= 0 ;
25873 char * kwnames
[] = {
25874 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25881 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25887 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25891 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25892 if (!SWIG_IsOK(res3
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25898 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25913 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25914 PyObject
*resultobj
= 0;
25915 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25918 PyObject
*swig_obj
[1] ;
25920 if (!args
) SWIG_fail
;
25921 swig_obj
[0] = args
;
25922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25923 if (!SWIG_IsOK(res1
)) {
25924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25926 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 resultobj
= SWIG_Py_Void();
25941 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
= 0;
25943 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25944 wxColour
*arg2
= 0 ;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj1
= 0 ;
25950 char * kwnames
[] = {
25951 (char *) "self",(char *) "colText", NULL
25954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25956 if (!SWIG_IsOK(res1
)) {
25957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25959 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25962 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 resultobj
= SWIG_Py_Void();
25977 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
= 0;
25979 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25980 wxColour
*arg2
= 0 ;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char * kwnames
[] = {
25987 (char *) "self",(char *) "colBack", NULL
25990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25995 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= SWIG_Py_Void();
26013 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
= 0;
26015 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char * kwnames
[] = {
26024 (char *) "self",(char *) "font", NULL
26027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26029 if (!SWIG_IsOK(res1
)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26032 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26034 if (!SWIG_IsOK(res2
)) {
26035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26040 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 (arg1
)->SetFont((wxFont
const &)*arg2
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 resultobj
= SWIG_Py_Void();
26054 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26055 PyObject
*resultobj
= 0;
26056 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26060 PyObject
*swig_obj
[1] ;
26062 if (!args
) SWIG_fail
;
26063 swig_obj
[0] = args
;
26064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26068 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= (bool)(arg1
)->HasTextColour();
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26084 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26085 PyObject
*resultobj
= 0;
26086 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26090 PyObject
*swig_obj
[1] ;
26092 if (!args
) SWIG_fail
;
26093 swig_obj
[0] = args
;
26094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26095 if (!SWIG_IsOK(res1
)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26098 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 result
= (bool)(arg1
)->HasBackgroundColour();
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26114 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26115 PyObject
*resultobj
= 0;
26116 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26120 PyObject
*swig_obj
[1] ;
26122 if (!args
) SWIG_fail
;
26123 swig_obj
[0] = args
;
26124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26125 if (!SWIG_IsOK(res1
)) {
26126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26128 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 result
= (bool)(arg1
)->HasFont();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26144 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26145 PyObject
*resultobj
= 0;
26146 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26150 PyObject
*swig_obj
[1] ;
26152 if (!args
) SWIG_fail
;
26153 swig_obj
[0] = args
;
26154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26158 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 result
= (arg1
)->GetTextColour();
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26172 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26173 PyObject
*resultobj
= 0;
26174 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26178 PyObject
*swig_obj
[1] ;
26180 if (!args
) SWIG_fail
;
26181 swig_obj
[0] = args
;
26182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26183 if (!SWIG_IsOK(res1
)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26186 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 result
= (arg1
)->GetBackgroundColour();
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26200 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26201 PyObject
*resultobj
= 0;
26202 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26206 PyObject
*swig_obj
[1] ;
26208 if (!args
) SWIG_fail
;
26209 swig_obj
[0] = args
;
26210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26211 if (!SWIG_IsOK(res1
)) {
26212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26214 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= (arg1
)->GetFont();
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26228 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
= 0;
26230 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26231 wxListItemAttr
*arg2
= 0 ;
26236 PyObject
* obj0
= 0 ;
26237 PyObject
* obj1
= 0 ;
26238 char * kwnames
[] = {
26239 (char *) "self",(char *) "source", NULL
26242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26244 if (!SWIG_IsOK(res1
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26247 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26249 if (!SWIG_IsOK(res2
)) {
26250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26255 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= SWIG_Py_Void();
26269 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26270 PyObject
*resultobj
= 0;
26271 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26274 PyObject
*swig_obj
[1] ;
26276 if (!args
) SWIG_fail
;
26277 swig_obj
[0] = args
;
26278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26279 if (!SWIG_IsOK(res1
)) {
26280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26282 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 wxListItemAttr_Destroy(arg1
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_Py_Void();
26296 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26299 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26300 return SWIG_Py_Void();
26303 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26304 return SWIG_Python_InitShadowInstance(args
);
26307 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26308 PyObject
*resultobj
= 0;
26309 wxListItem
*result
= 0 ;
26311 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (wxListItem
*)new wxListItem();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26327 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26328 PyObject
*resultobj
= 0;
26329 wxListItem
*arg1
= (wxListItem
*) 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_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26340 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_Py_Void();
26355 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26356 PyObject
*resultobj
= 0;
26357 wxListItem
*arg1
= (wxListItem
*) 0 ;
26360 PyObject
*swig_obj
[1] ;
26362 if (!args
) SWIG_fail
;
26363 swig_obj
[0] = args
;
26364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26368 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= SWIG_Py_Void();
26382 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26383 PyObject
*resultobj
= 0;
26384 wxListItem
*arg1
= (wxListItem
*) 0 ;
26387 PyObject
*swig_obj
[1] ;
26389 if (!args
) SWIG_fail
;
26390 swig_obj
[0] = args
;
26391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26392 if (!SWIG_IsOK(res1
)) {
26393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26395 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->ClearAttributes();
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_Py_Void();
26409 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
= 0;
26411 wxListItem
*arg1
= (wxListItem
*) 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char * kwnames
[] = {
26420 (char *) "self",(char *) "mask", NULL
26423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26429 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26430 if (!SWIG_IsOK(ecode2
)) {
26431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26433 arg2
= static_cast< long >(val2
);
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->SetMask(arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_Py_Void();
26447 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26448 PyObject
*resultobj
= 0;
26449 wxListItem
*arg1
= (wxListItem
*) 0 ;
26455 PyObject
* obj0
= 0 ;
26456 PyObject
* obj1
= 0 ;
26457 char * kwnames
[] = {
26458 (char *) "self",(char *) "id", NULL
26461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26463 if (!SWIG_IsOK(res1
)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26466 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26467 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26468 if (!SWIG_IsOK(ecode2
)) {
26469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26471 arg2
= static_cast< long >(val2
);
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 (arg1
)->SetId(arg2
);
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= SWIG_Py_Void();
26485 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
= 0;
26487 wxListItem
*arg1
= (wxListItem
*) 0 ;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 char * kwnames
[] = {
26496 (char *) "self",(char *) "col", NULL
26499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26501 if (!SWIG_IsOK(res1
)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26504 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26506 if (!SWIG_IsOK(ecode2
)) {
26507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26509 arg2
= static_cast< int >(val2
);
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 (arg1
)->SetColumn(arg2
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_Py_Void();
26523 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
= 0;
26525 wxListItem
*arg1
= (wxListItem
*) 0 ;
26531 PyObject
* obj0
= 0 ;
26532 PyObject
* obj1
= 0 ;
26533 char * kwnames
[] = {
26534 (char *) "self",(char *) "state", NULL
26537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26539 if (!SWIG_IsOK(res1
)) {
26540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26542 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26543 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26544 if (!SWIG_IsOK(ecode2
)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26547 arg2
= static_cast< long >(val2
);
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 (arg1
)->SetState(arg2
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= SWIG_Py_Void();
26561 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
= 0;
26563 wxListItem
*arg1
= (wxListItem
*) 0 ;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 char * kwnames
[] = {
26572 (char *) "self",(char *) "stateMask", NULL
26575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26577 if (!SWIG_IsOK(res1
)) {
26578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26580 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26582 if (!SWIG_IsOK(ecode2
)) {
26583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26585 arg2
= static_cast< long >(val2
);
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 (arg1
)->SetStateMask(arg2
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= SWIG_Py_Void();
26599 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
= 0;
26601 wxListItem
*arg1
= (wxListItem
*) 0 ;
26602 wxString
*arg2
= 0 ;
26605 bool temp2
= false ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "text", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26617 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26619 arg2
= wxString_in_helper(obj1
);
26620 if (arg2
== NULL
) SWIG_fail
;
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->SetText((wxString
const &)*arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26644 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
= 0;
26646 wxListItem
*arg1
= (wxListItem
*) 0 ;
26652 PyObject
* obj0
= 0 ;
26653 PyObject
* obj1
= 0 ;
26654 char * kwnames
[] = {
26655 (char *) "self",(char *) "image", NULL
26658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26663 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26665 if (!SWIG_IsOK(ecode2
)) {
26666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26668 arg2
= static_cast< int >(val2
);
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 (arg1
)->SetImage(arg2
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_Py_Void();
26682 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
= 0;
26684 wxListItem
*arg1
= (wxListItem
*) 0 ;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 char * kwnames
[] = {
26693 (char *) "self",(char *) "data", NULL
26696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26698 if (!SWIG_IsOK(res1
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26701 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26702 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26703 if (!SWIG_IsOK(ecode2
)) {
26704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26706 arg2
= static_cast< long >(val2
);
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->SetData(arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_Py_Void();
26720 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
= 0;
26722 wxListItem
*arg1
= (wxListItem
*) 0 ;
26728 PyObject
* obj0
= 0 ;
26729 PyObject
* obj1
= 0 ;
26730 char * kwnames
[] = {
26731 (char *) "self",(char *) "width", NULL
26734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26736 if (!SWIG_IsOK(res1
)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26739 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26741 if (!SWIG_IsOK(ecode2
)) {
26742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26744 arg2
= static_cast< int >(val2
);
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 (arg1
)->SetWidth(arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= SWIG_Py_Void();
26758 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
= 0;
26760 wxListItem
*arg1
= (wxListItem
*) 0 ;
26761 wxListColumnFormat arg2
;
26766 PyObject
* obj0
= 0 ;
26767 PyObject
* obj1
= 0 ;
26768 char * kwnames
[] = {
26769 (char *) "self",(char *) "align", NULL
26772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26777 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26779 if (!SWIG_IsOK(ecode2
)) {
26780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26782 arg2
= static_cast< wxListColumnFormat
>(val2
);
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 (arg1
)->SetAlign(arg2
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 resultobj
= SWIG_Py_Void();
26796 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
= 0;
26798 wxListItem
*arg1
= (wxListItem
*) 0 ;
26799 wxColour
*arg2
= 0 ;
26803 PyObject
* obj0
= 0 ;
26804 PyObject
* obj1
= 0 ;
26805 char * kwnames
[] = {
26806 (char *) "self",(char *) "colText", NULL
26809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26811 if (!SWIG_IsOK(res1
)) {
26812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26814 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26817 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_Py_Void();
26832 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
= 0;
26834 wxListItem
*arg1
= (wxListItem
*) 0 ;
26835 wxColour
*arg2
= 0 ;
26839 PyObject
* obj0
= 0 ;
26840 PyObject
* obj1
= 0 ;
26841 char * kwnames
[] = {
26842 (char *) "self",(char *) "colBack", NULL
26845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26847 if (!SWIG_IsOK(res1
)) {
26848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26850 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_Py_Void();
26868 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= 0;
26870 wxListItem
*arg1
= (wxListItem
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char * kwnames
[] = {
26879 (char *) "self",(char *) "font", NULL
26882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26887 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26889 if (!SWIG_IsOK(res2
)) {
26890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26895 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 (arg1
)->SetFont((wxFont
const &)*arg2
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= SWIG_Py_Void();
26909 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26910 PyObject
*resultobj
= 0;
26911 wxListItem
*arg1
= (wxListItem
*) 0 ;
26915 PyObject
*swig_obj
[1] ;
26917 if (!args
) SWIG_fail
;
26918 swig_obj
[0] = args
;
26919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26920 if (!SWIG_IsOK(res1
)) {
26921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26923 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 result
= (long)(arg1
)->GetMask();
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= SWIG_From_long(static_cast< long >(result
));
26937 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26938 PyObject
*resultobj
= 0;
26939 wxListItem
*arg1
= (wxListItem
*) 0 ;
26943 PyObject
*swig_obj
[1] ;
26945 if (!args
) SWIG_fail
;
26946 swig_obj
[0] = args
;
26947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26948 if (!SWIG_IsOK(res1
)) {
26949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26951 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (long)(arg1
)->GetId();
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= SWIG_From_long(static_cast< long >(result
));
26965 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26966 PyObject
*resultobj
= 0;
26967 wxListItem
*arg1
= (wxListItem
*) 0 ;
26971 PyObject
*swig_obj
[1] ;
26973 if (!args
) SWIG_fail
;
26974 swig_obj
[0] = args
;
26975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= (int)(arg1
)->GetColumn();
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= SWIG_From_int(static_cast< int >(result
));
26993 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26994 PyObject
*resultobj
= 0;
26995 wxListItem
*arg1
= (wxListItem
*) 0 ;
26999 PyObject
*swig_obj
[1] ;
27001 if (!args
) SWIG_fail
;
27002 swig_obj
[0] = args
;
27003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27004 if (!SWIG_IsOK(res1
)) {
27005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27007 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (long)(arg1
)->GetState();
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= SWIG_From_long(static_cast< long >(result
));
27021 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27022 PyObject
*resultobj
= 0;
27023 wxListItem
*arg1
= (wxListItem
*) 0 ;
27024 wxString
*result
= 0 ;
27027 PyObject
*swig_obj
[1] ;
27029 if (!args
) SWIG_fail
;
27030 swig_obj
[0] = args
;
27031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27032 if (!SWIG_IsOK(res1
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27035 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 wxString
const &_result_ref
= (arg1
)->GetText();
27040 result
= (wxString
*) &_result_ref
;
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27049 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27058 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27059 PyObject
*resultobj
= 0;
27060 wxListItem
*arg1
= (wxListItem
*) 0 ;
27064 PyObject
*swig_obj
[1] ;
27066 if (!args
) SWIG_fail
;
27067 swig_obj
[0] = args
;
27068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27069 if (!SWIG_IsOK(res1
)) {
27070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27072 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (int)(arg1
)->GetImage();
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= SWIG_From_int(static_cast< int >(result
));
27086 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27087 PyObject
*resultobj
= 0;
27088 wxListItem
*arg1
= (wxListItem
*) 0 ;
27092 PyObject
*swig_obj
[1] ;
27094 if (!args
) SWIG_fail
;
27095 swig_obj
[0] = args
;
27096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27097 if (!SWIG_IsOK(res1
)) {
27098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27100 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (long)(arg1
)->GetData();
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= SWIG_From_long(static_cast< long >(result
));
27114 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27115 PyObject
*resultobj
= 0;
27116 wxListItem
*arg1
= (wxListItem
*) 0 ;
27120 PyObject
*swig_obj
[1] ;
27122 if (!args
) SWIG_fail
;
27123 swig_obj
[0] = args
;
27124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27125 if (!SWIG_IsOK(res1
)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27128 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (int)(arg1
)->GetWidth();
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_From_int(static_cast< int >(result
));
27142 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27143 PyObject
*resultobj
= 0;
27144 wxListItem
*arg1
= (wxListItem
*) 0 ;
27145 wxListColumnFormat result
;
27148 PyObject
*swig_obj
[1] ;
27150 if (!args
) SWIG_fail
;
27151 swig_obj
[0] = args
;
27152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27153 if (!SWIG_IsOK(res1
)) {
27154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27156 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= SWIG_From_int(static_cast< int >(result
));
27170 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27171 PyObject
*resultobj
= 0;
27172 wxListItem
*arg1
= (wxListItem
*) 0 ;
27173 wxListItemAttr
*result
= 0 ;
27176 PyObject
*swig_obj
[1] ;
27178 if (!args
) SWIG_fail
;
27179 swig_obj
[0] = args
;
27180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27181 if (!SWIG_IsOK(res1
)) {
27182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27184 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27198 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27199 PyObject
*resultobj
= 0;
27200 wxListItem
*arg1
= (wxListItem
*) 0 ;
27204 PyObject
*swig_obj
[1] ;
27206 if (!args
) SWIG_fail
;
27207 swig_obj
[0] = args
;
27208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27209 if (!SWIG_IsOK(res1
)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27212 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= (bool)(arg1
)->HasAttributes();
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27228 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27229 PyObject
*resultobj
= 0;
27230 wxListItem
*arg1
= (wxListItem
*) 0 ;
27234 PyObject
*swig_obj
[1] ;
27236 if (!args
) SWIG_fail
;
27237 swig_obj
[0] = args
;
27238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27239 if (!SWIG_IsOK(res1
)) {
27240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27242 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27256 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27257 PyObject
*resultobj
= 0;
27258 wxListItem
*arg1
= (wxListItem
*) 0 ;
27262 PyObject
*swig_obj
[1] ;
27264 if (!args
) SWIG_fail
;
27265 swig_obj
[0] = args
;
27266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27267 if (!SWIG_IsOK(res1
)) {
27268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27270 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27284 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27285 PyObject
*resultobj
= 0;
27286 wxListItem
*arg1
= (wxListItem
*) 0 ;
27290 PyObject
*swig_obj
[1] ;
27292 if (!args
) SWIG_fail
;
27293 swig_obj
[0] = args
;
27294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27298 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 result
= ((wxListItem
const *)arg1
)->GetFont();
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27312 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27313 PyObject
*resultobj
= 0;
27314 wxListItem
*arg1
= (wxListItem
*) 0 ;
27320 PyObject
*swig_obj
[2] ;
27322 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27324 if (!SWIG_IsOK(res1
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27327 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27328 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27329 if (!SWIG_IsOK(ecode2
)) {
27330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27332 arg2
= static_cast< long >(val2
);
27333 if (arg1
) (arg1
)->m_mask
= arg2
;
27335 resultobj
= SWIG_Py_Void();
27342 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27343 PyObject
*resultobj
= 0;
27344 wxListItem
*arg1
= (wxListItem
*) 0 ;
27348 PyObject
*swig_obj
[1] ;
27350 if (!args
) SWIG_fail
;
27351 swig_obj
[0] = args
;
27352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27356 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27357 result
= (long) ((arg1
)->m_mask
);
27358 resultobj
= SWIG_From_long(static_cast< long >(result
));
27365 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27366 PyObject
*resultobj
= 0;
27367 wxListItem
*arg1
= (wxListItem
*) 0 ;
27373 PyObject
*swig_obj
[2] ;
27375 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27377 if (!SWIG_IsOK(res1
)) {
27378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27380 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27381 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27382 if (!SWIG_IsOK(ecode2
)) {
27383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27385 arg2
= static_cast< long >(val2
);
27386 if (arg1
) (arg1
)->m_itemId
= arg2
;
27388 resultobj
= SWIG_Py_Void();
27395 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27396 PyObject
*resultobj
= 0;
27397 wxListItem
*arg1
= (wxListItem
*) 0 ;
27401 PyObject
*swig_obj
[1] ;
27403 if (!args
) SWIG_fail
;
27404 swig_obj
[0] = args
;
27405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27406 if (!SWIG_IsOK(res1
)) {
27407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27409 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27410 result
= (long) ((arg1
)->m_itemId
);
27411 resultobj
= SWIG_From_long(static_cast< long >(result
));
27418 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27419 PyObject
*resultobj
= 0;
27420 wxListItem
*arg1
= (wxListItem
*) 0 ;
27426 PyObject
*swig_obj
[2] ;
27428 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27430 if (!SWIG_IsOK(res1
)) {
27431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27433 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27434 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27435 if (!SWIG_IsOK(ecode2
)) {
27436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27438 arg2
= static_cast< int >(val2
);
27439 if (arg1
) (arg1
)->m_col
= arg2
;
27441 resultobj
= SWIG_Py_Void();
27448 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27449 PyObject
*resultobj
= 0;
27450 wxListItem
*arg1
= (wxListItem
*) 0 ;
27454 PyObject
*swig_obj
[1] ;
27456 if (!args
) SWIG_fail
;
27457 swig_obj
[0] = args
;
27458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27462 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27463 result
= (int) ((arg1
)->m_col
);
27464 resultobj
= SWIG_From_int(static_cast< int >(result
));
27471 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27472 PyObject
*resultobj
= 0;
27473 wxListItem
*arg1
= (wxListItem
*) 0 ;
27479 PyObject
*swig_obj
[2] ;
27481 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27483 if (!SWIG_IsOK(res1
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27486 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27487 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27488 if (!SWIG_IsOK(ecode2
)) {
27489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27491 arg2
= static_cast< long >(val2
);
27492 if (arg1
) (arg1
)->m_state
= arg2
;
27494 resultobj
= SWIG_Py_Void();
27501 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27502 PyObject
*resultobj
= 0;
27503 wxListItem
*arg1
= (wxListItem
*) 0 ;
27507 PyObject
*swig_obj
[1] ;
27509 if (!args
) SWIG_fail
;
27510 swig_obj
[0] = args
;
27511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27512 if (!SWIG_IsOK(res1
)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27515 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27516 result
= (long) ((arg1
)->m_state
);
27517 resultobj
= SWIG_From_long(static_cast< long >(result
));
27524 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27525 PyObject
*resultobj
= 0;
27526 wxListItem
*arg1
= (wxListItem
*) 0 ;
27532 PyObject
*swig_obj
[2] ;
27534 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27536 if (!SWIG_IsOK(res1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27539 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27540 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27541 if (!SWIG_IsOK(ecode2
)) {
27542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27544 arg2
= static_cast< long >(val2
);
27545 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27547 resultobj
= SWIG_Py_Void();
27554 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27555 PyObject
*resultobj
= 0;
27556 wxListItem
*arg1
= (wxListItem
*) 0 ;
27560 PyObject
*swig_obj
[1] ;
27562 if (!args
) SWIG_fail
;
27563 swig_obj
[0] = args
;
27564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27565 if (!SWIG_IsOK(res1
)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27568 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27569 result
= (long) ((arg1
)->m_stateMask
);
27570 resultobj
= SWIG_From_long(static_cast< long >(result
));
27577 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27578 PyObject
*resultobj
= 0;
27579 wxListItem
*arg1
= (wxListItem
*) 0 ;
27580 wxString
*arg2
= (wxString
*) 0 ;
27583 bool temp2
= false ;
27584 PyObject
*swig_obj
[2] ;
27586 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27588 if (!SWIG_IsOK(res1
)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27591 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27593 arg2
= wxString_in_helper(swig_obj
[1]);
27594 if (arg2
== NULL
) SWIG_fail
;
27597 if (arg1
) (arg1
)->m_text
= *arg2
;
27599 resultobj
= SWIG_Py_Void();
27614 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxListItem
*arg1
= (wxListItem
*) 0 ;
27617 wxString
*result
= 0 ;
27620 PyObject
*swig_obj
[1] ;
27622 if (!args
) SWIG_fail
;
27623 swig_obj
[0] = args
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27628 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27629 result
= (wxString
*)& ((arg1
)->m_text
);
27632 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27634 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27643 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27644 PyObject
*resultobj
= 0;
27645 wxListItem
*arg1
= (wxListItem
*) 0 ;
27651 PyObject
*swig_obj
[2] ;
27653 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27655 if (!SWIG_IsOK(res1
)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27658 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27659 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27660 if (!SWIG_IsOK(ecode2
)) {
27661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27663 arg2
= static_cast< int >(val2
);
27664 if (arg1
) (arg1
)->m_image
= arg2
;
27666 resultobj
= SWIG_Py_Void();
27673 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27674 PyObject
*resultobj
= 0;
27675 wxListItem
*arg1
= (wxListItem
*) 0 ;
27679 PyObject
*swig_obj
[1] ;
27681 if (!args
) SWIG_fail
;
27682 swig_obj
[0] = args
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27687 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27688 result
= (int) ((arg1
)->m_image
);
27689 resultobj
= SWIG_From_int(static_cast< int >(result
));
27696 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27697 PyObject
*resultobj
= 0;
27698 wxListItem
*arg1
= (wxListItem
*) 0 ;
27704 PyObject
*swig_obj
[2] ;
27706 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27708 if (!SWIG_IsOK(res1
)) {
27709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27711 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27712 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27713 if (!SWIG_IsOK(ecode2
)) {
27714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27716 arg2
= static_cast< long >(val2
);
27717 if (arg1
) (arg1
)->m_data
= arg2
;
27719 resultobj
= SWIG_Py_Void();
27726 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27727 PyObject
*resultobj
= 0;
27728 wxListItem
*arg1
= (wxListItem
*) 0 ;
27732 PyObject
*swig_obj
[1] ;
27734 if (!args
) SWIG_fail
;
27735 swig_obj
[0] = args
;
27736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27737 if (!SWIG_IsOK(res1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27740 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27741 result
= (long) ((arg1
)->m_data
);
27742 resultobj
= SWIG_From_long(static_cast< long >(result
));
27749 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27750 PyObject
*resultobj
= 0;
27751 wxListItem
*arg1
= (wxListItem
*) 0 ;
27757 PyObject
*swig_obj
[2] ;
27759 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27761 if (!SWIG_IsOK(res1
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27764 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27765 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27766 if (!SWIG_IsOK(ecode2
)) {
27767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27769 arg2
= static_cast< int >(val2
);
27770 if (arg1
) (arg1
)->m_format
= arg2
;
27772 resultobj
= SWIG_Py_Void();
27779 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27780 PyObject
*resultobj
= 0;
27781 wxListItem
*arg1
= (wxListItem
*) 0 ;
27785 PyObject
*swig_obj
[1] ;
27787 if (!args
) SWIG_fail
;
27788 swig_obj
[0] = args
;
27789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27793 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27794 result
= (int) ((arg1
)->m_format
);
27795 resultobj
= SWIG_From_int(static_cast< int >(result
));
27802 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27803 PyObject
*resultobj
= 0;
27804 wxListItem
*arg1
= (wxListItem
*) 0 ;
27810 PyObject
*swig_obj
[2] ;
27812 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27817 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27818 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27819 if (!SWIG_IsOK(ecode2
)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27822 arg2
= static_cast< int >(val2
);
27823 if (arg1
) (arg1
)->m_width
= arg2
;
27825 resultobj
= SWIG_Py_Void();
27832 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxListItem
*arg1
= (wxListItem
*) 0 ;
27838 PyObject
*swig_obj
[1] ;
27840 if (!args
) SWIG_fail
;
27841 swig_obj
[0] = args
;
27842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27843 if (!SWIG_IsOK(res1
)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27846 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27847 result
= (int) ((arg1
)->m_width
);
27848 resultobj
= SWIG_From_int(static_cast< int >(result
));
27855 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27858 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27859 return SWIG_Py_Void();
27862 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 return SWIG_Python_InitShadowInstance(args
);
27866 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
= 0;
27868 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27869 int arg2
= (int) 0 ;
27870 wxListEvent
*result
= 0 ;
27875 PyObject
* obj0
= 0 ;
27876 PyObject
* obj1
= 0 ;
27877 char * kwnames
[] = {
27878 (char *) "commandType",(char *) "id", NULL
27881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27883 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27884 if (!SWIG_IsOK(ecode1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27887 arg1
= static_cast< wxEventType
>(val1
);
27890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27891 if (!SWIG_IsOK(ecode2
)) {
27892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27894 arg2
= static_cast< int >(val2
);
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27909 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27910 PyObject
*resultobj
= 0;
27911 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27917 PyObject
*swig_obj
[2] ;
27919 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27921 if (!SWIG_IsOK(res1
)) {
27922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27924 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27925 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27926 if (!SWIG_IsOK(ecode2
)) {
27927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27929 arg2
= static_cast< int >(val2
);
27930 if (arg1
) (arg1
)->m_code
= arg2
;
27932 resultobj
= SWIG_Py_Void();
27939 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27940 PyObject
*resultobj
= 0;
27941 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27945 PyObject
*swig_obj
[1] ;
27947 if (!args
) SWIG_fail
;
27948 swig_obj
[0] = args
;
27949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27953 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27954 result
= (int) ((arg1
)->m_code
);
27955 resultobj
= SWIG_From_int(static_cast< int >(result
));
27962 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 PyObject
*resultobj
= 0;
27964 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27970 PyObject
*swig_obj
[2] ;
27972 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27977 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27978 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27979 if (!SWIG_IsOK(ecode2
)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27982 arg2
= static_cast< long >(val2
);
27983 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27985 resultobj
= SWIG_Py_Void();
27992 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 PyObject
*resultobj
= 0;
27994 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27998 PyObject
*swig_obj
[1] ;
28000 if (!args
) SWIG_fail
;
28001 swig_obj
[0] = args
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28006 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28007 result
= (long) ((arg1
)->m_oldItemIndex
);
28008 resultobj
= SWIG_From_long(static_cast< long >(result
));
28015 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28016 PyObject
*resultobj
= 0;
28017 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28023 PyObject
*swig_obj
[2] ;
28025 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28027 if (!SWIG_IsOK(res1
)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28030 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28031 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28032 if (!SWIG_IsOK(ecode2
)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28035 arg2
= static_cast< long >(val2
);
28036 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28038 resultobj
= SWIG_Py_Void();
28045 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28046 PyObject
*resultobj
= 0;
28047 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28051 PyObject
*swig_obj
[1] ;
28053 if (!args
) SWIG_fail
;
28054 swig_obj
[0] = args
;
28055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28059 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28060 result
= (long) ((arg1
)->m_itemIndex
);
28061 resultobj
= SWIG_From_long(static_cast< long >(result
));
28068 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28069 PyObject
*resultobj
= 0;
28070 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28076 PyObject
*swig_obj
[2] ;
28078 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28080 if (!SWIG_IsOK(res1
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28083 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28084 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28085 if (!SWIG_IsOK(ecode2
)) {
28086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28088 arg2
= static_cast< int >(val2
);
28089 if (arg1
) (arg1
)->m_col
= arg2
;
28091 resultobj
= SWIG_Py_Void();
28098 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28099 PyObject
*resultobj
= 0;
28100 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28104 PyObject
*swig_obj
[1] ;
28106 if (!args
) SWIG_fail
;
28107 swig_obj
[0] = args
;
28108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28112 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28113 result
= (int) ((arg1
)->m_col
);
28114 resultobj
= SWIG_From_int(static_cast< int >(result
));
28121 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28122 PyObject
*resultobj
= 0;
28123 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28124 wxPoint
*arg2
= (wxPoint
*) 0 ;
28129 PyObject
*swig_obj
[2] ;
28131 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28133 if (!SWIG_IsOK(res1
)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28136 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28137 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28138 if (!SWIG_IsOK(res2
)) {
28139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28141 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28142 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28144 resultobj
= SWIG_Py_Void();
28151 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28152 PyObject
*resultobj
= 0;
28153 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28154 wxPoint
*result
= 0 ;
28157 PyObject
*swig_obj
[1] ;
28159 if (!args
) SWIG_fail
;
28160 swig_obj
[0] = args
;
28161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28162 if (!SWIG_IsOK(res1
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28165 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28166 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28174 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28175 PyObject
*resultobj
= 0;
28176 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28177 wxListItem
*result
= 0 ;
28180 PyObject
*swig_obj
[1] ;
28182 if (!args
) SWIG_fail
;
28183 swig_obj
[0] = args
;
28184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28185 if (!SWIG_IsOK(res1
)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28188 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28189 result
= (wxListItem
*)& ((arg1
)->m_item
);
28191 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28199 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28200 PyObject
*resultobj
= 0;
28201 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28205 PyObject
*swig_obj
[1] ;
28207 if (!args
) SWIG_fail
;
28208 swig_obj
[0] = args
;
28209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28213 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (int)(arg1
)->GetKeyCode();
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_From_int(static_cast< int >(result
));
28227 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28228 PyObject
*resultobj
= 0;
28229 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28233 PyObject
*swig_obj
[1] ;
28235 if (!args
) SWIG_fail
;
28236 swig_obj
[0] = args
;
28237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28238 if (!SWIG_IsOK(res1
)) {
28239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28241 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (long)(arg1
)->GetIndex();
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28248 resultobj
= SWIG_From_long(static_cast< long >(result
));
28255 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28256 PyObject
*resultobj
= 0;
28257 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28261 PyObject
*swig_obj
[1] ;
28263 if (!args
) SWIG_fail
;
28264 swig_obj
[0] = args
;
28265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28266 if (!SWIG_IsOK(res1
)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28269 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (int)(arg1
)->GetColumn();
28273 wxPyEndAllowThreads(__tstate
);
28274 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= SWIG_From_int(static_cast< int >(result
));
28283 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28284 PyObject
*resultobj
= 0;
28285 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28289 PyObject
*swig_obj
[1] ;
28291 if (!args
) SWIG_fail
;
28292 swig_obj
[0] = args
;
28293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28294 if (!SWIG_IsOK(res1
)) {
28295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28297 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 result
= (arg1
)->GetPoint();
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28311 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28312 PyObject
*resultobj
= 0;
28313 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28314 wxString
*result
= 0 ;
28317 PyObject
*swig_obj
[1] ;
28319 if (!args
) SWIG_fail
;
28320 swig_obj
[0] = args
;
28321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28325 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 wxString
const &_result_ref
= (arg1
)->GetLabel();
28330 result
= (wxString
*) &_result_ref
;
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28348 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28349 PyObject
*resultobj
= 0;
28350 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28351 wxString
*result
= 0 ;
28354 PyObject
*swig_obj
[1] ;
28356 if (!args
) SWIG_fail
;
28357 swig_obj
[0] = args
;
28358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28359 if (!SWIG_IsOK(res1
)) {
28360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28362 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 wxString
const &_result_ref
= (arg1
)->GetText();
28367 result
= (wxString
*) &_result_ref
;
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28376 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28385 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28386 PyObject
*resultobj
= 0;
28387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28391 PyObject
*swig_obj
[1] ;
28393 if (!args
) SWIG_fail
;
28394 swig_obj
[0] = args
;
28395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28399 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (int)(arg1
)->GetImage();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= SWIG_From_int(static_cast< int >(result
));
28413 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28414 PyObject
*resultobj
= 0;
28415 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28419 PyObject
*swig_obj
[1] ;
28421 if (!args
) SWIG_fail
;
28422 swig_obj
[0] = args
;
28423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28427 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (long)(arg1
)->GetData();
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= SWIG_From_long(static_cast< long >(result
));
28441 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28442 PyObject
*resultobj
= 0;
28443 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28447 PyObject
*swig_obj
[1] ;
28449 if (!args
) SWIG_fail
;
28450 swig_obj
[0] = args
;
28451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28455 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 result
= (long)(arg1
)->GetMask();
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 resultobj
= SWIG_From_long(static_cast< long >(result
));
28469 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28472 wxListItem
*result
= 0 ;
28475 PyObject
*swig_obj
[1] ;
28477 if (!args
) SWIG_fail
;
28478 swig_obj
[0] = args
;
28479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28483 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28488 result
= (wxListItem
*) &_result_ref
;
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28500 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28501 PyObject
*resultobj
= 0;
28502 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28506 PyObject
*swig_obj
[1] ;
28508 if (!args
) SWIG_fail
;
28509 swig_obj
[0] = args
;
28510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28511 if (!SWIG_IsOK(res1
)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28514 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 result
= (long)(arg1
)->GetCacheFrom();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= SWIG_From_long(static_cast< long >(result
));
28528 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28529 PyObject
*resultobj
= 0;
28530 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28534 PyObject
*swig_obj
[1] ;
28536 if (!args
) SWIG_fail
;
28537 swig_obj
[0] = args
;
28538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28539 if (!SWIG_IsOK(res1
)) {
28540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28542 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (long)(arg1
)->GetCacheTo();
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= SWIG_From_long(static_cast< long >(result
));
28556 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28557 PyObject
*resultobj
= 0;
28558 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28562 PyObject
*swig_obj
[1] ;
28564 if (!args
) SWIG_fail
;
28565 swig_obj
[0] = args
;
28566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28570 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28586 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
= 0;
28588 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28594 PyObject
* obj0
= 0 ;
28595 PyObject
* obj1
= 0 ;
28596 char * kwnames
[] = {
28597 (char *) "self",(char *) "editCancelled", NULL
28600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28602 if (!SWIG_IsOK(res1
)) {
28603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28605 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28607 if (!SWIG_IsOK(ecode2
)) {
28608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28610 arg2
= static_cast< bool >(val2
);
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 (arg1
)->SetEditCanceled(arg2
);
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= SWIG_Py_Void();
28624 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28627 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28628 return SWIG_Py_Void();
28631 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28632 return SWIG_Python_InitShadowInstance(args
);
28635 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28636 PyObject
*resultobj
= 0;
28637 wxWindow
*arg1
= (wxWindow
*) 0 ;
28638 int arg2
= (int) -1 ;
28639 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28640 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28641 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28642 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28643 long arg5
= (long) wxLC_ICON
;
28644 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28645 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28646 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28647 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28648 wxPyListCtrl
*result
= 0 ;
28659 bool temp7
= false ;
28660 PyObject
* obj0
= 0 ;
28661 PyObject
* obj1
= 0 ;
28662 PyObject
* obj2
= 0 ;
28663 PyObject
* obj3
= 0 ;
28664 PyObject
* obj4
= 0 ;
28665 PyObject
* obj5
= 0 ;
28666 PyObject
* obj6
= 0 ;
28667 char * kwnames
[] = {
28668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28676 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28679 if (!SWIG_IsOK(ecode2
)) {
28680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28682 arg2
= static_cast< int >(val2
);
28687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28697 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28698 if (!SWIG_IsOK(ecode5
)) {
28699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28701 arg5
= static_cast< long >(val5
);
28704 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28705 if (!SWIG_IsOK(res6
)) {
28706 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28711 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28715 arg7
= wxString_in_helper(obj6
);
28716 if (arg7
== NULL
) SWIG_fail
;
28721 if (!wxPyCheckForApp()) SWIG_fail
;
28722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28723 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28742 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28743 PyObject
*resultobj
= 0;
28744 wxPyListCtrl
*result
= 0 ;
28746 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28748 if (!wxPyCheckForApp()) SWIG_fail
;
28749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28750 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28761 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
= 0;
28763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28764 wxWindow
*arg2
= (wxWindow
*) 0 ;
28765 int arg3
= (int) -1 ;
28766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28770 long arg6
= (long) wxLC_ICON
;
28771 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28772 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28773 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28774 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28788 bool temp8
= false ;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 PyObject
* obj2
= 0 ;
28792 PyObject
* obj3
= 0 ;
28793 PyObject
* obj4
= 0 ;
28794 PyObject
* obj5
= 0 ;
28795 PyObject
* obj6
= 0 ;
28796 PyObject
* obj7
= 0 ;
28797 char * kwnames
[] = {
28798 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28806 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28808 if (!SWIG_IsOK(res2
)) {
28809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28814 if (!SWIG_IsOK(ecode3
)) {
28815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28817 arg3
= static_cast< int >(val3
);
28822 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28828 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28832 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28833 if (!SWIG_IsOK(ecode6
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28836 arg6
= static_cast< long >(val6
);
28839 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28840 if (!SWIG_IsOK(res7
)) {
28841 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28846 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28850 arg8
= wxString_in_helper(obj7
);
28851 if (arg8
== NULL
) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28878 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
= 0;
28880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28881 PyObject
*arg2
= (PyObject
*) 0 ;
28882 PyObject
*arg3
= (PyObject
*) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 PyObject
* obj1
= 0 ;
28887 PyObject
* obj2
= 0 ;
28888 char * kwnames
[] = {
28889 (char *) "self",(char *) "self",(char *) "_class", NULL
28892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28894 if (!SWIG_IsOK(res1
)) {
28895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28897 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= SWIG_Py_Void();
28913 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
= 0;
28915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28917 wxListItem
*result
= 0 ;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 char * kwnames
[] = {
28925 (char *) "self",(char *) "col", NULL
28928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28930 if (!SWIG_IsOK(res1
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28933 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28935 if (!SWIG_IsOK(ecode2
)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28938 arg2
= static_cast< int >(val2
);
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28954 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
= 0;
28956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28958 wxListItem
*arg3
= 0 ;
28966 PyObject
* obj0
= 0 ;
28967 PyObject
* obj1
= 0 ;
28968 PyObject
* obj2
= 0 ;
28969 char * kwnames
[] = {
28970 (char *) "self",(char *) "col",(char *) "item", NULL
28973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28975 if (!SWIG_IsOK(res1
)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28978 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28980 if (!SWIG_IsOK(ecode2
)) {
28981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28983 arg2
= static_cast< int >(val2
);
28984 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28985 if (!SWIG_IsOK(res3
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28991 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29007 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= 0;
29009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29016 PyObject
* obj0
= 0 ;
29017 PyObject
* obj1
= 0 ;
29018 char * kwnames
[] = {
29019 (char *) "self",(char *) "col", NULL
29022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29029 if (!SWIG_IsOK(ecode2
)) {
29030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29032 arg2
= static_cast< int >(val2
);
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_From_int(static_cast< int >(result
));
29046 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= 0;
29048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29058 PyObject
* obj0
= 0 ;
29059 PyObject
* obj1
= 0 ;
29060 PyObject
* obj2
= 0 ;
29061 char * kwnames
[] = {
29062 (char *) "self",(char *) "col",(char *) "width", NULL
29065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29067 if (!SWIG_IsOK(res1
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29070 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29072 if (!SWIG_IsOK(ecode2
)) {
29073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29075 arg2
= static_cast< int >(val2
);
29076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29077 if (!SWIG_IsOK(ecode3
)) {
29078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29080 arg3
= static_cast< int >(val3
);
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29083 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29096 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29097 PyObject
*resultobj
= 0;
29098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29102 PyObject
*swig_obj
[1] ;
29104 if (!args
) SWIG_fail
;
29105 swig_obj
[0] = args
;
29106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29107 if (!SWIG_IsOK(res1
)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29110 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= SWIG_From_int(static_cast< int >(result
));
29124 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29125 PyObject
*resultobj
= 0;
29126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29130 PyObject
*swig_obj
[1] ;
29132 if (!args
) SWIG_fail
;
29133 swig_obj
[0] = args
;
29134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29135 if (!SWIG_IsOK(res1
)) {
29136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29138 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29152 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29153 PyObject
*resultobj
= 0;
29154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29155 wxTextCtrl
*result
= 0 ;
29158 PyObject
*swig_obj
[1] ;
29160 if (!args
) SWIG_fail
;
29161 swig_obj
[0] = args
;
29162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29163 if (!SWIG_IsOK(res1
)) {
29164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29166 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= wxPyMake_wxObject(result
, 0);
29182 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29183 PyObject
*resultobj
= 0;
29184 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29186 int arg3
= (int) 0 ;
29187 wxListItem
*result
= 0 ;
29194 PyObject
* obj0
= 0 ;
29195 PyObject
* obj1
= 0 ;
29196 PyObject
* obj2
= 0 ;
29197 char * kwnames
[] = {
29198 (char *) "self",(char *) "itemId",(char *) "col", NULL
29201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29203 if (!SWIG_IsOK(res1
)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29206 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29207 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29208 if (!SWIG_IsOK(ecode2
)) {
29209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29211 arg2
= static_cast< long >(val2
);
29213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29214 if (!SWIG_IsOK(ecode3
)) {
29215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29217 arg3
= static_cast< int >(val3
);
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29234 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
= 0;
29236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29237 wxListItem
*arg2
= 0 ;
29243 PyObject
* obj0
= 0 ;
29244 PyObject
* obj1
= 0 ;
29245 char * kwnames
[] = {
29246 (char *) "self",(char *) "info", NULL
29249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29251 if (!SWIG_IsOK(res1
)) {
29252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29254 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29256 if (!SWIG_IsOK(res2
)) {
29257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29262 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 result
= (bool)(arg1
)->SetItem(*arg2
);
29266 wxPyEndAllowThreads(__tstate
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29278 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
= 0;
29280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29283 wxString
*arg4
= 0 ;
29284 int arg5
= (int) -1 ;
29292 bool temp4
= false ;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 PyObject
* obj2
= 0 ;
29298 PyObject
* obj3
= 0 ;
29299 PyObject
* obj4
= 0 ;
29300 char * kwnames
[] = {
29301 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29306 if (!SWIG_IsOK(res1
)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29309 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29310 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29311 if (!SWIG_IsOK(ecode2
)) {
29312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29314 arg2
= static_cast< long >(val2
);
29315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29316 if (!SWIG_IsOK(ecode3
)) {
29317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29319 arg3
= static_cast< int >(val3
);
29321 arg4
= wxString_in_helper(obj3
);
29322 if (arg4
== NULL
) SWIG_fail
;
29326 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29327 if (!SWIG_IsOK(ecode5
)) {
29328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29330 arg5
= static_cast< int >(val5
);
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_From_long(static_cast< long >(result
));
29353 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29354 PyObject
*resultobj
= 0;
29355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 PyObject
* obj2
= 0 ;
29368 char * kwnames
[] = {
29369 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29374 if (!SWIG_IsOK(res1
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29377 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29378 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29379 if (!SWIG_IsOK(ecode2
)) {
29380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29382 arg2
= static_cast< long >(val2
);
29383 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29384 if (!SWIG_IsOK(ecode3
)) {
29385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29387 arg3
= static_cast< long >(val3
);
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29394 resultobj
= SWIG_From_int(static_cast< int >(result
));
29401 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
= 0;
29403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29416 PyObject
* obj0
= 0 ;
29417 PyObject
* obj1
= 0 ;
29418 PyObject
* obj2
= 0 ;
29419 PyObject
* obj3
= 0 ;
29420 char * kwnames
[] = {
29421 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29426 if (!SWIG_IsOK(res1
)) {
29427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29429 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29430 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29431 if (!SWIG_IsOK(ecode2
)) {
29432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29434 arg2
= static_cast< long >(val2
);
29435 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29436 if (!SWIG_IsOK(ecode3
)) {
29437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29439 arg3
= static_cast< long >(val3
);
29440 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29441 if (!SWIG_IsOK(ecode4
)) {
29442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29444 arg4
= static_cast< long >(val4
);
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29460 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29461 PyObject
*resultobj
= 0;
29462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29465 int arg4
= (int) -1 ;
29475 PyObject
* obj0
= 0 ;
29476 PyObject
* obj1
= 0 ;
29477 PyObject
* obj2
= 0 ;
29478 PyObject
* obj3
= 0 ;
29479 char * kwnames
[] = {
29480 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29485 if (!SWIG_IsOK(res1
)) {
29486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29488 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29489 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29490 if (!SWIG_IsOK(ecode2
)) {
29491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29493 arg2
= static_cast< long >(val2
);
29494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29495 if (!SWIG_IsOK(ecode3
)) {
29496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29498 arg3
= static_cast< int >(val3
);
29500 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29501 if (!SWIG_IsOK(ecode4
)) {
29502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29504 arg4
= static_cast< int >(val4
);
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29509 wxPyEndAllowThreads(__tstate
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29521 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29522 PyObject
*resultobj
= 0;
29523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29536 PyObject
* obj0
= 0 ;
29537 PyObject
* obj1
= 0 ;
29538 PyObject
* obj2
= 0 ;
29539 PyObject
* obj3
= 0 ;
29540 char * kwnames
[] = {
29541 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29546 if (!SWIG_IsOK(res1
)) {
29547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29549 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29551 if (!SWIG_IsOK(ecode2
)) {
29552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29554 arg2
= static_cast< long >(val2
);
29555 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29556 if (!SWIG_IsOK(ecode3
)) {
29557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29559 arg3
= static_cast< long >(val3
);
29560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29561 if (!SWIG_IsOK(ecode4
)) {
29562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29564 arg4
= static_cast< int >(val4
);
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29580 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
= 0;
29582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 char * kwnames
[] = {
29592 (char *) "self",(char *) "item", NULL
29595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29597 if (!SWIG_IsOK(res1
)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29600 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29601 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29602 if (!SWIG_IsOK(ecode2
)) {
29603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29605 arg2
= static_cast< long >(val2
);
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29625 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
= 0;
29627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29629 wxString
*arg3
= 0 ;
29634 bool temp3
= false ;
29635 PyObject
* obj0
= 0 ;
29636 PyObject
* obj1
= 0 ;
29637 PyObject
* obj2
= 0 ;
29638 char * kwnames
[] = {
29639 (char *) "self",(char *) "item",(char *) "str", NULL
29642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29647 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29649 if (!SWIG_IsOK(ecode2
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29652 arg2
= static_cast< long >(val2
);
29654 arg3
= wxString_in_helper(obj2
);
29655 if (arg3
== NULL
) SWIG_fail
;
29659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29660 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29661 wxPyEndAllowThreads(__tstate
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29664 resultobj
= SWIG_Py_Void();
29679 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= 0;
29681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 char * kwnames
[] = {
29691 (char *) "self",(char *) "item", NULL
29694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29696 if (!SWIG_IsOK(res1
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29699 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29700 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29701 if (!SWIG_IsOK(ecode2
)) {
29702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29704 arg2
= static_cast< long >(val2
);
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29711 resultobj
= SWIG_From_long(static_cast< long >(result
));
29718 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29719 PyObject
*resultobj
= 0;
29720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29730 PyObject
* obj0
= 0 ;
29731 PyObject
* obj1
= 0 ;
29732 PyObject
* obj2
= 0 ;
29733 char * kwnames
[] = {
29734 (char *) "self",(char *) "item",(char *) "data", NULL
29737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29739 if (!SWIG_IsOK(res1
)) {
29740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29742 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29744 if (!SWIG_IsOK(ecode2
)) {
29745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29747 arg2
= static_cast< long >(val2
);
29748 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29749 if (!SWIG_IsOK(ecode3
)) {
29750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29752 arg3
= static_cast< long >(val3
);
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29755 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29768 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29769 PyObject
*resultobj
= 0;
29770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29777 PyObject
* obj0
= 0 ;
29778 PyObject
* obj1
= 0 ;
29779 char * kwnames
[] = {
29780 (char *) "self",(char *) "item", NULL
29783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29785 if (!SWIG_IsOK(res1
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29788 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29789 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29790 if (!SWIG_IsOK(ecode2
)) {
29791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29793 arg2
= static_cast< long >(val2
);
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29797 wxPyEndAllowThreads(__tstate
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29800 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29807 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29808 PyObject
*resultobj
= 0;
29809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29811 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29819 PyObject
* obj0
= 0 ;
29820 PyObject
* obj1
= 0 ;
29821 PyObject
* obj2
= 0 ;
29822 char * kwnames
[] = {
29823 (char *) "self",(char *) "item",(char *) "code", NULL
29826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29831 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29833 if (!SWIG_IsOK(ecode2
)) {
29834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29836 arg2
= static_cast< long >(val2
);
29838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29839 if (!SWIG_IsOK(ecode3
)) {
29840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29842 arg3
= static_cast< int >(val3
);
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29857 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
= 0;
29859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29861 wxPoint
*arg3
= 0 ;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 PyObject
* obj2
= 0 ;
29871 char * kwnames
[] = {
29872 (char *) "self",(char *) "item",(char *) "pos", NULL
29875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29877 if (!SWIG_IsOK(res1
)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29880 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29881 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29882 if (!SWIG_IsOK(ecode2
)) {
29883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29885 arg2
= static_cast< long >(val2
);
29888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29905 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29906 PyObject
*resultobj
= 0;
29907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29911 PyObject
*swig_obj
[1] ;
29913 if (!args
) SWIG_fail
;
29914 swig_obj
[0] = args
;
29915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29916 if (!SWIG_IsOK(res1
)) {
29917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29919 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29923 wxPyEndAllowThreads(__tstate
);
29924 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= SWIG_From_int(static_cast< int >(result
));
29933 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29934 PyObject
*resultobj
= 0;
29935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29939 PyObject
*swig_obj
[1] ;
29941 if (!args
) SWIG_fail
;
29942 swig_obj
[0] = args
;
29943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29944 if (!SWIG_IsOK(res1
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29947 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= SWIG_From_int(static_cast< int >(result
));
29961 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29962 PyObject
*resultobj
= 0;
29963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29967 PyObject
*swig_obj
[1] ;
29969 if (!args
) SWIG_fail
;
29970 swig_obj
[0] = args
;
29971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29975 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29989 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29990 PyObject
*resultobj
= 0;
29991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29995 PyObject
*swig_obj
[1] ;
29997 if (!args
) SWIG_fail
;
29998 swig_obj
[0] = args
;
29999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30000 if (!SWIG_IsOK(res1
)) {
30001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30003 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= SWIG_From_int(static_cast< int >(result
));
30017 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30018 PyObject
*resultobj
= 0;
30019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30023 PyObject
*swig_obj
[1] ;
30025 if (!args
) SWIG_fail
;
30026 swig_obj
[0] = args
;
30027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30028 if (!SWIG_IsOK(res1
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30031 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30034 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30045 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
= 0;
30047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30048 wxColour
*arg2
= 0 ;
30052 PyObject
* obj0
= 0 ;
30053 PyObject
* obj1
= 0 ;
30054 char * kwnames
[] = {
30055 (char *) "self",(char *) "col", NULL
30058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30060 if (!SWIG_IsOK(res1
)) {
30061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30063 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30066 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_Py_Void();
30081 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30082 PyObject
*resultobj
= 0;
30083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30087 PyObject
*swig_obj
[1] ;
30089 if (!args
) SWIG_fail
;
30090 swig_obj
[0] = args
;
30091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30095 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_From_long(static_cast< long >(result
));
30109 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
= 0;
30111 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30113 bool arg3
= (bool) true ;
30120 PyObject
* obj0
= 0 ;
30121 PyObject
* obj1
= 0 ;
30122 PyObject
* obj2
= 0 ;
30123 char * kwnames
[] = {
30124 (char *) "self",(char *) "style",(char *) "add", NULL
30127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30129 if (!SWIG_IsOK(res1
)) {
30130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30132 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30133 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30134 if (!SWIG_IsOK(ecode2
)) {
30135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30137 arg2
= static_cast< long >(val2
);
30139 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30140 if (!SWIG_IsOK(ecode3
)) {
30141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30143 arg3
= static_cast< bool >(val3
);
30146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30147 (arg1
)->SetSingleStyle(arg2
,arg3
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 resultobj
= SWIG_Py_Void();
30158 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
= 0;
30160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30162 int arg3
= (int) wxLIST_NEXT_ALL
;
30163 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 PyObject
* obj2
= 0 ;
30176 PyObject
* obj3
= 0 ;
30177 char * kwnames
[] = {
30178 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30187 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30188 if (!SWIG_IsOK(ecode2
)) {
30189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30191 arg2
= static_cast< long >(val2
);
30193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30194 if (!SWIG_IsOK(ecode3
)) {
30195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30197 arg3
= static_cast< int >(val3
);
30200 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30201 if (!SWIG_IsOK(ecode4
)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30204 arg4
= static_cast< int >(val4
);
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 resultobj
= SWIG_From_long(static_cast< long >(result
));
30219 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
= 0;
30221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30223 wxImageList
*result
= 0 ;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 char * kwnames
[] = {
30231 (char *) "self",(char *) "which", NULL
30234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30236 if (!SWIG_IsOK(res1
)) {
30237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30239 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30241 if (!SWIG_IsOK(ecode2
)) {
30242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30244 arg2
= static_cast< int >(val2
);
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30260 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
= 0;
30262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30263 wxImageList
*arg2
= (wxImageList
*) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 PyObject
* obj1
= 0 ;
30273 PyObject
* obj2
= 0 ;
30274 char * kwnames
[] = {
30275 (char *) "self",(char *) "imageList",(char *) "which", NULL
30278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30280 if (!SWIG_IsOK(res1
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30283 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30285 if (!SWIG_IsOK(res2
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30288 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30290 if (!SWIG_IsOK(ecode3
)) {
30291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30293 arg3
= static_cast< int >(val3
);
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 (arg1
)->SetImageList(arg2
,arg3
);
30297 wxPyEndAllowThreads(__tstate
);
30298 if (PyErr_Occurred()) SWIG_fail
;
30300 resultobj
= SWIG_Py_Void();
30307 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
= 0;
30309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30310 wxImageList
*arg2
= (wxImageList
*) 0 ;
30317 PyObject
* obj0
= 0 ;
30318 PyObject
* obj1
= 0 ;
30319 PyObject
* obj2
= 0 ;
30320 char * kwnames
[] = {
30321 (char *) "self",(char *) "imageList",(char *) "which", NULL
30324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30326 if (!SWIG_IsOK(res1
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30329 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30330 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30331 if (!SWIG_IsOK(res2
)) {
30332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30335 if (!SWIG_IsOK(ecode3
)) {
30336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30338 arg3
= static_cast< int >(val3
);
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 (arg1
)->AssignImageList(arg2
,arg3
);
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= SWIG_Py_Void();
30352 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30353 PyObject
*resultobj
= 0;
30354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30358 PyObject
*swig_obj
[1] ;
30360 if (!args
) SWIG_fail
;
30361 swig_obj
[0] = args
;
30362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30363 if (!SWIG_IsOK(res1
)) {
30364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30366 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30382 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30383 PyObject
*resultobj
= 0;
30384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30388 PyObject
*swig_obj
[1] ;
30390 if (!args
) SWIG_fail
;
30391 swig_obj
[0] = args
;
30392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30393 if (!SWIG_IsOK(res1
)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30396 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30412 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
= 0;
30414 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 char * kwnames
[] = {
30423 (char *) "self",(char *) "item", NULL
30426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30428 if (!SWIG_IsOK(res1
)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30431 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30432 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30433 if (!SWIG_IsOK(ecode2
)) {
30434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30436 arg2
= static_cast< long >(val2
);
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 (arg1
)->RefreshItem(arg2
);
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= SWIG_Py_Void();
30450 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30451 PyObject
*resultobj
= 0;
30452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 PyObject
* obj2
= 0 ;
30464 char * kwnames
[] = {
30465 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30470 if (!SWIG_IsOK(res1
)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30473 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30474 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30475 if (!SWIG_IsOK(ecode2
)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30478 arg2
= static_cast< long >(val2
);
30479 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30480 if (!SWIG_IsOK(ecode3
)) {
30481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30483 arg3
= static_cast< long >(val3
);
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 (arg1
)->RefreshItems(arg2
,arg3
);
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= SWIG_Py_Void();
30497 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30498 PyObject
*resultobj
= 0;
30499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30500 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char * kwnames
[] = {
30509 (char *) "self",(char *) "flag", NULL
30512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30514 if (!SWIG_IsOK(res1
)) {
30515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30517 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30520 if (!SWIG_IsOK(ecode2
)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30523 arg2
= static_cast< int >(val2
);
30526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30527 result
= (bool)(arg1
)->Arrange(arg2
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30540 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30541 PyObject
*resultobj
= 0;
30542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30549 PyObject
* obj0
= 0 ;
30550 PyObject
* obj1
= 0 ;
30551 char * kwnames
[] = {
30552 (char *) "self",(char *) "item", NULL
30555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30557 if (!SWIG_IsOK(res1
)) {
30558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30560 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30562 if (!SWIG_IsOK(ecode2
)) {
30563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30565 arg2
= static_cast< long >(val2
);
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 result
= (bool)(arg1
)->DeleteItem(arg2
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30581 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30582 PyObject
*resultobj
= 0;
30583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30587 PyObject
*swig_obj
[1] ;
30589 if (!args
) SWIG_fail
;
30590 swig_obj
[0] = args
;
30591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30592 if (!SWIG_IsOK(res1
)) {
30593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30595 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30598 result
= (bool)(arg1
)->DeleteAllItems();
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30611 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
= 0;
30613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 char * kwnames
[] = {
30623 (char *) "self",(char *) "col", NULL
30626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30628 if (!SWIG_IsOK(res1
)) {
30629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30633 if (!SWIG_IsOK(ecode2
)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30636 arg2
= static_cast< int >(val2
);
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30652 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30653 PyObject
*resultobj
= 0;
30654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30658 PyObject
*swig_obj
[1] ;
30660 if (!args
) SWIG_fail
;
30661 swig_obj
[0] = args
;
30662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30663 if (!SWIG_IsOK(res1
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30666 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30669 result
= (bool)(arg1
)->DeleteAllColumns();
30670 wxPyEndAllowThreads(__tstate
);
30671 if (PyErr_Occurred()) SWIG_fail
;
30674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30682 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30683 PyObject
*resultobj
= 0;
30684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30687 PyObject
*swig_obj
[1] ;
30689 if (!args
) SWIG_fail
;
30690 swig_obj
[0] = args
;
30691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30695 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 (arg1
)->ClearAll();
30699 wxPyEndAllowThreads(__tstate
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= SWIG_Py_Void();
30709 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
= 0;
30711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30713 wxTextCtrl
*result
= 0 ;
30718 PyObject
* obj0
= 0 ;
30719 PyObject
* obj1
= 0 ;
30720 char * kwnames
[] = {
30721 (char *) "self",(char *) "item", NULL
30724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30726 if (!SWIG_IsOK(res1
)) {
30727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30729 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30730 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30731 if (!SWIG_IsOK(ecode2
)) {
30732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30734 arg2
= static_cast< long >(val2
);
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= wxPyMake_wxObject(result
, 0);
30750 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
= 0;
30752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 char * kwnames
[] = {
30762 (char *) "self",(char *) "cancel", NULL
30765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30767 if (!SWIG_IsOK(res1
)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30770 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30771 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30772 if (!SWIG_IsOK(ecode2
)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30775 arg2
= static_cast< bool >(val2
);
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30791 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30792 PyObject
*resultobj
= 0;
30793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 char * kwnames
[] = {
30803 (char *) "self",(char *) "item", NULL
30806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30811 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30813 if (!SWIG_IsOK(ecode2
)) {
30814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30816 arg2
= static_cast< long >(val2
);
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30832 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= 0;
30834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30836 wxString
*arg3
= 0 ;
30837 bool arg4
= (bool) false ;
30843 bool temp3
= false ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 PyObject
* obj2
= 0 ;
30849 PyObject
* obj3
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30859 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30861 if (!SWIG_IsOK(ecode2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30864 arg2
= static_cast< long >(val2
);
30866 arg3
= wxString_in_helper(obj2
);
30867 if (arg3
== NULL
) SWIG_fail
;
30871 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30872 if (!SWIG_IsOK(ecode4
)) {
30873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30875 arg4
= static_cast< bool >(val4
);
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 resultobj
= SWIG_From_long(static_cast< long >(result
));
30898 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
= 0;
30900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30910 PyObject
* obj0
= 0 ;
30911 PyObject
* obj1
= 0 ;
30912 PyObject
* obj2
= 0 ;
30913 char * kwnames
[] = {
30914 (char *) "self",(char *) "start",(char *) "data", NULL
30917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30919 if (!SWIG_IsOK(res1
)) {
30920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30922 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30923 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30924 if (!SWIG_IsOK(ecode2
)) {
30925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30927 arg2
= static_cast< long >(val2
);
30928 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30929 if (!SWIG_IsOK(ecode3
)) {
30930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30932 arg3
= static_cast< long >(val3
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_From_long(static_cast< long >(result
));
30946 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30947 PyObject
*resultobj
= 0;
30948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30950 wxPoint
*arg3
= 0 ;
30960 PyObject
* obj0
= 0 ;
30961 PyObject
* obj1
= 0 ;
30962 PyObject
* obj2
= 0 ;
30963 PyObject
* obj3
= 0 ;
30964 char * kwnames
[] = {
30965 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30970 if (!SWIG_IsOK(res1
)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30973 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30975 if (!SWIG_IsOK(ecode2
)) {
30976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30978 arg2
= static_cast< long >(val2
);
30981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30983 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30984 if (!SWIG_IsOK(ecode4
)) {
30985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30987 arg4
= static_cast< int >(val4
);
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= SWIG_From_long(static_cast< long >(result
));
31001 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31002 PyObject
*resultobj
= 0;
31003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31004 wxPoint
*arg2
= 0 ;
31011 int res3
= SWIG_TMPOBJ
;
31012 PyObject
* obj0
= 0 ;
31013 PyObject
* obj1
= 0 ;
31014 char * kwnames
[] = {
31015 (char *) "self",(char *) "point", NULL
31019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31021 if (!SWIG_IsOK(res1
)) {
31022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31024 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 resultobj
= SWIG_From_long(static_cast< long >(result
));
31036 if (SWIG_IsTmpObj(res3
)) {
31037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31039 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31048 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
= 0;
31050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31051 wxPoint
*arg2
= 0 ;
31053 long *arg4
= (long *) 0 ;
31059 int res3
= SWIG_TMPOBJ
;
31061 int res4
= SWIG_TMPOBJ
;
31062 PyObject
* obj0
= 0 ;
31063 PyObject
* obj1
= 0 ;
31064 char * kwnames
[] = {
31065 (char *) "self",(char *) "point", NULL
31070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31072 if (!SWIG_IsOK(res1
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31075 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31082 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31086 resultobj
= SWIG_From_long(static_cast< long >(result
));
31087 if (SWIG_IsTmpObj(res3
)) {
31088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31090 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31093 if (SWIG_IsTmpObj(res4
)) {
31094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31096 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31105 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
= 0;
31107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31108 wxListItem
*arg2
= 0 ;
31114 PyObject
* obj0
= 0 ;
31115 PyObject
* obj1
= 0 ;
31116 char * kwnames
[] = {
31117 (char *) "self",(char *) "info", NULL
31120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31122 if (!SWIG_IsOK(res1
)) {
31123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31125 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31127 if (!SWIG_IsOK(res2
)) {
31128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31133 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 result
= (long)(arg1
)->InsertItem(*arg2
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 resultobj
= SWIG_From_long(static_cast< long >(result
));
31147 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
= 0;
31149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31151 wxString
*arg3
= 0 ;
31152 int arg4
= (int) -1 ;
31158 bool temp3
= false ;
31161 PyObject
* obj0
= 0 ;
31162 PyObject
* obj1
= 0 ;
31163 PyObject
* obj2
= 0 ;
31164 PyObject
* obj3
= 0 ;
31165 char * kwnames
[] = {
31166 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31171 if (!SWIG_IsOK(res1
)) {
31172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31174 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31175 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31176 if (!SWIG_IsOK(ecode2
)) {
31177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31179 arg2
= static_cast< long >(val2
);
31181 arg3
= wxString_in_helper(obj2
);
31182 if (arg3
== NULL
) SWIG_fail
;
31186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31187 if (!SWIG_IsOK(ecode4
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31190 arg4
= static_cast< int >(val4
);
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 resultobj
= SWIG_From_long(static_cast< long >(result
));
31213 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= 0;
31215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31225 PyObject
* obj0
= 0 ;
31226 PyObject
* obj1
= 0 ;
31227 PyObject
* obj2
= 0 ;
31228 char * kwnames
[] = {
31229 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31234 if (!SWIG_IsOK(res1
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31237 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31238 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31239 if (!SWIG_IsOK(ecode2
)) {
31240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31242 arg2
= static_cast< long >(val2
);
31243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31244 if (!SWIG_IsOK(ecode3
)) {
31245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31247 arg3
= static_cast< int >(val3
);
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= SWIG_From_long(static_cast< long >(result
));
31261 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
= 0;
31263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31265 wxString
*arg3
= 0 ;
31272 bool temp3
= false ;
31275 PyObject
* obj0
= 0 ;
31276 PyObject
* obj1
= 0 ;
31277 PyObject
* obj2
= 0 ;
31278 PyObject
* obj3
= 0 ;
31279 char * kwnames
[] = {
31280 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31285 if (!SWIG_IsOK(res1
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31288 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31289 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31290 if (!SWIG_IsOK(ecode2
)) {
31291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31293 arg2
= static_cast< long >(val2
);
31295 arg3
= wxString_in_helper(obj2
);
31296 if (arg3
== NULL
) SWIG_fail
;
31299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31300 if (!SWIG_IsOK(ecode4
)) {
31301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31303 arg4
= static_cast< int >(val4
);
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31307 wxPyEndAllowThreads(__tstate
);
31308 if (PyErr_Occurred()) SWIG_fail
;
31310 resultobj
= SWIG_From_long(static_cast< long >(result
));
31325 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31326 PyObject
*resultobj
= 0;
31327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31329 wxListItem
*arg3
= 0 ;
31337 PyObject
* obj0
= 0 ;
31338 PyObject
* obj1
= 0 ;
31339 PyObject
* obj2
= 0 ;
31340 char * kwnames
[] = {
31341 (char *) "self",(char *) "col",(char *) "info", NULL
31344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31346 if (!SWIG_IsOK(res1
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31349 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31350 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31351 if (!SWIG_IsOK(ecode2
)) {
31352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31354 arg2
= static_cast< long >(val2
);
31355 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31356 if (!SWIG_IsOK(res3
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31362 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31369 resultobj
= SWIG_From_long(static_cast< long >(result
));
31376 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31377 PyObject
*resultobj
= 0;
31378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31380 wxString
*arg3
= 0 ;
31381 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31382 int arg5
= (int) -1 ;
31388 bool temp3
= false ;
31393 PyObject
* obj0
= 0 ;
31394 PyObject
* obj1
= 0 ;
31395 PyObject
* obj2
= 0 ;
31396 PyObject
* obj3
= 0 ;
31397 PyObject
* obj4
= 0 ;
31398 char * kwnames
[] = {
31399 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31404 if (!SWIG_IsOK(res1
)) {
31405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31407 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31408 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31409 if (!SWIG_IsOK(ecode2
)) {
31410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31412 arg2
= static_cast< long >(val2
);
31414 arg3
= wxString_in_helper(obj2
);
31415 if (arg3
== NULL
) SWIG_fail
;
31419 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31420 if (!SWIG_IsOK(ecode4
)) {
31421 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31423 arg4
= static_cast< int >(val4
);
31426 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31427 if (!SWIG_IsOK(ecode5
)) {
31428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31430 arg5
= static_cast< int >(val5
);
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= SWIG_From_long(static_cast< long >(result
));
31453 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31454 PyObject
*resultobj
= 0;
31455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31461 PyObject
* obj0
= 0 ;
31462 PyObject
* obj1
= 0 ;
31463 char * kwnames
[] = {
31464 (char *) "self",(char *) "count", NULL
31467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31469 if (!SWIG_IsOK(res1
)) {
31470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31472 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31473 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31474 if (!SWIG_IsOK(ecode2
)) {
31475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31477 arg2
= static_cast< long >(val2
);
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->SetItemCount(arg2
);
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 resultobj
= SWIG_Py_Void();
31491 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
= 0;
31493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 PyObject
* obj2
= 0 ;
31506 char * kwnames
[] = {
31507 (char *) "self",(char *) "dx",(char *) "dy", NULL
31510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31512 if (!SWIG_IsOK(res1
)) {
31513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31515 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31517 if (!SWIG_IsOK(ecode2
)) {
31518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31520 arg2
= static_cast< int >(val2
);
31521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31522 if (!SWIG_IsOK(ecode3
)) {
31523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31525 arg3
= static_cast< int >(val3
);
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31541 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
= 0;
31543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31545 wxColour
*arg3
= 0 ;
31551 PyObject
* obj0
= 0 ;
31552 PyObject
* obj1
= 0 ;
31553 PyObject
* obj2
= 0 ;
31554 char * kwnames
[] = {
31555 (char *) "self",(char *) "item",(char *) "col", NULL
31558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31560 if (!SWIG_IsOK(res1
)) {
31561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31563 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31564 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31565 if (!SWIG_IsOK(ecode2
)) {
31566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31568 arg2
= static_cast< long >(val2
);
31571 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31579 resultobj
= SWIG_Py_Void();
31586 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31587 PyObject
*resultobj
= 0;
31588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31595 PyObject
* obj0
= 0 ;
31596 PyObject
* obj1
= 0 ;
31597 char * kwnames
[] = {
31598 (char *) "self",(char *) "item", NULL
31601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31603 if (!SWIG_IsOK(res1
)) {
31604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31606 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31607 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31608 if (!SWIG_IsOK(ecode2
)) {
31609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31611 arg2
= static_cast< long >(val2
);
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31625 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31626 PyObject
*resultobj
= 0;
31627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31629 wxColour
*arg3
= 0 ;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 PyObject
* obj2
= 0 ;
31638 char * kwnames
[] = {
31639 (char *) "self",(char *) "item",(char *) "col", NULL
31642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31644 if (!SWIG_IsOK(res1
)) {
31645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31647 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31649 if (!SWIG_IsOK(ecode2
)) {
31650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31652 arg2
= static_cast< long >(val2
);
31655 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31659 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31663 resultobj
= SWIG_Py_Void();
31670 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
= 0;
31672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31679 PyObject
* obj0
= 0 ;
31680 PyObject
* obj1
= 0 ;
31681 char * kwnames
[] = {
31682 (char *) "self",(char *) "item", NULL
31685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31687 if (!SWIG_IsOK(res1
)) {
31688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31690 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31691 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31692 if (!SWIG_IsOK(ecode2
)) {
31693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31695 arg2
= static_cast< long >(val2
);
31697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31698 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31699 wxPyEndAllowThreads(__tstate
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31709 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31710 PyObject
*resultobj
= 0;
31711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31720 PyObject
* obj0
= 0 ;
31721 PyObject
* obj1
= 0 ;
31722 PyObject
* obj2
= 0 ;
31723 char * kwnames
[] = {
31724 (char *) "self",(char *) "item",(char *) "f", NULL
31727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31729 if (!SWIG_IsOK(res1
)) {
31730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31732 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31733 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31734 if (!SWIG_IsOK(ecode2
)) {
31735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31737 arg2
= static_cast< long >(val2
);
31738 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31739 if (!SWIG_IsOK(res3
)) {
31740 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31745 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31752 resultobj
= SWIG_Py_Void();
31759 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
= 0;
31761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 PyObject
* obj1
= 0 ;
31770 char * kwnames
[] = {
31771 (char *) "self",(char *) "item", NULL
31774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31776 if (!SWIG_IsOK(res1
)) {
31777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31779 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31781 if (!SWIG_IsOK(ecode2
)) {
31782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31784 arg2
= static_cast< long >(val2
);
31786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31787 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31791 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31798 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31799 PyObject
*resultobj
= 0;
31800 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31801 PyObject
*arg2
= (PyObject
*) 0 ;
31805 PyObject
* obj0
= 0 ;
31806 PyObject
* obj1
= 0 ;
31807 char * kwnames
[] = {
31808 (char *) "self",(char *) "func", NULL
31811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31813 if (!SWIG_IsOK(res1
)) {
31814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31816 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31820 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31833 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31834 PyObject
*resultobj
= 0;
31835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31836 wxWindow
*result
= 0 ;
31839 PyObject
*swig_obj
[1] ;
31841 if (!args
) SWIG_fail
;
31842 swig_obj
[0] = args
;
31843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31844 if (!SWIG_IsOK(res1
)) {
31845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31847 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31855 resultobj
= wxPyMake_wxObject(result
, 0);
31863 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
= 0;
31865 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31866 SwigValueWrapper
<wxVisualAttributes
> result
;
31869 PyObject
* obj0
= 0 ;
31870 char * kwnames
[] = {
31871 (char *) "variant", NULL
31874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31876 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31877 if (!SWIG_IsOK(ecode1
)) {
31878 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31880 arg1
= static_cast< wxWindowVariant
>(val1
);
31883 if (!wxPyCheckForApp()) SWIG_fail
;
31884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31885 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31896 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31899 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31900 return SWIG_Py_Void();
31903 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31904 return SWIG_Python_InitShadowInstance(args
);
31907 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
= 0;
31909 wxWindow
*arg1
= (wxWindow
*) 0 ;
31910 int arg2
= (int) -1 ;
31911 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31912 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31913 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31914 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31915 long arg5
= (long) wxLC_REPORT
;
31916 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31917 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31918 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31919 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31920 wxListView
*result
= 0 ;
31931 bool temp7
= false ;
31932 PyObject
* obj0
= 0 ;
31933 PyObject
* obj1
= 0 ;
31934 PyObject
* obj2
= 0 ;
31935 PyObject
* obj3
= 0 ;
31936 PyObject
* obj4
= 0 ;
31937 PyObject
* obj5
= 0 ;
31938 PyObject
* obj6
= 0 ;
31939 char * kwnames
[] = {
31940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31945 if (!SWIG_IsOK(res1
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31948 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31951 if (!SWIG_IsOK(ecode2
)) {
31952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31954 arg2
= static_cast< int >(val2
);
31959 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31965 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31969 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31970 if (!SWIG_IsOK(ecode5
)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31973 arg5
= static_cast< long >(val5
);
31976 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31977 if (!SWIG_IsOK(res6
)) {
31978 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31983 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31987 arg7
= wxString_in_helper(obj6
);
31988 if (arg7
== NULL
) SWIG_fail
;
31993 if (!wxPyCheckForApp()) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32014 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32015 PyObject
*resultobj
= 0;
32016 wxListView
*result
= 0 ;
32018 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32020 if (!wxPyCheckForApp()) SWIG_fail
;
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 result
= (wxListView
*)new wxListView();
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32033 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
= 0;
32035 wxListView
*arg1
= (wxListView
*) 0 ;
32036 wxWindow
*arg2
= (wxWindow
*) 0 ;
32037 int arg3
= (int) -1 ;
32038 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32039 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32040 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32041 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32042 long arg6
= (long) wxLC_REPORT
;
32043 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32044 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32045 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32046 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32060 bool temp8
= 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 PyObject
* obj7
= 0 ;
32069 char * kwnames
[] = {
32070 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32075 if (!SWIG_IsOK(res1
)) {
32076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32078 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32080 if (!SWIG_IsOK(res2
)) {
32081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32083 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32086 if (!SWIG_IsOK(ecode3
)) {
32087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32089 arg3
= static_cast< int >(val3
);
32094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32104 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32105 if (!SWIG_IsOK(ecode6
)) {
32106 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32108 arg6
= static_cast< long >(val6
);
32111 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32112 if (!SWIG_IsOK(res7
)) {
32113 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32118 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32122 arg8
= wxString_in_helper(obj7
);
32123 if (arg8
== NULL
) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32150 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
= 0;
32152 wxListView
*arg1
= (wxListView
*) 0 ;
32154 bool arg3
= (bool) true ;
32161 PyObject
* obj0
= 0 ;
32162 PyObject
* obj1
= 0 ;
32163 PyObject
* obj2
= 0 ;
32164 char * kwnames
[] = {
32165 (char *) "self",(char *) "n",(char *) "on", NULL
32168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32170 if (!SWIG_IsOK(res1
)) {
32171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32173 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32174 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32175 if (!SWIG_IsOK(ecode2
)) {
32176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32178 arg2
= static_cast< long >(val2
);
32180 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32181 if (!SWIG_IsOK(ecode3
)) {
32182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32184 arg3
= static_cast< bool >(val3
);
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32188 (arg1
)->Select(arg2
,arg3
);
32189 wxPyEndAllowThreads(__tstate
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32192 resultobj
= SWIG_Py_Void();
32199 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32200 PyObject
*resultobj
= 0;
32201 wxListView
*arg1
= (wxListView
*) 0 ;
32207 PyObject
* obj0
= 0 ;
32208 PyObject
* obj1
= 0 ;
32209 char * kwnames
[] = {
32210 (char *) "self",(char *) "index", NULL
32213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32215 if (!SWIG_IsOK(res1
)) {
32216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32218 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32219 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32220 if (!SWIG_IsOK(ecode2
)) {
32221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32223 arg2
= static_cast< long >(val2
);
32225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32226 (arg1
)->Focus(arg2
);
32227 wxPyEndAllowThreads(__tstate
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32230 resultobj
= SWIG_Py_Void();
32237 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32238 PyObject
*resultobj
= 0;
32239 wxListView
*arg1
= (wxListView
*) 0 ;
32243 PyObject
*swig_obj
[1] ;
32245 if (!args
) SWIG_fail
;
32246 swig_obj
[0] = args
;
32247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32248 if (!SWIG_IsOK(res1
)) {
32249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32251 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= SWIG_From_long(static_cast< long >(result
));
32265 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32266 PyObject
*resultobj
= 0;
32267 wxListView
*arg1
= (wxListView
*) 0 ;
32274 PyObject
* obj0
= 0 ;
32275 PyObject
* obj1
= 0 ;
32276 char * kwnames
[] = {
32277 (char *) "self",(char *) "item", NULL
32280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32282 if (!SWIG_IsOK(res1
)) {
32283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32285 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32287 if (!SWIG_IsOK(ecode2
)) {
32288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32290 arg2
= static_cast< long >(val2
);
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= SWIG_From_long(static_cast< long >(result
));
32304 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32305 PyObject
*resultobj
= 0;
32306 wxListView
*arg1
= (wxListView
*) 0 ;
32310 PyObject
*swig_obj
[1] ;
32312 if (!args
) SWIG_fail
;
32313 swig_obj
[0] = args
;
32314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32315 if (!SWIG_IsOK(res1
)) {
32316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32318 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32321 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32322 wxPyEndAllowThreads(__tstate
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32325 resultobj
= SWIG_From_long(static_cast< long >(result
));
32332 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32333 PyObject
*resultobj
= 0;
32334 wxListView
*arg1
= (wxListView
*) 0 ;
32341 PyObject
* obj0
= 0 ;
32342 PyObject
* obj1
= 0 ;
32343 char * kwnames
[] = {
32344 (char *) "self",(char *) "index", NULL
32347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32349 if (!SWIG_IsOK(res1
)) {
32350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32352 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32353 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32354 if (!SWIG_IsOK(ecode2
)) {
32355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32357 arg2
= static_cast< long >(val2
);
32359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32360 result
= (bool)(arg1
)->IsSelected(arg2
);
32361 wxPyEndAllowThreads(__tstate
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32373 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32374 PyObject
*resultobj
= 0;
32375 wxListView
*arg1
= (wxListView
*) 0 ;
32384 PyObject
* obj0
= 0 ;
32385 PyObject
* obj1
= 0 ;
32386 PyObject
* obj2
= 0 ;
32387 char * kwnames
[] = {
32388 (char *) "self",(char *) "col",(char *) "image", NULL
32391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32393 if (!SWIG_IsOK(res1
)) {
32394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32396 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32398 if (!SWIG_IsOK(ecode2
)) {
32399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32401 arg2
= static_cast< int >(val2
);
32402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32403 if (!SWIG_IsOK(ecode3
)) {
32404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32406 arg3
= static_cast< int >(val3
);
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 (arg1
)->SetColumnImage(arg2
,arg3
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32413 resultobj
= SWIG_Py_Void();
32420 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
= 0;
32422 wxListView
*arg1
= (wxListView
*) 0 ;
32428 PyObject
* obj0
= 0 ;
32429 PyObject
* obj1
= 0 ;
32430 char * kwnames
[] = {
32431 (char *) "self",(char *) "col", NULL
32434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32436 if (!SWIG_IsOK(res1
)) {
32437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32439 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32441 if (!SWIG_IsOK(ecode2
)) {
32442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32444 arg2
= static_cast< int >(val2
);
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 (arg1
)->ClearColumnImage(arg2
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= SWIG_Py_Void();
32458 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32461 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32462 return SWIG_Py_Void();
32465 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32466 return SWIG_Python_InitShadowInstance(args
);
32469 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32470 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32475 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32476 PyObject
*pyobj
= 0;
32480 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32482 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32489 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32490 PyObject
*resultobj
= 0;
32491 wxTreeItemId
*result
= 0 ;
32493 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32496 result
= (wxTreeItemId
*)new wxTreeItemId();
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32507 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32508 PyObject
*resultobj
= 0;
32509 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32512 PyObject
*swig_obj
[1] ;
32514 if (!args
) SWIG_fail
;
32515 swig_obj
[0] = args
;
32516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32517 if (!SWIG_IsOK(res1
)) {
32518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32520 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32528 resultobj
= SWIG_Py_Void();
32535 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 PyObject
*resultobj
= 0;
32537 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32541 PyObject
*swig_obj
[1] ;
32543 if (!args
) SWIG_fail
;
32544 swig_obj
[0] = args
;
32545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32549 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32552 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32565 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32566 PyObject
*resultobj
= 0;
32567 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32568 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32574 PyObject
* obj0
= 0 ;
32575 PyObject
* obj1
= 0 ;
32576 char * kwnames
[] = {
32577 (char *) "self",(char *) "other", NULL
32580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32582 if (!SWIG_IsOK(res1
)) {
32583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32585 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32587 if (!SWIG_IsOK(res2
)) {
32588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32590 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32593 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32594 wxPyEndAllowThreads(__tstate
);
32595 if (PyErr_Occurred()) SWIG_fail
;
32598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32606 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32607 PyObject
*resultobj
= 0;
32608 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32609 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 PyObject
* obj1
= 0 ;
32617 char * kwnames
[] = {
32618 (char *) "self",(char *) "other", NULL
32621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32623 if (!SWIG_IsOK(res1
)) {
32624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32626 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32628 if (!SWIG_IsOK(res2
)) {
32629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32631 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32647 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32648 PyObject
*resultobj
= 0;
32649 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32650 void *arg2
= (void *) 0 ;
32654 PyObject
*swig_obj
[2] ;
32656 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32658 if (!SWIG_IsOK(res1
)) {
32659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32661 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32662 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32663 if (!SWIG_IsOK(res2
)) {
32664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32666 if (arg1
) (arg1
)->m_pItem
= arg2
;
32668 resultobj
= SWIG_Py_Void();
32675 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32676 PyObject
*resultobj
= 0;
32677 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32681 PyObject
*swig_obj
[1] ;
32683 if (!args
) SWIG_fail
;
32684 swig_obj
[0] = args
;
32685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32686 if (!SWIG_IsOK(res1
)) {
32687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32689 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32690 result
= (void *) ((arg1
)->m_pItem
);
32691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32698 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32701 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32702 return SWIG_Py_Void();
32705 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 return SWIG_Python_InitShadowInstance(args
);
32709 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
= 0;
32711 PyObject
*arg1
= (PyObject
*) NULL
;
32712 wxPyTreeItemData
*result
= 0 ;
32713 PyObject
* obj0
= 0 ;
32714 char * kwnames
[] = {
32715 (char *) "obj", NULL
32718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32724 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32735 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32736 PyObject
*resultobj
= 0;
32737 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32740 PyObject
*swig_obj
[1] ;
32742 if (!args
) SWIG_fail
;
32743 swig_obj
[0] = args
;
32744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32745 if (!SWIG_IsOK(res1
)) {
32746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32748 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= SWIG_Py_Void();
32763 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32764 PyObject
*resultobj
= 0;
32765 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32766 PyObject
*result
= 0 ;
32769 PyObject
*swig_obj
[1] ;
32771 if (!args
) SWIG_fail
;
32772 swig_obj
[0] = args
;
32773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32774 if (!SWIG_IsOK(res1
)) {
32775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32777 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 result
= (PyObject
*)(arg1
)->GetData();
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 resultobj
= result
;
32791 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32792 PyObject
*resultobj
= 0;
32793 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32794 PyObject
*arg2
= (PyObject
*) 0 ;
32797 PyObject
* obj0
= 0 ;
32798 PyObject
* obj1
= 0 ;
32799 char * kwnames
[] = {
32800 (char *) "self",(char *) "obj", NULL
32803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32805 if (!SWIG_IsOK(res1
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32808 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 (arg1
)->SetData(arg2
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 resultobj
= SWIG_Py_Void();
32823 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32824 PyObject
*resultobj
= 0;
32825 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32826 wxTreeItemId
*result
= 0 ;
32829 PyObject
*swig_obj
[1] ;
32831 if (!args
) SWIG_fail
;
32832 swig_obj
[0] = args
;
32833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32834 if (!SWIG_IsOK(res1
)) {
32835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32837 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32842 result
= (wxTreeItemId
*) &_result_ref
;
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32854 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
= 0;
32856 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32857 wxTreeItemId
*arg2
= 0 ;
32862 PyObject
* obj0
= 0 ;
32863 PyObject
* obj1
= 0 ;
32864 char * kwnames
[] = {
32865 (char *) "self",(char *) "id", NULL
32868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32870 if (!SWIG_IsOK(res1
)) {
32871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32873 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32875 if (!SWIG_IsOK(res2
)) {
32876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32881 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32884 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32888 resultobj
= SWIG_Py_Void();
32895 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32896 PyObject
*resultobj
= 0;
32897 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32900 PyObject
*swig_obj
[1] ;
32902 if (!args
) SWIG_fail
;
32903 swig_obj
[0] = args
;
32904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32905 if (!SWIG_IsOK(res1
)) {
32906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32908 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 wxPyTreeItemData_Destroy(arg1
);
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 resultobj
= SWIG_Py_Void();
32922 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32925 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32926 return SWIG_Py_Void();
32929 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32930 return SWIG_Python_InitShadowInstance(args
);
32933 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32936 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32937 if (!SWIG_IsOK(res
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32943 wxTreeItemId
* temp
;
32944 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32945 wxNullTreeItemId
= *temp
;
32946 if (SWIG_IsNewObj(res
)) delete temp
;
32955 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32956 PyObject
*pyobj
= 0;
32958 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32963 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32964 PyObject
*resultobj
= 0;
32965 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32966 int arg2
= (int) 0 ;
32967 wxTreeEvent
*result
= 0 ;
32973 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32975 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32976 if (!SWIG_IsOK(ecode1
)) {
32977 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32979 arg1
= static_cast< wxEventType
>(val1
);
32982 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32983 if (!SWIG_IsOK(ecode2
)) {
32984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32986 arg2
= static_cast< int >(val2
);
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32990 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33001 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33002 PyObject
*resultobj
= 0;
33004 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33005 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33006 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33007 wxTreeEvent
*result
= 0 ;
33015 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33016 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33017 if (!SWIG_IsOK(ecode1
)) {
33018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33020 arg1
= static_cast< wxEventType
>(val1
);
33021 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33022 if (!SWIG_IsOK(res2
)) {
33023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33025 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33027 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33028 if (!SWIG_IsOK(res3
)) {
33029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33034 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33038 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33049 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33053 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33055 if ((argc
>= 0) && (argc
<= 2)) {
33060 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33061 _v
= SWIG_CheckState(res
);
33064 if (!_v
) goto check_1
;
33066 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33070 if ((argc
>= 2) && (argc
<= 3)) {
33071 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33075 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33080 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33081 PyObject
*resultobj
= 0;
33082 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33083 wxTreeItemId result
;
33086 PyObject
*swig_obj
[1] ;
33088 if (!args
) SWIG_fail
;
33089 swig_obj
[0] = args
;
33090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33091 if (!SWIG_IsOK(res1
)) {
33092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33094 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33098 wxPyEndAllowThreads(__tstate
);
33099 if (PyErr_Occurred()) SWIG_fail
;
33101 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33108 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33109 PyObject
*resultobj
= 0;
33110 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33111 wxTreeItemId
*arg2
= 0 ;
33116 PyObject
* obj0
= 0 ;
33117 PyObject
* obj1
= 0 ;
33118 char * kwnames
[] = {
33119 (char *) "self",(char *) "item", NULL
33122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33124 if (!SWIG_IsOK(res1
)) {
33125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33127 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33129 if (!SWIG_IsOK(res2
)) {
33130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33135 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= SWIG_Py_Void();
33149 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33150 PyObject
*resultobj
= 0;
33151 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33152 wxTreeItemId result
;
33155 PyObject
*swig_obj
[1] ;
33157 if (!args
) SWIG_fail
;
33158 swig_obj
[0] = args
;
33159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33160 if (!SWIG_IsOK(res1
)) {
33161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33163 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33166 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33167 wxPyEndAllowThreads(__tstate
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33170 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33177 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33178 PyObject
*resultobj
= 0;
33179 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33180 wxTreeItemId
*arg2
= 0 ;
33185 PyObject
* obj0
= 0 ;
33186 PyObject
* obj1
= 0 ;
33187 char * kwnames
[] = {
33188 (char *) "self",(char *) "item", NULL
33191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33193 if (!SWIG_IsOK(res1
)) {
33194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33196 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33198 if (!SWIG_IsOK(res2
)) {
33199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33204 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33208 wxPyEndAllowThreads(__tstate
);
33209 if (PyErr_Occurred()) SWIG_fail
;
33211 resultobj
= SWIG_Py_Void();
33218 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33219 PyObject
*resultobj
= 0;
33220 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33224 PyObject
*swig_obj
[1] ;
33226 if (!args
) SWIG_fail
;
33227 swig_obj
[0] = args
;
33228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33229 if (!SWIG_IsOK(res1
)) {
33230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33232 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33235 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33246 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
= 0;
33248 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33249 wxPoint
*arg2
= 0 ;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 char * kwnames
[] = {
33256 (char *) "self",(char *) "pt", NULL
33259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33261 if (!SWIG_IsOK(res1
)) {
33262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33264 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33275 resultobj
= SWIG_Py_Void();
33282 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33283 PyObject
*resultobj
= 0;
33284 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33285 wxKeyEvent
*result
= 0 ;
33288 PyObject
*swig_obj
[1] ;
33290 if (!args
) SWIG_fail
;
33291 swig_obj
[0] = args
;
33292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33293 if (!SWIG_IsOK(res1
)) {
33294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33296 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33300 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33301 result
= (wxKeyEvent
*) &_result_ref
;
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33313 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33314 PyObject
*resultobj
= 0;
33315 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33319 PyObject
*swig_obj
[1] ;
33321 if (!args
) SWIG_fail
;
33322 swig_obj
[0] = args
;
33323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33324 if (!SWIG_IsOK(res1
)) {
33325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33327 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33330 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33334 resultobj
= SWIG_From_int(static_cast< int >(result
));
33341 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33342 PyObject
*resultobj
= 0;
33343 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33344 wxKeyEvent
*arg2
= 0 ;
33349 PyObject
* obj0
= 0 ;
33350 PyObject
* obj1
= 0 ;
33351 char * kwnames
[] = {
33352 (char *) "self",(char *) "evt", NULL
33355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33357 if (!SWIG_IsOK(res1
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33360 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33362 if (!SWIG_IsOK(res2
)) {
33363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33368 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_Py_Void();
33382 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33383 PyObject
*resultobj
= 0;
33384 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33385 wxString
*result
= 0 ;
33388 PyObject
*swig_obj
[1] ;
33390 if (!args
) SWIG_fail
;
33391 swig_obj
[0] = args
;
33392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33393 if (!SWIG_IsOK(res1
)) {
33394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33396 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33401 result
= (wxString
*) &_result_ref
;
33403 wxPyEndAllowThreads(__tstate
);
33404 if (PyErr_Occurred()) SWIG_fail
;
33408 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33410 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33419 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33420 PyObject
*resultobj
= 0;
33421 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33422 wxString
*arg2
= 0 ;
33425 bool temp2
= false ;
33426 PyObject
* obj0
= 0 ;
33427 PyObject
* obj1
= 0 ;
33428 char * kwnames
[] = {
33429 (char *) "self",(char *) "label", NULL
33432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33434 if (!SWIG_IsOK(res1
)) {
33435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33437 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33439 arg2
= wxString_in_helper(obj1
);
33440 if (arg2
== NULL
) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 (arg1
)->SetLabel((wxString
const &)*arg2
);
33446 wxPyEndAllowThreads(__tstate
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33449 resultobj
= SWIG_Py_Void();
33464 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33465 PyObject
*resultobj
= 0;
33466 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33470 PyObject
*swig_obj
[1] ;
33472 if (!args
) SWIG_fail
;
33473 swig_obj
[0] = args
;
33474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33475 if (!SWIG_IsOK(res1
)) {
33476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33478 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33482 wxPyEndAllowThreads(__tstate
);
33483 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33494 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33495 PyObject
*resultobj
= 0;
33496 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 char * kwnames
[] = {
33505 (char *) "self",(char *) "editCancelled", NULL
33508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33510 if (!SWIG_IsOK(res1
)) {
33511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33513 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33514 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33515 if (!SWIG_IsOK(ecode2
)) {
33516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33518 arg2
= static_cast< bool >(val2
);
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 (arg1
)->SetEditCanceled(arg2
);
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33525 resultobj
= SWIG_Py_Void();
33532 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
= 0;
33534 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33535 wxString
*arg2
= 0 ;
33538 bool temp2
= false ;
33539 PyObject
* obj0
= 0 ;
33540 PyObject
* obj1
= 0 ;
33541 char * kwnames
[] = {
33542 (char *) "self",(char *) "toolTip", NULL
33545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33547 if (!SWIG_IsOK(res1
)) {
33548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33550 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33552 arg2
= wxString_in_helper(obj1
);
33553 if (arg2
== NULL
) SWIG_fail
;
33557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33558 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33559 wxPyEndAllowThreads(__tstate
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33562 resultobj
= SWIG_Py_Void();
33577 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33578 PyObject
*resultobj
= 0;
33579 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33583 PyObject
*swig_obj
[1] ;
33585 if (!args
) SWIG_fail
;
33586 swig_obj
[0] = args
;
33587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33588 if (!SWIG_IsOK(res1
)) {
33589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33591 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 result
= (arg1
)->GetToolTip();
33595 wxPyEndAllowThreads(__tstate
);
33596 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33611 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33614 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33615 return SWIG_Py_Void();
33618 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33619 return SWIG_Python_InitShadowInstance(args
);
33622 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33623 PyObject
*resultobj
= 0;
33624 wxWindow
*arg1
= (wxWindow
*) 0 ;
33625 int arg2
= (int) -1 ;
33626 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33627 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33628 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33629 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33630 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33631 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33632 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33633 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33634 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33635 wxPyTreeCtrl
*result
= 0 ;
33646 bool temp7
= false ;
33647 PyObject
* obj0
= 0 ;
33648 PyObject
* obj1
= 0 ;
33649 PyObject
* obj2
= 0 ;
33650 PyObject
* obj3
= 0 ;
33651 PyObject
* obj4
= 0 ;
33652 PyObject
* obj5
= 0 ;
33653 PyObject
* obj6
= 0 ;
33654 char * kwnames
[] = {
33655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33660 if (!SWIG_IsOK(res1
)) {
33661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33663 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33666 if (!SWIG_IsOK(ecode2
)) {
33667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33669 arg2
= static_cast< int >(val2
);
33674 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33680 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33684 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33685 if (!SWIG_IsOK(ecode5
)) {
33686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33688 arg5
= static_cast< long >(val5
);
33691 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33692 if (!SWIG_IsOK(res6
)) {
33693 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33698 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33702 arg7
= wxString_in_helper(obj6
);
33703 if (arg7
== NULL
) SWIG_fail
;
33708 if (!wxPyCheckForApp()) SWIG_fail
;
33709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33710 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33711 wxPyEndAllowThreads(__tstate
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33729 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33730 PyObject
*resultobj
= 0;
33731 wxPyTreeCtrl
*result
= 0 ;
33733 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33735 if (!wxPyCheckForApp()) SWIG_fail
;
33736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33737 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33738 wxPyEndAllowThreads(__tstate
);
33739 if (PyErr_Occurred()) SWIG_fail
;
33741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33748 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33749 PyObject
*resultobj
= 0;
33750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33751 wxWindow
*arg2
= (wxWindow
*) 0 ;
33752 int arg3
= (int) -1 ;
33753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33757 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33758 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33759 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33760 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33761 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33775 bool temp8
= 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 PyObject
* obj7
= 0 ;
33784 char * kwnames
[] = {
33785 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33790 if (!SWIG_IsOK(res1
)) {
33791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33793 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33795 if (!SWIG_IsOK(res2
)) {
33796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33798 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33801 if (!SWIG_IsOK(ecode3
)) {
33802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33804 arg3
= static_cast< int >(val3
);
33809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33819 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33820 if (!SWIG_IsOK(ecode6
)) {
33821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33823 arg6
= static_cast< long >(val6
);
33826 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33827 if (!SWIG_IsOK(res7
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33833 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33837 arg8
= wxString_in_helper(obj7
);
33838 if (arg8
== NULL
) SWIG_fail
;
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33845 wxPyEndAllowThreads(__tstate
);
33846 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33865 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
= 0;
33867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33868 PyObject
*arg2
= (PyObject
*) 0 ;
33869 PyObject
*arg3
= (PyObject
*) 0 ;
33872 PyObject
* obj0
= 0 ;
33873 PyObject
* obj1
= 0 ;
33874 PyObject
* obj2
= 0 ;
33875 char * kwnames
[] = {
33876 (char *) "self",(char *) "self",(char *) "_class", NULL
33879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33881 if (!SWIG_IsOK(res1
)) {
33882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33884 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33889 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33890 wxPyEndAllowThreads(__tstate
);
33891 if (PyErr_Occurred()) SWIG_fail
;
33893 resultobj
= SWIG_Py_Void();
33900 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33901 PyObject
*resultobj
= 0;
33902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33903 unsigned int result
;
33906 PyObject
*swig_obj
[1] ;
33908 if (!args
) SWIG_fail
;
33909 swig_obj
[0] = args
;
33910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33911 if (!SWIG_IsOK(res1
)) {
33912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33914 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33917 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33918 wxPyEndAllowThreads(__tstate
);
33919 if (PyErr_Occurred()) SWIG_fail
;
33921 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33928 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33929 PyObject
*resultobj
= 0;
33930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33931 unsigned int result
;
33934 PyObject
*swig_obj
[1] ;
33936 if (!args
) SWIG_fail
;
33937 swig_obj
[0] = args
;
33938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33939 if (!SWIG_IsOK(res1
)) {
33940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33942 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33949 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33956 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33957 PyObject
*resultobj
= 0;
33958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33959 unsigned int arg2
;
33962 unsigned int val2
;
33964 PyObject
* obj0
= 0 ;
33965 PyObject
* obj1
= 0 ;
33966 char * kwnames
[] = {
33967 (char *) "self",(char *) "indent", NULL
33970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33972 if (!SWIG_IsOK(res1
)) {
33973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33975 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33976 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33977 if (!SWIG_IsOK(ecode2
)) {
33978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33980 arg2
= static_cast< unsigned int >(val2
);
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 (arg1
)->SetIndent(arg2
);
33984 wxPyEndAllowThreads(__tstate
);
33985 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= SWIG_Py_Void();
33994 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33995 PyObject
*resultobj
= 0;
33996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33997 unsigned int result
;
34000 PyObject
*swig_obj
[1] ;
34002 if (!args
) SWIG_fail
;
34003 swig_obj
[0] = args
;
34004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34005 if (!SWIG_IsOK(res1
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34008 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34022 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34023 PyObject
*resultobj
= 0;
34024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34025 unsigned int arg2
;
34028 unsigned int val2
;
34030 PyObject
* obj0
= 0 ;
34031 PyObject
* obj1
= 0 ;
34032 char * kwnames
[] = {
34033 (char *) "self",(char *) "spacing", NULL
34036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34038 if (!SWIG_IsOK(res1
)) {
34039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34041 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34042 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34043 if (!SWIG_IsOK(ecode2
)) {
34044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34046 arg2
= static_cast< unsigned int >(val2
);
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 (arg1
)->SetSpacing(arg2
);
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= SWIG_Py_Void();
34060 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34061 PyObject
*resultobj
= 0;
34062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34063 wxImageList
*result
= 0 ;
34066 PyObject
*swig_obj
[1] ;
34068 if (!args
) SWIG_fail
;
34069 swig_obj
[0] = args
;
34070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34071 if (!SWIG_IsOK(res1
)) {
34072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34074 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34077 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34078 wxPyEndAllowThreads(__tstate
);
34079 if (PyErr_Occurred()) SWIG_fail
;
34082 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34090 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34091 PyObject
*resultobj
= 0;
34092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34093 wxImageList
*result
= 0 ;
34096 PyObject
*swig_obj
[1] ;
34098 if (!args
) SWIG_fail
;
34099 swig_obj
[0] = args
;
34100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34101 if (!SWIG_IsOK(res1
)) {
34102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34104 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34108 wxPyEndAllowThreads(__tstate
);
34109 if (PyErr_Occurred()) SWIG_fail
;
34112 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34120 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34121 PyObject
*resultobj
= 0;
34122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34123 wxImageList
*arg2
= (wxImageList
*) 0 ;
34128 PyObject
* obj0
= 0 ;
34129 PyObject
* obj1
= 0 ;
34130 char * kwnames
[] = {
34131 (char *) "self",(char *) "imageList", NULL
34134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34136 if (!SWIG_IsOK(res1
)) {
34137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34139 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34141 if (!SWIG_IsOK(res2
)) {
34142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34144 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 (arg1
)->SetImageList(arg2
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_Py_Void();
34158 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
= 0;
34160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34161 wxImageList
*arg2
= (wxImageList
*) 0 ;
34166 PyObject
* obj0
= 0 ;
34167 PyObject
* obj1
= 0 ;
34168 char * kwnames
[] = {
34169 (char *) "self",(char *) "imageList", NULL
34172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34174 if (!SWIG_IsOK(res1
)) {
34175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34177 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34179 if (!SWIG_IsOK(res2
)) {
34180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34182 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 (arg1
)->SetStateImageList(arg2
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= SWIG_Py_Void();
34196 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
= 0;
34198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34199 wxImageList
*arg2
= (wxImageList
*) 0 ;
34203 PyObject
* obj0
= 0 ;
34204 PyObject
* obj1
= 0 ;
34205 char * kwnames
[] = {
34206 (char *) "self",(char *) "imageList", NULL
34209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34211 if (!SWIG_IsOK(res1
)) {
34212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34214 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34215 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34216 if (!SWIG_IsOK(res2
)) {
34217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 (arg1
)->AssignImageList(arg2
);
34222 wxPyEndAllowThreads(__tstate
);
34223 if (PyErr_Occurred()) SWIG_fail
;
34225 resultobj
= SWIG_Py_Void();
34232 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
= 0;
34234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34235 wxImageList
*arg2
= (wxImageList
*) 0 ;
34239 PyObject
* obj0
= 0 ;
34240 PyObject
* obj1
= 0 ;
34241 char * kwnames
[] = {
34242 (char *) "self",(char *) "imageList", NULL
34245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34247 if (!SWIG_IsOK(res1
)) {
34248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34250 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34251 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34252 if (!SWIG_IsOK(res2
)) {
34253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 (arg1
)->AssignStateImageList(arg2
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_Py_Void();
34268 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
= 0;
34270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34271 wxTreeItemId
*arg2
= 0 ;
34277 PyObject
* obj0
= 0 ;
34278 PyObject
* obj1
= 0 ;
34279 char * kwnames
[] = {
34280 (char *) "self",(char *) "item", NULL
34283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34285 if (!SWIG_IsOK(res1
)) {
34286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34288 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34290 if (!SWIG_IsOK(res2
)) {
34291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34296 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34299 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34300 wxPyEndAllowThreads(__tstate
);
34301 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34316 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34317 PyObject
*resultobj
= 0;
34318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34319 wxTreeItemId
*arg2
= 0 ;
34320 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34328 PyObject
* obj0
= 0 ;
34329 PyObject
* obj1
= 0 ;
34330 PyObject
* obj2
= 0 ;
34331 char * kwnames
[] = {
34332 (char *) "self",(char *) "item",(char *) "which", NULL
34335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34337 if (!SWIG_IsOK(res1
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34340 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34342 if (!SWIG_IsOK(res2
)) {
34343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34348 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34351 if (!SWIG_IsOK(ecode3
)) {
34352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34354 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34358 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34359 wxPyEndAllowThreads(__tstate
);
34360 if (PyErr_Occurred()) SWIG_fail
;
34362 resultobj
= SWIG_From_int(static_cast< int >(result
));
34369 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34370 PyObject
*resultobj
= 0;
34371 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34372 wxTreeItemId
*arg2
= 0 ;
34373 wxPyTreeItemData
*result
= 0 ;
34378 PyObject
* obj0
= 0 ;
34379 PyObject
* obj1
= 0 ;
34380 char * kwnames
[] = {
34381 (char *) "self",(char *) "item", NULL
34384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34386 if (!SWIG_IsOK(res1
)) {
34387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34389 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34391 if (!SWIG_IsOK(res2
)) {
34392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34397 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34411 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34412 PyObject
*resultobj
= 0;
34413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34414 wxTreeItemId
*arg2
= 0 ;
34415 PyObject
*result
= 0 ;
34420 PyObject
* obj0
= 0 ;
34421 PyObject
* obj1
= 0 ;
34422 char * kwnames
[] = {
34423 (char *) "self",(char *) "item", NULL
34426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34428 if (!SWIG_IsOK(res1
)) {
34429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34431 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34433 if (!SWIG_IsOK(res2
)) {
34434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34439 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34442 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= result
;
34453 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
= 0;
34455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34456 wxTreeItemId
*arg2
= 0 ;
34462 PyObject
* obj0
= 0 ;
34463 PyObject
* obj1
= 0 ;
34464 char * kwnames
[] = {
34465 (char *) "self",(char *) "item", NULL
34468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34470 if (!SWIG_IsOK(res1
)) {
34471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34473 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34475 if (!SWIG_IsOK(res2
)) {
34476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34481 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34484 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34485 wxPyEndAllowThreads(__tstate
);
34486 if (PyErr_Occurred()) SWIG_fail
;
34488 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34495 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34496 PyObject
*resultobj
= 0;
34497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34498 wxTreeItemId
*arg2
= 0 ;
34504 PyObject
* obj0
= 0 ;
34505 PyObject
* obj1
= 0 ;
34506 char * kwnames
[] = {
34507 (char *) "self",(char *) "item", NULL
34510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34512 if (!SWIG_IsOK(res1
)) {
34513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34515 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34517 if (!SWIG_IsOK(res2
)) {
34518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34523 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34526 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34527 wxPyEndAllowThreads(__tstate
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34530 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34537 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
= 0;
34539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34540 wxTreeItemId
*arg2
= 0 ;
34546 PyObject
* obj0
= 0 ;
34547 PyObject
* obj1
= 0 ;
34548 char * kwnames
[] = {
34549 (char *) "self",(char *) "item", NULL
34552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34554 if (!SWIG_IsOK(res1
)) {
34555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34557 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34559 if (!SWIG_IsOK(res2
)) {
34560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34565 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34569 wxPyEndAllowThreads(__tstate
);
34570 if (PyErr_Occurred()) SWIG_fail
;
34572 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34579 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34580 PyObject
*resultobj
= 0;
34581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34582 wxTreeItemId
*arg2
= 0 ;
34583 wxString
*arg3
= 0 ;
34588 bool temp3
= false ;
34589 PyObject
* obj0
= 0 ;
34590 PyObject
* obj1
= 0 ;
34591 PyObject
* obj2
= 0 ;
34592 char * kwnames
[] = {
34593 (char *) "self",(char *) "item",(char *) "text", NULL
34596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34598 if (!SWIG_IsOK(res1
)) {
34599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34601 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34603 if (!SWIG_IsOK(res2
)) {
34604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34609 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34611 arg3
= wxString_in_helper(obj2
);
34612 if (arg3
== NULL
) SWIG_fail
;
34616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34617 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34618 wxPyEndAllowThreads(__tstate
);
34619 if (PyErr_Occurred()) SWIG_fail
;
34621 resultobj
= SWIG_Py_Void();
34636 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34637 PyObject
*resultobj
= 0;
34638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34639 wxTreeItemId
*arg2
= 0 ;
34641 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34650 PyObject
* obj0
= 0 ;
34651 PyObject
* obj1
= 0 ;
34652 PyObject
* obj2
= 0 ;
34653 PyObject
* obj3
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34665 if (!SWIG_IsOK(res2
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34673 if (!SWIG_IsOK(ecode3
)) {
34674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34676 arg3
= static_cast< int >(val3
);
34678 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34679 if (!SWIG_IsOK(ecode4
)) {
34680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34682 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= SWIG_Py_Void();
34697 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
= 0;
34699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34700 wxTreeItemId
*arg2
= 0 ;
34701 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34707 PyObject
* obj0
= 0 ;
34708 PyObject
* obj1
= 0 ;
34709 PyObject
* obj2
= 0 ;
34710 char * kwnames
[] = {
34711 (char *) "self",(char *) "item",(char *) "data", NULL
34714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34716 if (!SWIG_IsOK(res1
)) {
34717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34719 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34721 if (!SWIG_IsOK(res2
)) {
34722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34727 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34728 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34729 if (!SWIG_IsOK(res3
)) {
34730 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34734 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34738 resultobj
= SWIG_Py_Void();
34745 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
= 0;
34747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34748 wxTreeItemId
*arg2
= 0 ;
34749 PyObject
*arg3
= (PyObject
*) 0 ;
34754 PyObject
* obj0
= 0 ;
34755 PyObject
* obj1
= 0 ;
34756 PyObject
* obj2
= 0 ;
34757 char * kwnames
[] = {
34758 (char *) "self",(char *) "item",(char *) "obj", NULL
34761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34763 if (!SWIG_IsOK(res1
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34766 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34768 if (!SWIG_IsOK(res2
)) {
34769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34774 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34778 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34779 wxPyEndAllowThreads(__tstate
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34782 resultobj
= SWIG_Py_Void();
34789 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34790 PyObject
*resultobj
= 0;
34791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34792 wxTreeItemId
*arg2
= 0 ;
34793 bool arg3
= (bool) true ;
34800 PyObject
* obj0
= 0 ;
34801 PyObject
* obj1
= 0 ;
34802 PyObject
* obj2
= 0 ;
34803 char * kwnames
[] = {
34804 (char *) "self",(char *) "item",(char *) "has", NULL
34807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34809 if (!SWIG_IsOK(res1
)) {
34810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34812 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34814 if (!SWIG_IsOK(res2
)) {
34815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34820 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34822 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34823 if (!SWIG_IsOK(ecode3
)) {
34824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34826 arg3
= static_cast< bool >(val3
);
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34834 resultobj
= SWIG_Py_Void();
34841 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34842 PyObject
*resultobj
= 0;
34843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34844 wxTreeItemId
*arg2
= 0 ;
34845 bool arg3
= (bool) true ;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 PyObject
* obj2
= 0 ;
34855 char * kwnames
[] = {
34856 (char *) "self",(char *) "item",(char *) "bold", NULL
34859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34861 if (!SWIG_IsOK(res1
)) {
34862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34864 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34866 if (!SWIG_IsOK(res2
)) {
34867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34872 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34874 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34875 if (!SWIG_IsOK(ecode3
)) {
34876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34878 arg3
= static_cast< bool >(val3
);
34881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34882 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34883 wxPyEndAllowThreads(__tstate
);
34884 if (PyErr_Occurred()) SWIG_fail
;
34886 resultobj
= SWIG_Py_Void();
34893 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34894 PyObject
*resultobj
= 0;
34895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34896 wxTreeItemId
*arg2
= 0 ;
34897 bool arg3
= (bool) true ;
34904 PyObject
* obj0
= 0 ;
34905 PyObject
* obj1
= 0 ;
34906 PyObject
* obj2
= 0 ;
34907 char * kwnames
[] = {
34908 (char *) "self",(char *) "item",(char *) "highlight", NULL
34911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34913 if (!SWIG_IsOK(res1
)) {
34914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34918 if (!SWIG_IsOK(res2
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34924 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34926 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34927 if (!SWIG_IsOK(ecode3
)) {
34928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34930 arg3
= static_cast< bool >(val3
);
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34935 wxPyEndAllowThreads(__tstate
);
34936 if (PyErr_Occurred()) SWIG_fail
;
34938 resultobj
= SWIG_Py_Void();
34945 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
= 0;
34947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34948 wxTreeItemId
*arg2
= 0 ;
34949 wxColour
*arg3
= 0 ;
34955 PyObject
* obj0
= 0 ;
34956 PyObject
* obj1
= 0 ;
34957 PyObject
* obj2
= 0 ;
34958 char * kwnames
[] = {
34959 (char *) "self",(char *) "item",(char *) "col", NULL
34962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34964 if (!SWIG_IsOK(res1
)) {
34965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34967 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34969 if (!SWIG_IsOK(res2
)) {
34970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34975 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34978 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34982 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34983 wxPyEndAllowThreads(__tstate
);
34984 if (PyErr_Occurred()) SWIG_fail
;
34986 resultobj
= SWIG_Py_Void();
34993 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34994 PyObject
*resultobj
= 0;
34995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34996 wxTreeItemId
*arg2
= 0 ;
34997 wxColour
*arg3
= 0 ;
35003 PyObject
* obj0
= 0 ;
35004 PyObject
* obj1
= 0 ;
35005 PyObject
* obj2
= 0 ;
35006 char * kwnames
[] = {
35007 (char *) "self",(char *) "item",(char *) "col", NULL
35010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35012 if (!SWIG_IsOK(res1
)) {
35013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35015 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35017 if (!SWIG_IsOK(res2
)) {
35018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35023 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35026 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35030 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35031 wxPyEndAllowThreads(__tstate
);
35032 if (PyErr_Occurred()) SWIG_fail
;
35034 resultobj
= SWIG_Py_Void();
35041 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35042 PyObject
*resultobj
= 0;
35043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35044 wxTreeItemId
*arg2
= 0 ;
35052 PyObject
* obj0
= 0 ;
35053 PyObject
* obj1
= 0 ;
35054 PyObject
* obj2
= 0 ;
35055 char * kwnames
[] = {
35056 (char *) "self",(char *) "item",(char *) "font", NULL
35059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35061 if (!SWIG_IsOK(res1
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35064 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35066 if (!SWIG_IsOK(res2
)) {
35067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35072 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35073 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35074 if (!SWIG_IsOK(res3
)) {
35075 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35080 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35083 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 resultobj
= SWIG_Py_Void();
35094 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35095 PyObject
*resultobj
= 0;
35096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35097 wxTreeItemId
*arg2
= 0 ;
35103 PyObject
* obj0
= 0 ;
35104 PyObject
* obj1
= 0 ;
35105 char * kwnames
[] = {
35106 (char *) "self",(char *) "item", NULL
35109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35111 if (!SWIG_IsOK(res1
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35114 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35116 if (!SWIG_IsOK(res2
)) {
35117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35122 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35138 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35139 PyObject
*resultobj
= 0;
35140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35141 wxTreeItemId
*arg2
= 0 ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 char * kwnames
[] = {
35150 (char *) "self",(char *) "item", NULL
35153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35155 if (!SWIG_IsOK(res1
)) {
35156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35160 if (!SWIG_IsOK(res2
)) {
35161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35166 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35169 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35182 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35183 PyObject
*resultobj
= 0;
35184 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35185 wxTreeItemId
*arg2
= 0 ;
35191 PyObject
* obj0
= 0 ;
35192 PyObject
* obj1
= 0 ;
35193 char * kwnames
[] = {
35194 (char *) "self",(char *) "item", NULL
35197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35202 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35204 if (!SWIG_IsOK(res2
)) {
35205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35210 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35226 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
= 0;
35228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35229 wxTreeItemId
*arg2
= 0 ;
35235 PyObject
* obj0
= 0 ;
35236 PyObject
* obj1
= 0 ;
35237 char * kwnames
[] = {
35238 (char *) "self",(char *) "item", NULL
35241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35243 if (!SWIG_IsOK(res1
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35246 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35248 if (!SWIG_IsOK(res2
)) {
35249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35254 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35257 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35258 wxPyEndAllowThreads(__tstate
);
35259 if (PyErr_Occurred()) SWIG_fail
;
35262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35270 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35271 PyObject
*resultobj
= 0;
35272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35273 wxTreeItemId
*arg2
= 0 ;
35279 PyObject
* obj0
= 0 ;
35280 PyObject
* obj1
= 0 ;
35281 char * kwnames
[] = {
35282 (char *) "self",(char *) "item", NULL
35285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35287 if (!SWIG_IsOK(res1
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35290 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35292 if (!SWIG_IsOK(res2
)) {
35293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35298 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35301 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35302 wxPyEndAllowThreads(__tstate
);
35303 if (PyErr_Occurred()) SWIG_fail
;
35306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35314 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35315 PyObject
*resultobj
= 0;
35316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35317 wxTreeItemId
*arg2
= 0 ;
35318 bool arg3
= (bool) true ;
35326 PyObject
* obj0
= 0 ;
35327 PyObject
* obj1
= 0 ;
35328 PyObject
* obj2
= 0 ;
35329 char * kwnames
[] = {
35330 (char *) "self",(char *) "item",(char *) "recursively", NULL
35333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35335 if (!SWIG_IsOK(res1
)) {
35336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35340 if (!SWIG_IsOK(res2
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35346 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35348 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35349 if (!SWIG_IsOK(ecode3
)) {
35350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35352 arg3
= static_cast< bool >(val3
);
35355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35356 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35357 wxPyEndAllowThreads(__tstate
);
35358 if (PyErr_Occurred()) SWIG_fail
;
35360 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35367 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35368 PyObject
*resultobj
= 0;
35369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35370 wxTreeItemId result
;
35373 PyObject
*swig_obj
[1] ;
35375 if (!args
) SWIG_fail
;
35376 swig_obj
[0] = args
;
35377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35378 if (!SWIG_IsOK(res1
)) {
35379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35381 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35384 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35385 wxPyEndAllowThreads(__tstate
);
35386 if (PyErr_Occurred()) SWIG_fail
;
35388 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35395 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35396 PyObject
*resultobj
= 0;
35397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35398 wxTreeItemId result
;
35401 PyObject
*swig_obj
[1] ;
35403 if (!args
) SWIG_fail
;
35404 swig_obj
[0] = args
;
35405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35406 if (!SWIG_IsOK(res1
)) {
35407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35409 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35412 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35413 wxPyEndAllowThreads(__tstate
);
35414 if (PyErr_Occurred()) SWIG_fail
;
35416 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35423 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35424 PyObject
*resultobj
= 0;
35425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35426 PyObject
*result
= 0 ;
35429 PyObject
*swig_obj
[1] ;
35431 if (!args
) SWIG_fail
;
35432 swig_obj
[0] = args
;
35433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35434 if (!SWIG_IsOK(res1
)) {
35435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35437 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35440 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= result
;
35451 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
= 0;
35453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35454 wxTreeItemId
*arg2
= 0 ;
35455 wxTreeItemId result
;
35460 PyObject
* obj0
= 0 ;
35461 PyObject
* obj1
= 0 ;
35462 char * kwnames
[] = {
35463 (char *) "self",(char *) "item", NULL
35466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35468 if (!SWIG_IsOK(res1
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35471 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35473 if (!SWIG_IsOK(res2
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35479 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35482 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35493 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
= 0;
35495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35496 wxTreeItemId
*arg2
= 0 ;
35497 PyObject
*result
= 0 ;
35502 PyObject
* obj0
= 0 ;
35503 PyObject
* obj1
= 0 ;
35504 char * kwnames
[] = {
35505 (char *) "self",(char *) "item", NULL
35508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35510 if (!SWIG_IsOK(res1
)) {
35511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35513 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35515 if (!SWIG_IsOK(res2
)) {
35516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35521 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35525 wxPyEndAllowThreads(__tstate
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35528 resultobj
= result
;
35535 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35536 PyObject
*resultobj
= 0;
35537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35538 wxTreeItemId
*arg2
= 0 ;
35539 void *arg3
= (void *) 0 ;
35540 PyObject
*result
= 0 ;
35546 PyObject
* obj0
= 0 ;
35547 PyObject
* obj1
= 0 ;
35548 PyObject
* obj2
= 0 ;
35549 char * kwnames
[] = {
35550 (char *) "self",(char *) "item",(char *) "cookie", NULL
35553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35555 if (!SWIG_IsOK(res1
)) {
35556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35558 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35560 if (!SWIG_IsOK(res2
)) {
35561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35566 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35567 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35568 if (!SWIG_IsOK(res3
)) {
35569 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35573 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35574 wxPyEndAllowThreads(__tstate
);
35575 if (PyErr_Occurred()) SWIG_fail
;
35577 resultobj
= result
;
35584 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35585 PyObject
*resultobj
= 0;
35586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35587 wxTreeItemId
*arg2
= 0 ;
35588 wxTreeItemId result
;
35593 PyObject
* obj0
= 0 ;
35594 PyObject
* obj1
= 0 ;
35595 char * kwnames
[] = {
35596 (char *) "self",(char *) "item", NULL
35599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35601 if (!SWIG_IsOK(res1
)) {
35602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35604 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35606 if (!SWIG_IsOK(res2
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35612 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35615 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35616 wxPyEndAllowThreads(__tstate
);
35617 if (PyErr_Occurred()) SWIG_fail
;
35619 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35626 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35627 PyObject
*resultobj
= 0;
35628 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35629 wxTreeItemId
*arg2
= 0 ;
35630 wxTreeItemId result
;
35635 PyObject
* obj0
= 0 ;
35636 PyObject
* obj1
= 0 ;
35637 char * kwnames
[] = {
35638 (char *) "self",(char *) "item", NULL
35641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35643 if (!SWIG_IsOK(res1
)) {
35644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35646 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35648 if (!SWIG_IsOK(res2
)) {
35649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35654 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35657 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35658 wxPyEndAllowThreads(__tstate
);
35659 if (PyErr_Occurred()) SWIG_fail
;
35661 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35668 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35669 PyObject
*resultobj
= 0;
35670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35671 wxTreeItemId
*arg2
= 0 ;
35672 wxTreeItemId result
;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 char * kwnames
[] = {
35680 (char *) "self",(char *) "item", NULL
35683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35685 if (!SWIG_IsOK(res1
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35688 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35690 if (!SWIG_IsOK(res2
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35696 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35699 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35700 wxPyEndAllowThreads(__tstate
);
35701 if (PyErr_Occurred()) SWIG_fail
;
35703 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35710 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35711 PyObject
*resultobj
= 0;
35712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35713 wxTreeItemId result
;
35716 PyObject
*swig_obj
[1] ;
35718 if (!args
) SWIG_fail
;
35719 swig_obj
[0] = args
;
35720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35721 if (!SWIG_IsOK(res1
)) {
35722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35724 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35727 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35728 wxPyEndAllowThreads(__tstate
);
35729 if (PyErr_Occurred()) SWIG_fail
;
35731 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35738 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35739 PyObject
*resultobj
= 0;
35740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35741 wxTreeItemId
*arg2
= 0 ;
35742 wxTreeItemId result
;
35747 PyObject
* obj0
= 0 ;
35748 PyObject
* obj1
= 0 ;
35749 char * kwnames
[] = {
35750 (char *) "self",(char *) "item", NULL
35753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35755 if (!SWIG_IsOK(res1
)) {
35756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35758 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35760 if (!SWIG_IsOK(res2
)) {
35761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35766 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35769 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35770 wxPyEndAllowThreads(__tstate
);
35771 if (PyErr_Occurred()) SWIG_fail
;
35773 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35780 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35781 PyObject
*resultobj
= 0;
35782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35783 wxTreeItemId
*arg2
= 0 ;
35784 wxTreeItemId result
;
35789 PyObject
* obj0
= 0 ;
35790 PyObject
* obj1
= 0 ;
35791 char * kwnames
[] = {
35792 (char *) "self",(char *) "item", NULL
35795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35797 if (!SWIG_IsOK(res1
)) {
35798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35800 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35802 if (!SWIG_IsOK(res2
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35808 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35811 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35812 wxPyEndAllowThreads(__tstate
);
35813 if (PyErr_Occurred()) SWIG_fail
;
35815 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35822 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35823 PyObject
*resultobj
= 0;
35824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35825 wxString
*arg2
= 0 ;
35826 int arg3
= (int) -1 ;
35827 int arg4
= (int) -1 ;
35828 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35829 wxTreeItemId result
;
35832 bool temp2
= false ;
35838 PyObject
* obj0
= 0 ;
35839 PyObject
* obj1
= 0 ;
35840 PyObject
* obj2
= 0 ;
35841 PyObject
* obj3
= 0 ;
35842 PyObject
* obj4
= 0 ;
35843 char * kwnames
[] = {
35844 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35849 if (!SWIG_IsOK(res1
)) {
35850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35852 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35854 arg2
= wxString_in_helper(obj1
);
35855 if (arg2
== NULL
) SWIG_fail
;
35859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35860 if (!SWIG_IsOK(ecode3
)) {
35861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35863 arg3
= static_cast< int >(val3
);
35866 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35867 if (!SWIG_IsOK(ecode4
)) {
35868 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35870 arg4
= static_cast< int >(val4
);
35873 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35874 if (!SWIG_IsOK(res5
)) {
35875 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35880 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35881 wxPyEndAllowThreads(__tstate
);
35882 if (PyErr_Occurred()) SWIG_fail
;
35884 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35899 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35900 PyObject
*resultobj
= 0;
35901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35902 wxTreeItemId
*arg2
= 0 ;
35903 wxString
*arg3
= 0 ;
35904 int arg4
= (int) -1 ;
35905 int arg5
= (int) -1 ;
35906 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35907 wxTreeItemId result
;
35912 bool temp3
= false ;
35918 PyObject
* obj0
= 0 ;
35919 PyObject
* obj1
= 0 ;
35920 PyObject
* obj2
= 0 ;
35921 PyObject
* obj3
= 0 ;
35922 PyObject
* obj4
= 0 ;
35923 PyObject
* obj5
= 0 ;
35924 char * kwnames
[] = {
35925 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35930 if (!SWIG_IsOK(res1
)) {
35931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35933 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35935 if (!SWIG_IsOK(res2
)) {
35936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35941 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35943 arg3
= wxString_in_helper(obj2
);
35944 if (arg3
== NULL
) SWIG_fail
;
35948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35949 if (!SWIG_IsOK(ecode4
)) {
35950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35952 arg4
= static_cast< int >(val4
);
35955 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35956 if (!SWIG_IsOK(ecode5
)) {
35957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35959 arg5
= static_cast< int >(val5
);
35962 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35963 if (!SWIG_IsOK(res6
)) {
35964 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35970 wxPyEndAllowThreads(__tstate
);
35971 if (PyErr_Occurred()) SWIG_fail
;
35973 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35988 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35989 PyObject
*resultobj
= 0;
35990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35991 wxTreeItemId
*arg2
= 0 ;
35992 wxTreeItemId
*arg3
= 0 ;
35993 wxString
*arg4
= 0 ;
35994 int arg5
= (int) -1 ;
35995 int arg6
= (int) -1 ;
35996 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35997 wxTreeItemId result
;
36004 bool temp4
= false ;
36010 PyObject
* obj0
= 0 ;
36011 PyObject
* obj1
= 0 ;
36012 PyObject
* obj2
= 0 ;
36013 PyObject
* obj3
= 0 ;
36014 PyObject
* obj4
= 0 ;
36015 PyObject
* obj5
= 0 ;
36016 PyObject
* obj6
= 0 ;
36017 char * kwnames
[] = {
36018 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36023 if (!SWIG_IsOK(res1
)) {
36024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36026 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36028 if (!SWIG_IsOK(res2
)) {
36029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36034 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36035 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36036 if (!SWIG_IsOK(res3
)) {
36037 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36042 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36044 arg4
= wxString_in_helper(obj3
);
36045 if (arg4
== NULL
) SWIG_fail
;
36049 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36050 if (!SWIG_IsOK(ecode5
)) {
36051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36053 arg5
= static_cast< int >(val5
);
36056 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36057 if (!SWIG_IsOK(ecode6
)) {
36058 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36060 arg6
= static_cast< int >(val6
);
36063 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36064 if (!SWIG_IsOK(res7
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36070 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36089 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36090 PyObject
*resultobj
= 0;
36091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36092 wxTreeItemId
*arg2
= 0 ;
36094 wxString
*arg4
= 0 ;
36095 int arg5
= (int) -1 ;
36096 int arg6
= (int) -1 ;
36097 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36098 wxTreeItemId result
;
36105 bool temp4
= false ;
36111 PyObject
* obj0
= 0 ;
36112 PyObject
* obj1
= 0 ;
36113 PyObject
* obj2
= 0 ;
36114 PyObject
* obj3
= 0 ;
36115 PyObject
* obj4
= 0 ;
36116 PyObject
* obj5
= 0 ;
36117 PyObject
* obj6
= 0 ;
36118 char * kwnames
[] = {
36119 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36124 if (!SWIG_IsOK(res1
)) {
36125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36127 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36129 if (!SWIG_IsOK(res2
)) {
36130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36135 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36136 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36137 if (!SWIG_IsOK(ecode3
)) {
36138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36140 arg3
= static_cast< size_t >(val3
);
36142 arg4
= wxString_in_helper(obj3
);
36143 if (arg4
== NULL
) SWIG_fail
;
36147 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36148 if (!SWIG_IsOK(ecode5
)) {
36149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36151 arg5
= static_cast< int >(val5
);
36154 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36155 if (!SWIG_IsOK(ecode6
)) {
36156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36158 arg6
= static_cast< int >(val6
);
36161 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36162 if (!SWIG_IsOK(res7
)) {
36163 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36168 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36169 wxPyEndAllowThreads(__tstate
);
36170 if (PyErr_Occurred()) SWIG_fail
;
36172 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36187 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36188 PyObject
*resultobj
= 0;
36189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36190 wxTreeItemId
*arg2
= 0 ;
36191 wxString
*arg3
= 0 ;
36192 int arg4
= (int) -1 ;
36193 int arg5
= (int) -1 ;
36194 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36195 wxTreeItemId result
;
36200 bool temp3
= false ;
36206 PyObject
* obj0
= 0 ;
36207 PyObject
* obj1
= 0 ;
36208 PyObject
* obj2
= 0 ;
36209 PyObject
* obj3
= 0 ;
36210 PyObject
* obj4
= 0 ;
36211 PyObject
* obj5
= 0 ;
36212 char * kwnames
[] = {
36213 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36218 if (!SWIG_IsOK(res1
)) {
36219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36221 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36223 if (!SWIG_IsOK(res2
)) {
36224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36229 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36231 arg3
= wxString_in_helper(obj2
);
36232 if (arg3
== NULL
) SWIG_fail
;
36236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36237 if (!SWIG_IsOK(ecode4
)) {
36238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36240 arg4
= static_cast< int >(val4
);
36243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36244 if (!SWIG_IsOK(ecode5
)) {
36245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36247 arg5
= static_cast< int >(val5
);
36250 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36251 if (!SWIG_IsOK(res6
)) {
36252 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36257 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36258 wxPyEndAllowThreads(__tstate
);
36259 if (PyErr_Occurred()) SWIG_fail
;
36261 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36276 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36277 PyObject
*resultobj
= 0;
36278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36279 wxTreeItemId
*arg2
= 0 ;
36284 PyObject
* obj0
= 0 ;
36285 PyObject
* obj1
= 0 ;
36286 char * kwnames
[] = {
36287 (char *) "self",(char *) "item", NULL
36290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36292 if (!SWIG_IsOK(res1
)) {
36293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36297 if (!SWIG_IsOK(res2
)) {
36298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36303 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36307 wxPyEndAllowThreads(__tstate
);
36308 if (PyErr_Occurred()) SWIG_fail
;
36310 resultobj
= SWIG_Py_Void();
36317 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36318 PyObject
*resultobj
= 0;
36319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36320 wxTreeItemId
*arg2
= 0 ;
36325 PyObject
* obj0
= 0 ;
36326 PyObject
* obj1
= 0 ;
36327 char * kwnames
[] = {
36328 (char *) "self",(char *) "item", NULL
36331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36333 if (!SWIG_IsOK(res1
)) {
36334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36336 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36338 if (!SWIG_IsOK(res2
)) {
36339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36344 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36348 wxPyEndAllowThreads(__tstate
);
36349 if (PyErr_Occurred()) SWIG_fail
;
36351 resultobj
= SWIG_Py_Void();
36358 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36359 PyObject
*resultobj
= 0;
36360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36363 PyObject
*swig_obj
[1] ;
36365 if (!args
) SWIG_fail
;
36366 swig_obj
[0] = args
;
36367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36368 if (!SWIG_IsOK(res1
)) {
36369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36374 (arg1
)->DeleteAllItems();
36375 wxPyEndAllowThreads(__tstate
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36378 resultobj
= SWIG_Py_Void();
36385 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36386 PyObject
*resultobj
= 0;
36387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36388 wxTreeItemId
*arg2
= 0 ;
36393 PyObject
* obj0
= 0 ;
36394 PyObject
* obj1
= 0 ;
36395 char * kwnames
[] = {
36396 (char *) "self",(char *) "item", NULL
36399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36401 if (!SWIG_IsOK(res1
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36404 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36405 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36406 if (!SWIG_IsOK(res2
)) {
36407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36412 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36416 wxPyEndAllowThreads(__tstate
);
36417 if (PyErr_Occurred()) SWIG_fail
;
36419 resultobj
= SWIG_Py_Void();
36426 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36427 PyObject
*resultobj
= 0;
36428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36429 wxTreeItemId
*arg2
= 0 ;
36434 PyObject
* obj0
= 0 ;
36435 PyObject
* obj1
= 0 ;
36436 char * kwnames
[] = {
36437 (char *) "self",(char *) "item", NULL
36440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36442 if (!SWIG_IsOK(res1
)) {
36443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36445 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36447 if (!SWIG_IsOK(res2
)) {
36448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36453 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36456 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36457 wxPyEndAllowThreads(__tstate
);
36458 if (PyErr_Occurred()) SWIG_fail
;
36460 resultobj
= SWIG_Py_Void();
36467 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36468 PyObject
*resultobj
= 0;
36469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36472 PyObject
*swig_obj
[1] ;
36474 if (!args
) SWIG_fail
;
36475 swig_obj
[0] = args
;
36476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36477 if (!SWIG_IsOK(res1
)) {
36478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36480 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36483 (arg1
)->ExpandAll();
36484 wxPyEndAllowThreads(__tstate
);
36485 if (PyErr_Occurred()) SWIG_fail
;
36487 resultobj
= SWIG_Py_Void();
36494 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36495 PyObject
*resultobj
= 0;
36496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36497 wxTreeItemId
*arg2
= 0 ;
36502 PyObject
* obj0
= 0 ;
36503 PyObject
* obj1
= 0 ;
36504 char * kwnames
[] = {
36505 (char *) "self",(char *) "item", NULL
36508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36510 if (!SWIG_IsOK(res1
)) {
36511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36513 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36515 if (!SWIG_IsOK(res2
)) {
36516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36521 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36524 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 resultobj
= SWIG_Py_Void();
36535 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36536 PyObject
*resultobj
= 0;
36537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36538 wxTreeItemId
*arg2
= 0 ;
36543 PyObject
* obj0
= 0 ;
36544 PyObject
* obj1
= 0 ;
36545 char * kwnames
[] = {
36546 (char *) "self",(char *) "item", NULL
36549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36551 if (!SWIG_IsOK(res1
)) {
36552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36554 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36556 if (!SWIG_IsOK(res2
)) {
36557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36562 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36565 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36566 wxPyEndAllowThreads(__tstate
);
36567 if (PyErr_Occurred()) SWIG_fail
;
36569 resultobj
= SWIG_Py_Void();
36576 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36577 PyObject
*resultobj
= 0;
36578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36579 wxTreeItemId
*arg2
= 0 ;
36584 PyObject
* obj0
= 0 ;
36585 PyObject
* obj1
= 0 ;
36586 char * kwnames
[] = {
36587 (char *) "self",(char *) "item", NULL
36590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36597 if (!SWIG_IsOK(res2
)) {
36598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36603 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36606 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36607 wxPyEndAllowThreads(__tstate
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36610 resultobj
= SWIG_Py_Void();
36617 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36618 PyObject
*resultobj
= 0;
36619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36622 PyObject
*swig_obj
[1] ;
36624 if (!args
) SWIG_fail
;
36625 swig_obj
[0] = args
;
36626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36627 if (!SWIG_IsOK(res1
)) {
36628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36630 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36633 (arg1
)->Unselect();
36634 wxPyEndAllowThreads(__tstate
);
36635 if (PyErr_Occurred()) SWIG_fail
;
36637 resultobj
= SWIG_Py_Void();
36644 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36645 PyObject
*resultobj
= 0;
36646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36647 wxTreeItemId
*arg2
= 0 ;
36652 PyObject
* obj0
= 0 ;
36653 PyObject
* obj1
= 0 ;
36654 char * kwnames
[] = {
36655 (char *) "self",(char *) "item", NULL
36658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36660 if (!SWIG_IsOK(res1
)) {
36661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36665 if (!SWIG_IsOK(res2
)) {
36666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36674 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36675 wxPyEndAllowThreads(__tstate
);
36676 if (PyErr_Occurred()) SWIG_fail
;
36678 resultobj
= SWIG_Py_Void();
36685 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36686 PyObject
*resultobj
= 0;
36687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36690 PyObject
*swig_obj
[1] ;
36692 if (!args
) SWIG_fail
;
36693 swig_obj
[0] = args
;
36694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36695 if (!SWIG_IsOK(res1
)) {
36696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36698 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36701 (arg1
)->UnselectAll();
36702 wxPyEndAllowThreads(__tstate
);
36703 if (PyErr_Occurred()) SWIG_fail
;
36705 resultobj
= SWIG_Py_Void();
36712 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36713 PyObject
*resultobj
= 0;
36714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36715 wxTreeItemId
*arg2
= 0 ;
36716 bool arg3
= (bool) true ;
36723 PyObject
* obj0
= 0 ;
36724 PyObject
* obj1
= 0 ;
36725 PyObject
* obj2
= 0 ;
36726 char * kwnames
[] = {
36727 (char *) "self",(char *) "item",(char *) "select", NULL
36730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36732 if (!SWIG_IsOK(res1
)) {
36733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36735 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36737 if (!SWIG_IsOK(res2
)) {
36738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36743 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36745 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36746 if (!SWIG_IsOK(ecode3
)) {
36747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36749 arg3
= static_cast< bool >(val3
);
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= SWIG_Py_Void();
36764 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36765 PyObject
*resultobj
= 0;
36766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36767 wxTreeItemId
*arg2
= 0 ;
36772 PyObject
* obj0
= 0 ;
36773 PyObject
* obj1
= 0 ;
36774 char * kwnames
[] = {
36775 (char *) "self",(char *) "item", NULL
36778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36780 if (!SWIG_IsOK(res1
)) {
36781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36783 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36785 if (!SWIG_IsOK(res2
)) {
36786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36791 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36794 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36795 wxPyEndAllowThreads(__tstate
);
36796 if (PyErr_Occurred()) SWIG_fail
;
36798 resultobj
= SWIG_Py_Void();
36805 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36806 PyObject
*resultobj
= 0;
36807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36808 wxTreeItemId
*arg2
= 0 ;
36813 PyObject
* obj0
= 0 ;
36814 PyObject
* obj1
= 0 ;
36815 char * kwnames
[] = {
36816 (char *) "self",(char *) "item", NULL
36819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36821 if (!SWIG_IsOK(res1
)) {
36822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36824 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36826 if (!SWIG_IsOK(res2
)) {
36827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36832 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36835 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36836 wxPyEndAllowThreads(__tstate
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36839 resultobj
= SWIG_Py_Void();
36846 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36847 PyObject
*resultobj
= 0;
36848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36849 wxTreeItemId
*arg2
= 0 ;
36854 PyObject
* obj0
= 0 ;
36855 PyObject
* obj1
= 0 ;
36856 char * kwnames
[] = {
36857 (char *) "self",(char *) "item", NULL
36860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36862 if (!SWIG_IsOK(res1
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36865 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36867 if (!SWIG_IsOK(res2
)) {
36868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36873 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36876 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36877 wxPyEndAllowThreads(__tstate
);
36878 if (PyErr_Occurred()) SWIG_fail
;
36880 resultobj
= SWIG_Py_Void();
36887 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36888 PyObject
*resultobj
= 0;
36889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36890 wxTreeItemId
*arg2
= 0 ;
36895 PyObject
* obj0
= 0 ;
36896 PyObject
* obj1
= 0 ;
36897 char * kwnames
[] = {
36898 (char *) "self",(char *) "item", NULL
36901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36903 if (!SWIG_IsOK(res1
)) {
36904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36906 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36908 if (!SWIG_IsOK(res2
)) {
36909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36914 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36917 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 resultobj
= SWIG_Py_Void();
36928 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36929 PyObject
*resultobj
= 0;
36930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36931 wxTextCtrl
*result
= 0 ;
36934 PyObject
*swig_obj
[1] ;
36936 if (!args
) SWIG_fail
;
36937 swig_obj
[0] = args
;
36938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36939 if (!SWIG_IsOK(res1
)) {
36940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36942 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36946 wxPyEndAllowThreads(__tstate
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36950 resultobj
= wxPyMake_wxObject(result
, 0);
36958 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36959 PyObject
*resultobj
= 0;
36960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36961 wxTreeItemId
*arg2
= 0 ;
36962 bool arg3
= (bool) false ;
36969 PyObject
* obj0
= 0 ;
36970 PyObject
* obj1
= 0 ;
36971 PyObject
* obj2
= 0 ;
36972 char * kwnames
[] = {
36973 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36978 if (!SWIG_IsOK(res1
)) {
36979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36981 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36983 if (!SWIG_IsOK(res2
)) {
36984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36989 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36991 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36992 if (!SWIG_IsOK(ecode3
)) {
36993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36995 arg3
= static_cast< bool >(val3
);
36998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36999 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37000 wxPyEndAllowThreads(__tstate
);
37001 if (PyErr_Occurred()) SWIG_fail
;
37003 resultobj
= SWIG_Py_Void();
37010 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37011 PyObject
*resultobj
= 0;
37012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37013 wxTreeItemId
*arg2
= 0 ;
37018 PyObject
* obj0
= 0 ;
37019 PyObject
* obj1
= 0 ;
37020 char * kwnames
[] = {
37021 (char *) "self",(char *) "item", NULL
37024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37026 if (!SWIG_IsOK(res1
)) {
37027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37029 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37030 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37031 if (!SWIG_IsOK(res2
)) {
37032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37037 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37040 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37044 resultobj
= SWIG_Py_Void();
37051 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37052 PyObject
*resultobj
= 0;
37053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37054 wxPoint
*arg2
= 0 ;
37056 wxTreeItemId result
;
37061 int res3
= SWIG_TMPOBJ
;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 char * kwnames
[] = {
37065 (char *) "self",(char *) "point", NULL
37069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37071 if (!SWIG_IsOK(res1
)) {
37072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37074 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37082 wxPyEndAllowThreads(__tstate
);
37083 if (PyErr_Occurred()) SWIG_fail
;
37085 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37086 if (SWIG_IsTmpObj(res3
)) {
37087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37089 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37098 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37099 PyObject
*resultobj
= 0;
37100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37101 wxTreeItemId
*arg2
= 0 ;
37102 bool arg3
= (bool) false ;
37103 PyObject
*result
= 0 ;
37110 PyObject
* obj0
= 0 ;
37111 PyObject
* obj1
= 0 ;
37112 PyObject
* obj2
= 0 ;
37113 char * kwnames
[] = {
37114 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37119 if (!SWIG_IsOK(res1
)) {
37120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37122 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37124 if (!SWIG_IsOK(res2
)) {
37125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37130 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37132 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37133 if (!SWIG_IsOK(ecode3
)) {
37134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37136 arg3
= static_cast< bool >(val3
);
37139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37140 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37141 wxPyEndAllowThreads(__tstate
);
37142 if (PyErr_Occurred()) SWIG_fail
;
37144 resultobj
= result
;
37151 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37152 PyObject
*resultobj
= 0;
37153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37154 wxTreeItemId
*arg2
= 0 ;
37162 PyObject
* obj0
= 0 ;
37163 PyObject
* obj1
= 0 ;
37164 PyObject
* obj2
= 0 ;
37165 char * kwnames
[] = {
37166 (char *) "self",(char *) "node",(char *) "state", NULL
37169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37171 if (!SWIG_IsOK(res1
)) {
37172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37174 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37176 if (!SWIG_IsOK(res2
)) {
37177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37182 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37184 if (!SWIG_IsOK(ecode3
)) {
37185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37187 arg3
= static_cast< int >(val3
);
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37191 wxPyEndAllowThreads(__tstate
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37194 resultobj
= SWIG_Py_Void();
37201 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37202 PyObject
*resultobj
= 0;
37203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37204 wxTreeItemId
*arg2
= 0 ;
37210 PyObject
* obj0
= 0 ;
37211 PyObject
* obj1
= 0 ;
37212 char * kwnames
[] = {
37213 (char *) "self",(char *) "node", NULL
37216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37218 if (!SWIG_IsOK(res1
)) {
37219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37221 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37223 if (!SWIG_IsOK(res2
)) {
37224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37229 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37232 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37233 wxPyEndAllowThreads(__tstate
);
37234 if (PyErr_Occurred()) SWIG_fail
;
37236 resultobj
= SWIG_From_int(static_cast< int >(result
));
37243 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37244 PyObject
*resultobj
= 0;
37245 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37246 SwigValueWrapper
<wxVisualAttributes
> result
;
37249 PyObject
* obj0
= 0 ;
37250 char * kwnames
[] = {
37251 (char *) "variant", NULL
37254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37256 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37257 if (!SWIG_IsOK(ecode1
)) {
37258 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37260 arg1
= static_cast< wxWindowVariant
>(val1
);
37263 if (!wxPyCheckForApp()) SWIG_fail
;
37264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37265 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37266 wxPyEndAllowThreads(__tstate
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37276 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37277 PyObject
*resultobj
= 0;
37278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 char * kwnames
[] = {
37287 (char *) "self",(char *) "q", NULL
37290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37292 if (!SWIG_IsOK(res1
)) {
37293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37296 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37297 if (!SWIG_IsOK(ecode2
)) {
37298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37300 arg2
= static_cast< bool >(val2
);
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37303 (arg1
)->SetQuickBestSize(arg2
);
37304 wxPyEndAllowThreads(__tstate
);
37305 if (PyErr_Occurred()) SWIG_fail
;
37307 resultobj
= SWIG_Py_Void();
37314 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37315 PyObject
*resultobj
= 0;
37316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37320 PyObject
*swig_obj
[1] ;
37322 if (!args
) SWIG_fail
;
37323 swig_obj
[0] = args
;
37324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37325 if (!SWIG_IsOK(res1
)) {
37326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37328 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37331 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37332 wxPyEndAllowThreads(__tstate
);
37333 if (PyErr_Occurred()) SWIG_fail
;
37336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37344 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37348 return SWIG_Py_Void();
37351 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37352 return SWIG_Python_InitShadowInstance(args
);
37355 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37356 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37361 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37362 PyObject
*pyobj
= 0;
37366 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37368 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37375 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
= 0;
37377 wxWindow
*arg1
= (wxWindow
*) 0 ;
37378 int arg2
= (int) (int)-1 ;
37379 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37385 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37386 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37388 int arg8
= (int) 0 ;
37389 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37390 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37391 wxGenericDirCtrl
*result
= 0 ;
37396 bool temp3
= false ;
37401 bool temp7
= false ;
37404 bool temp9
= false ;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 PyObject
* obj2
= 0 ;
37408 PyObject
* obj3
= 0 ;
37409 PyObject
* obj4
= 0 ;
37410 PyObject
* obj5
= 0 ;
37411 PyObject
* obj6
= 0 ;
37412 PyObject
* obj7
= 0 ;
37413 PyObject
* obj8
= 0 ;
37414 char * kwnames
[] = {
37415 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37420 if (!SWIG_IsOK(res1
)) {
37421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37423 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37426 if (!SWIG_IsOK(ecode2
)) {
37427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37429 arg2
= static_cast< int >(val2
);
37433 arg3
= wxString_in_helper(obj2
);
37434 if (arg3
== NULL
) SWIG_fail
;
37441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37451 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37452 if (!SWIG_IsOK(ecode6
)) {
37453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37455 arg6
= static_cast< long >(val6
);
37459 arg7
= wxString_in_helper(obj6
);
37460 if (arg7
== NULL
) SWIG_fail
;
37465 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37466 if (!SWIG_IsOK(ecode8
)) {
37467 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37469 arg8
= static_cast< int >(val8
);
37473 arg9
= wxString_in_helper(obj8
);
37474 if (arg9
== NULL
) SWIG_fail
;
37479 if (!wxPyCheckForApp()) SWIG_fail
;
37480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37481 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37482 wxPyEndAllowThreads(__tstate
);
37483 if (PyErr_Occurred()) SWIG_fail
;
37485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37516 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37517 PyObject
*resultobj
= 0;
37518 wxGenericDirCtrl
*result
= 0 ;
37520 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37522 if (!wxPyCheckForApp()) SWIG_fail
;
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37525 wxPyEndAllowThreads(__tstate
);
37526 if (PyErr_Occurred()) SWIG_fail
;
37528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37535 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37536 PyObject
*resultobj
= 0;
37537 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37538 wxWindow
*arg2
= (wxWindow
*) 0 ;
37539 int arg3
= (int) (int)-1 ;
37540 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37541 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37542 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37543 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37544 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37545 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37546 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37547 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37548 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37549 int arg9
= (int) 0 ;
37550 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37551 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37559 bool temp4
= false ;
37564 bool temp8
= false ;
37567 bool temp10
= false ;
37568 PyObject
* obj0
= 0 ;
37569 PyObject
* obj1
= 0 ;
37570 PyObject
* obj2
= 0 ;
37571 PyObject
* obj3
= 0 ;
37572 PyObject
* obj4
= 0 ;
37573 PyObject
* obj5
= 0 ;
37574 PyObject
* obj6
= 0 ;
37575 PyObject
* obj7
= 0 ;
37576 PyObject
* obj8
= 0 ;
37577 PyObject
* obj9
= 0 ;
37578 char * kwnames
[] = {
37579 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37584 if (!SWIG_IsOK(res1
)) {
37585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37587 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37589 if (!SWIG_IsOK(res2
)) {
37590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37595 if (!SWIG_IsOK(ecode3
)) {
37596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37598 arg3
= static_cast< int >(val3
);
37602 arg4
= wxString_in_helper(obj3
);
37603 if (arg4
== NULL
) SWIG_fail
;
37610 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37616 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37620 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37621 if (!SWIG_IsOK(ecode7
)) {
37622 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37624 arg7
= static_cast< long >(val7
);
37628 arg8
= wxString_in_helper(obj7
);
37629 if (arg8
== NULL
) SWIG_fail
;
37634 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37635 if (!SWIG_IsOK(ecode9
)) {
37636 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37638 arg9
= static_cast< int >(val9
);
37642 arg10
= wxString_in_helper(obj9
);
37643 if (arg10
== NULL
) SWIG_fail
;
37648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37650 wxPyEndAllowThreads(__tstate
);
37651 if (PyErr_Occurred()) SWIG_fail
;
37654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37686 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37687 PyObject
*resultobj
= 0;
37688 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37689 wxString
*arg2
= 0 ;
37693 bool temp2
= false ;
37694 PyObject
* obj0
= 0 ;
37695 PyObject
* obj1
= 0 ;
37696 char * kwnames
[] = {
37697 (char *) "self",(char *) "path", NULL
37700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37702 if (!SWIG_IsOK(res1
)) {
37703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37705 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37707 arg2
= wxString_in_helper(obj1
);
37708 if (arg2
== NULL
) SWIG_fail
;
37712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37714 wxPyEndAllowThreads(__tstate
);
37715 if (PyErr_Occurred()) SWIG_fail
;
37718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37734 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37735 PyObject
*resultobj
= 0;
37736 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37737 wxString
*arg2
= 0 ;
37741 bool temp2
= false ;
37742 PyObject
* obj0
= 0 ;
37743 PyObject
* obj1
= 0 ;
37744 char * kwnames
[] = {
37745 (char *) "self",(char *) "path", NULL
37748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37750 if (!SWIG_IsOK(res1
)) {
37751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37753 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37755 arg2
= wxString_in_helper(obj1
);
37756 if (arg2
== NULL
) SWIG_fail
;
37760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37761 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37762 wxPyEndAllowThreads(__tstate
);
37763 if (PyErr_Occurred()) SWIG_fail
;
37766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37782 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37783 PyObject
*resultobj
= 0;
37784 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37788 PyObject
*swig_obj
[1] ;
37790 if (!args
) SWIG_fail
;
37791 swig_obj
[0] = args
;
37792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37793 if (!SWIG_IsOK(res1
)) {
37794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37796 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37799 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37800 wxPyEndAllowThreads(__tstate
);
37801 if (PyErr_Occurred()) SWIG_fail
;
37805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37816 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
= 0;
37818 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37819 wxString
*arg2
= 0 ;
37822 bool temp2
= false ;
37823 PyObject
* obj0
= 0 ;
37824 PyObject
* obj1
= 0 ;
37825 char * kwnames
[] = {
37826 (char *) "self",(char *) "path", NULL
37829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37831 if (!SWIG_IsOK(res1
)) {
37832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37834 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37836 arg2
= wxString_in_helper(obj1
);
37837 if (arg2
== NULL
) SWIG_fail
;
37841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37842 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37843 wxPyEndAllowThreads(__tstate
);
37844 if (PyErr_Occurred()) SWIG_fail
;
37846 resultobj
= SWIG_Py_Void();
37861 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37862 PyObject
*resultobj
= 0;
37863 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37867 PyObject
*swig_obj
[1] ;
37869 if (!args
) SWIG_fail
;
37870 swig_obj
[0] = args
;
37871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37872 if (!SWIG_IsOK(res1
)) {
37873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37875 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37878 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37879 wxPyEndAllowThreads(__tstate
);
37880 if (PyErr_Occurred()) SWIG_fail
;
37884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37895 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37896 PyObject
*resultobj
= 0;
37897 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37901 PyObject
*swig_obj
[1] ;
37903 if (!args
) SWIG_fail
;
37904 swig_obj
[0] = args
;
37905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37906 if (!SWIG_IsOK(res1
)) {
37907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37909 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37912 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37929 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37930 PyObject
*resultobj
= 0;
37931 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37932 wxString
*arg2
= 0 ;
37935 bool temp2
= false ;
37936 PyObject
* obj0
= 0 ;
37937 PyObject
* obj1
= 0 ;
37938 char * kwnames
[] = {
37939 (char *) "self",(char *) "path", NULL
37942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37944 if (!SWIG_IsOK(res1
)) {
37945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37947 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37949 arg2
= wxString_in_helper(obj1
);
37950 if (arg2
== NULL
) SWIG_fail
;
37954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37955 (arg1
)->SetPath((wxString
const &)*arg2
);
37956 wxPyEndAllowThreads(__tstate
);
37957 if (PyErr_Occurred()) SWIG_fail
;
37959 resultobj
= SWIG_Py_Void();
37974 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37975 PyObject
*resultobj
= 0;
37976 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37982 PyObject
* obj0
= 0 ;
37983 PyObject
* obj1
= 0 ;
37984 char * kwnames
[] = {
37985 (char *) "self",(char *) "show", NULL
37988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37990 if (!SWIG_IsOK(res1
)) {
37991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37993 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37994 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37995 if (!SWIG_IsOK(ecode2
)) {
37996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37998 arg2
= static_cast< bool >(val2
);
38000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38001 (arg1
)->ShowHidden(arg2
);
38002 wxPyEndAllowThreads(__tstate
);
38003 if (PyErr_Occurred()) SWIG_fail
;
38005 resultobj
= SWIG_Py_Void();
38012 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38013 PyObject
*resultobj
= 0;
38014 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38018 PyObject
*swig_obj
[1] ;
38020 if (!args
) SWIG_fail
;
38021 swig_obj
[0] = args
;
38022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38023 if (!SWIG_IsOK(res1
)) {
38024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38026 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38029 result
= (bool)(arg1
)->GetShowHidden();
38030 wxPyEndAllowThreads(__tstate
);
38031 if (PyErr_Occurred()) SWIG_fail
;
38034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38042 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38043 PyObject
*resultobj
= 0;
38044 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38048 PyObject
*swig_obj
[1] ;
38050 if (!args
) SWIG_fail
;
38051 swig_obj
[0] = args
;
38052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38053 if (!SWIG_IsOK(res1
)) {
38054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38056 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38059 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38060 wxPyEndAllowThreads(__tstate
);
38061 if (PyErr_Occurred()) SWIG_fail
;
38065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38076 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38077 PyObject
*resultobj
= 0;
38078 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38079 wxString
*arg2
= 0 ;
38082 bool temp2
= false ;
38083 PyObject
* obj0
= 0 ;
38084 PyObject
* obj1
= 0 ;
38085 char * kwnames
[] = {
38086 (char *) "self",(char *) "filter", NULL
38089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38091 if (!SWIG_IsOK(res1
)) {
38092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38094 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38096 arg2
= wxString_in_helper(obj1
);
38097 if (arg2
== NULL
) SWIG_fail
;
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 (arg1
)->SetFilter((wxString
const &)*arg2
);
38103 wxPyEndAllowThreads(__tstate
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38106 resultobj
= SWIG_Py_Void();
38121 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38122 PyObject
*resultobj
= 0;
38123 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38127 PyObject
*swig_obj
[1] ;
38129 if (!args
) SWIG_fail
;
38130 swig_obj
[0] = args
;
38131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38132 if (!SWIG_IsOK(res1
)) {
38133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38135 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38139 wxPyEndAllowThreads(__tstate
);
38140 if (PyErr_Occurred()) SWIG_fail
;
38142 resultobj
= SWIG_From_int(static_cast< int >(result
));
38149 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38150 PyObject
*resultobj
= 0;
38151 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38157 PyObject
* obj0
= 0 ;
38158 PyObject
* obj1
= 0 ;
38159 char * kwnames
[] = {
38160 (char *) "self",(char *) "n", NULL
38163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38165 if (!SWIG_IsOK(res1
)) {
38166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38168 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38170 if (!SWIG_IsOK(ecode2
)) {
38171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38173 arg2
= static_cast< int >(val2
);
38175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38176 (arg1
)->SetFilterIndex(arg2
);
38177 wxPyEndAllowThreads(__tstate
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38180 resultobj
= SWIG_Py_Void();
38187 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38188 PyObject
*resultobj
= 0;
38189 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38190 wxTreeItemId result
;
38193 PyObject
*swig_obj
[1] ;
38195 if (!args
) SWIG_fail
;
38196 swig_obj
[0] = args
;
38197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38198 if (!SWIG_IsOK(res1
)) {
38199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38201 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38204 result
= (arg1
)->GetRootId();
38205 wxPyEndAllowThreads(__tstate
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38208 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38215 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38216 PyObject
*resultobj
= 0;
38217 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38218 wxPyTreeCtrl
*result
= 0 ;
38221 PyObject
*swig_obj
[1] ;
38223 if (!args
) SWIG_fail
;
38224 swig_obj
[0] = args
;
38225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38226 if (!SWIG_IsOK(res1
)) {
38227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38229 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38232 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38237 resultobj
= wxPyMake_wxObject(result
, 0);
38245 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38246 PyObject
*resultobj
= 0;
38247 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38248 wxDirFilterListCtrl
*result
= 0 ;
38251 PyObject
*swig_obj
[1] ;
38253 if (!args
) SWIG_fail
;
38254 swig_obj
[0] = args
;
38255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38256 if (!SWIG_IsOK(res1
)) {
38257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38259 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38262 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38273 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
= 0;
38275 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38276 wxTreeItemId arg2
;
38277 wxString
*arg3
= 0 ;
38279 wxTreeItemId result
;
38284 bool temp3
= false ;
38286 int res4
= SWIG_TMPOBJ
;
38287 PyObject
* obj0
= 0 ;
38288 PyObject
* obj1
= 0 ;
38289 PyObject
* obj2
= 0 ;
38290 char * kwnames
[] = {
38291 (char *) "self",(char *) "parentId",(char *) "path", NULL
38295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38297 if (!SWIG_IsOK(res1
)) {
38298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38300 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38303 if (!SWIG_IsOK(res2
)) {
38304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38309 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38311 if (SWIG_IsNewObj(res2
)) delete temp
;
38315 arg3
= wxString_in_helper(obj2
);
38316 if (arg3
== NULL
) SWIG_fail
;
38320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38321 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38322 wxPyEndAllowThreads(__tstate
);
38323 if (PyErr_Occurred()) SWIG_fail
;
38325 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38326 if (SWIG_IsTmpObj(res4
)) {
38327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38329 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38346 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38347 PyObject
*resultobj
= 0;
38348 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38351 PyObject
*swig_obj
[1] ;
38353 if (!args
) SWIG_fail
;
38354 swig_obj
[0] = args
;
38355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38356 if (!SWIG_IsOK(res1
)) {
38357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38359 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38362 (arg1
)->DoResize();
38363 wxPyEndAllowThreads(__tstate
);
38364 if (PyErr_Occurred()) SWIG_fail
;
38366 resultobj
= SWIG_Py_Void();
38373 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38374 PyObject
*resultobj
= 0;
38375 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38378 PyObject
*swig_obj
[1] ;
38380 if (!args
) SWIG_fail
;
38381 swig_obj
[0] = args
;
38382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38383 if (!SWIG_IsOK(res1
)) {
38384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38386 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38389 (arg1
)->ReCreateTree();
38390 wxPyEndAllowThreads(__tstate
);
38391 if (PyErr_Occurred()) SWIG_fail
;
38393 resultobj
= SWIG_Py_Void();
38400 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38403 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38404 return SWIG_Py_Void();
38407 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38408 return SWIG_Python_InitShadowInstance(args
);
38411 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38412 PyObject
*resultobj
= 0;
38413 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38414 int arg2
= (int) (int)-1 ;
38415 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38416 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38417 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38418 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38419 long arg5
= (long) 0 ;
38420 wxDirFilterListCtrl
*result
= 0 ;
38429 PyObject
* obj0
= 0 ;
38430 PyObject
* obj1
= 0 ;
38431 PyObject
* obj2
= 0 ;
38432 PyObject
* obj3
= 0 ;
38433 PyObject
* obj4
= 0 ;
38434 char * kwnames
[] = {
38435 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38440 if (!SWIG_IsOK(res1
)) {
38441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38443 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38446 if (!SWIG_IsOK(ecode2
)) {
38447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38449 arg2
= static_cast< int >(val2
);
38454 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38460 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38464 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38465 if (!SWIG_IsOK(ecode5
)) {
38466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38468 arg5
= static_cast< long >(val5
);
38471 if (!wxPyCheckForApp()) SWIG_fail
;
38472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38473 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38474 wxPyEndAllowThreads(__tstate
);
38475 if (PyErr_Occurred()) SWIG_fail
;
38477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38484 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38485 PyObject
*resultobj
= 0;
38486 wxDirFilterListCtrl
*result
= 0 ;
38488 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38490 if (!wxPyCheckForApp()) SWIG_fail
;
38491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38492 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38493 wxPyEndAllowThreads(__tstate
);
38494 if (PyErr_Occurred()) SWIG_fail
;
38496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38503 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38504 PyObject
*resultobj
= 0;
38505 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38506 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38507 int arg3
= (int) (int)-1 ;
38508 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38509 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38510 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38511 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38512 long arg6
= (long) 0 ;
38524 PyObject
* obj0
= 0 ;
38525 PyObject
* obj1
= 0 ;
38526 PyObject
* obj2
= 0 ;
38527 PyObject
* obj3
= 0 ;
38528 PyObject
* obj4
= 0 ;
38529 PyObject
* obj5
= 0 ;
38530 char * kwnames
[] = {
38531 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38536 if (!SWIG_IsOK(res1
)) {
38537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38539 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38541 if (!SWIG_IsOK(res2
)) {
38542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38544 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38547 if (!SWIG_IsOK(ecode3
)) {
38548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38550 arg3
= static_cast< int >(val3
);
38555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38565 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38566 if (!SWIG_IsOK(ecode6
)) {
38567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38569 arg6
= static_cast< long >(val6
);
38572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38573 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38574 wxPyEndAllowThreads(__tstate
);
38575 if (PyErr_Occurred()) SWIG_fail
;
38578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38586 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38587 PyObject
*resultobj
= 0;
38588 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38589 wxString
*arg2
= 0 ;
38593 bool temp2
= false ;
38596 PyObject
* obj0
= 0 ;
38597 PyObject
* obj1
= 0 ;
38598 PyObject
* obj2
= 0 ;
38599 char * kwnames
[] = {
38600 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38605 if (!SWIG_IsOK(res1
)) {
38606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38608 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38610 arg2
= wxString_in_helper(obj1
);
38611 if (arg2
== NULL
) SWIG_fail
;
38614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38615 if (!SWIG_IsOK(ecode3
)) {
38616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38618 arg3
= static_cast< int >(val3
);
38620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38621 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38622 wxPyEndAllowThreads(__tstate
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= SWIG_Py_Void();
38640 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38643 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38644 return SWIG_Py_Void();
38647 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38648 return SWIG_Python_InitShadowInstance(args
);
38651 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38652 PyObject
*resultobj
= 0;
38653 wxWindow
*arg1
= (wxWindow
*) 0 ;
38654 int arg2
= (int) (int)-1 ;
38655 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38656 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38657 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38658 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38659 long arg5
= (long) 0 ;
38660 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38661 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38662 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38663 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38664 wxPyControl
*result
= 0 ;
38675 bool temp7
= false ;
38676 PyObject
* obj0
= 0 ;
38677 PyObject
* obj1
= 0 ;
38678 PyObject
* obj2
= 0 ;
38679 PyObject
* obj3
= 0 ;
38680 PyObject
* obj4
= 0 ;
38681 PyObject
* obj5
= 0 ;
38682 PyObject
* obj6
= 0 ;
38683 char * kwnames
[] = {
38684 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38689 if (!SWIG_IsOK(res1
)) {
38690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38695 if (!SWIG_IsOK(ecode2
)) {
38696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38698 arg2
= static_cast< int >(val2
);
38703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38709 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38713 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38714 if (!SWIG_IsOK(ecode5
)) {
38715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38717 arg5
= static_cast< long >(val5
);
38720 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38721 if (!SWIG_IsOK(res6
)) {
38722 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38727 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38731 arg7
= wxString_in_helper(obj6
);
38732 if (arg7
== NULL
) SWIG_fail
;
38737 if (!wxPyCheckForApp()) SWIG_fail
;
38738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38739 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38740 wxPyEndAllowThreads(__tstate
);
38741 if (PyErr_Occurred()) SWIG_fail
;
38743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38758 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38759 PyObject
*resultobj
= 0;
38760 wxPyControl
*result
= 0 ;
38762 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38764 if (!wxPyCheckForApp()) SWIG_fail
;
38765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38766 result
= (wxPyControl
*)new wxPyControl();
38767 wxPyEndAllowThreads(__tstate
);
38768 if (PyErr_Occurred()) SWIG_fail
;
38770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38777 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38778 PyObject
*resultobj
= 0;
38779 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38780 PyObject
*arg2
= (PyObject
*) 0 ;
38781 PyObject
*arg3
= (PyObject
*) 0 ;
38784 PyObject
* obj0
= 0 ;
38785 PyObject
* obj1
= 0 ;
38786 PyObject
* obj2
= 0 ;
38787 char * kwnames
[] = {
38788 (char *) "self",(char *) "self",(char *) "_class", NULL
38791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38793 if (!SWIG_IsOK(res1
)) {
38794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38796 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38801 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38802 wxPyEndAllowThreads(__tstate
);
38803 if (PyErr_Occurred()) SWIG_fail
;
38805 resultobj
= SWIG_Py_Void();
38812 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38813 PyObject
*resultobj
= 0;
38814 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38819 PyObject
* obj0
= 0 ;
38820 PyObject
* obj1
= 0 ;
38821 char * kwnames
[] = {
38822 (char *) "self",(char *) "size", NULL
38825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38827 if (!SWIG_IsOK(res1
)) {
38828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38830 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38833 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38837 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38838 wxPyEndAllowThreads(__tstate
);
38839 if (PyErr_Occurred()) SWIG_fail
;
38841 resultobj
= SWIG_Py_Void();
38848 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38849 PyObject
*resultobj
= 0;
38850 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38851 wxDC
*arg2
= (wxDC
*) 0 ;
38857 PyObject
* obj0
= 0 ;
38858 PyObject
* obj1
= 0 ;
38859 char * kwnames
[] = {
38860 (char *) "self",(char *) "dc", NULL
38863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38865 if (!SWIG_IsOK(res1
)) {
38866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38868 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38870 if (!SWIG_IsOK(res2
)) {
38871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38873 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38876 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38877 wxPyEndAllowThreads(__tstate
);
38878 if (PyErr_Occurred()) SWIG_fail
;
38881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38889 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38890 PyObject
*resultobj
= 0;
38891 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38906 PyObject
* obj0
= 0 ;
38907 PyObject
* obj1
= 0 ;
38908 PyObject
* obj2
= 0 ;
38909 PyObject
* obj3
= 0 ;
38910 PyObject
* obj4
= 0 ;
38911 char * kwnames
[] = {
38912 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38917 if (!SWIG_IsOK(res1
)) {
38918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38920 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38922 if (!SWIG_IsOK(ecode2
)) {
38923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38925 arg2
= static_cast< int >(val2
);
38926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38927 if (!SWIG_IsOK(ecode3
)) {
38928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38930 arg3
= static_cast< int >(val3
);
38931 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38932 if (!SWIG_IsOK(ecode4
)) {
38933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38935 arg4
= static_cast< int >(val4
);
38936 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38937 if (!SWIG_IsOK(ecode5
)) {
38938 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38940 arg5
= static_cast< int >(val5
);
38942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38943 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38944 wxPyEndAllowThreads(__tstate
);
38945 if (PyErr_Occurred()) SWIG_fail
;
38947 resultobj
= SWIG_Py_Void();
38954 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38955 PyObject
*resultobj
= 0;
38956 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38961 int arg6
= (int) wxSIZE_AUTO
;
38974 PyObject
* obj0
= 0 ;
38975 PyObject
* obj1
= 0 ;
38976 PyObject
* obj2
= 0 ;
38977 PyObject
* obj3
= 0 ;
38978 PyObject
* obj4
= 0 ;
38979 PyObject
* obj5
= 0 ;
38980 char * kwnames
[] = {
38981 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38986 if (!SWIG_IsOK(res1
)) {
38987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38989 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38991 if (!SWIG_IsOK(ecode2
)) {
38992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38994 arg2
= static_cast< int >(val2
);
38995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38996 if (!SWIG_IsOK(ecode3
)) {
38997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38999 arg3
= static_cast< int >(val3
);
39000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39001 if (!SWIG_IsOK(ecode4
)) {
39002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39004 arg4
= static_cast< int >(val4
);
39005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39006 if (!SWIG_IsOK(ecode5
)) {
39007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39009 arg5
= static_cast< int >(val5
);
39011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39012 if (!SWIG_IsOK(ecode6
)) {
39013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39015 arg6
= static_cast< int >(val6
);
39018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39019 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39020 wxPyEndAllowThreads(__tstate
);
39021 if (PyErr_Occurred()) SWIG_fail
;
39023 resultobj
= SWIG_Py_Void();
39030 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39031 PyObject
*resultobj
= 0;
39032 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39041 PyObject
* obj0
= 0 ;
39042 PyObject
* obj1
= 0 ;
39043 PyObject
* obj2
= 0 ;
39044 char * kwnames
[] = {
39045 (char *) "self",(char *) "width",(char *) "height", NULL
39048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39050 if (!SWIG_IsOK(res1
)) {
39051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39053 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39055 if (!SWIG_IsOK(ecode2
)) {
39056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39058 arg2
= static_cast< int >(val2
);
39059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39060 if (!SWIG_IsOK(ecode3
)) {
39061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39063 arg3
= static_cast< int >(val3
);
39065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39066 (arg1
)->DoSetClientSize(arg2
,arg3
);
39067 wxPyEndAllowThreads(__tstate
);
39068 if (PyErr_Occurred()) SWIG_fail
;
39070 resultobj
= SWIG_Py_Void();
39077 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39078 PyObject
*resultobj
= 0;
39079 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39088 PyObject
* obj0
= 0 ;
39089 PyObject
* obj1
= 0 ;
39090 PyObject
* obj2
= 0 ;
39091 char * kwnames
[] = {
39092 (char *) "self",(char *) "x",(char *) "y", NULL
39095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39097 if (!SWIG_IsOK(res1
)) {
39098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39100 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39102 if (!SWIG_IsOK(ecode2
)) {
39103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39105 arg2
= static_cast< int >(val2
);
39106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39107 if (!SWIG_IsOK(ecode3
)) {
39108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39110 arg3
= static_cast< int >(val3
);
39112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39113 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39114 wxPyEndAllowThreads(__tstate
);
39115 if (PyErr_Occurred()) SWIG_fail
;
39117 resultobj
= SWIG_Py_Void();
39124 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39125 PyObject
*resultobj
= 0;
39126 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39127 int *arg2
= (int *) 0 ;
39128 int *arg3
= (int *) 0 ;
39132 int res2
= SWIG_TMPOBJ
;
39134 int res3
= SWIG_TMPOBJ
;
39135 PyObject
*swig_obj
[1] ;
39139 if (!args
) SWIG_fail
;
39140 swig_obj
[0] = args
;
39141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39142 if (!SWIG_IsOK(res1
)) {
39143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39145 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39148 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39149 wxPyEndAllowThreads(__tstate
);
39150 if (PyErr_Occurred()) SWIG_fail
;
39152 resultobj
= SWIG_Py_Void();
39153 if (SWIG_IsTmpObj(res2
)) {
39154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39156 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39159 if (SWIG_IsTmpObj(res3
)) {
39160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39162 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39171 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39172 PyObject
*resultobj
= 0;
39173 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39174 int *arg2
= (int *) 0 ;
39175 int *arg3
= (int *) 0 ;
39179 int res2
= SWIG_TMPOBJ
;
39181 int res3
= SWIG_TMPOBJ
;
39182 PyObject
*swig_obj
[1] ;
39186 if (!args
) SWIG_fail
;
39187 swig_obj
[0] = args
;
39188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39189 if (!SWIG_IsOK(res1
)) {
39190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39192 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39195 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39196 wxPyEndAllowThreads(__tstate
);
39197 if (PyErr_Occurred()) SWIG_fail
;
39199 resultobj
= SWIG_Py_Void();
39200 if (SWIG_IsTmpObj(res2
)) {
39201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39203 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39206 if (SWIG_IsTmpObj(res3
)) {
39207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39209 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39218 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39219 PyObject
*resultobj
= 0;
39220 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39221 int *arg2
= (int *) 0 ;
39222 int *arg3
= (int *) 0 ;
39226 int res2
= SWIG_TMPOBJ
;
39228 int res3
= SWIG_TMPOBJ
;
39229 PyObject
*swig_obj
[1] ;
39233 if (!args
) SWIG_fail
;
39234 swig_obj
[0] = args
;
39235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39236 if (!SWIG_IsOK(res1
)) {
39237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39239 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39242 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39243 wxPyEndAllowThreads(__tstate
);
39244 if (PyErr_Occurred()) SWIG_fail
;
39246 resultobj
= SWIG_Py_Void();
39247 if (SWIG_IsTmpObj(res2
)) {
39248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39250 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39253 if (SWIG_IsTmpObj(res3
)) {
39254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39256 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39265 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39266 PyObject
*resultobj
= 0;
39267 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39271 PyObject
*swig_obj
[1] ;
39273 if (!args
) SWIG_fail
;
39274 swig_obj
[0] = args
;
39275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39276 if (!SWIG_IsOK(res1
)) {
39277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39279 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39282 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39283 wxPyEndAllowThreads(__tstate
);
39284 if (PyErr_Occurred()) SWIG_fail
;
39286 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39293 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39294 PyObject
*resultobj
= 0;
39295 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39299 PyObject
*swig_obj
[1] ;
39301 if (!args
) SWIG_fail
;
39302 swig_obj
[0] = args
;
39303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39304 if (!SWIG_IsOK(res1
)) {
39305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39307 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39310 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39311 wxPyEndAllowThreads(__tstate
);
39312 if (PyErr_Occurred()) SWIG_fail
;
39314 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39321 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39322 PyObject
*resultobj
= 0;
39323 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39324 SwigValueWrapper
<wxVisualAttributes
> result
;
39327 PyObject
*swig_obj
[1] ;
39329 if (!args
) SWIG_fail
;
39330 swig_obj
[0] = args
;
39331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39332 if (!SWIG_IsOK(res1
)) {
39333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39335 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39338 result
= (arg1
)->GetDefaultAttributes();
39339 wxPyEndAllowThreads(__tstate
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39342 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39349 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39350 PyObject
*resultobj
= 0;
39351 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39354 PyObject
*swig_obj
[1] ;
39356 if (!args
) SWIG_fail
;
39357 swig_obj
[0] = args
;
39358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39359 if (!SWIG_IsOK(res1
)) {
39360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39362 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39365 (arg1
)->OnInternalIdle();
39366 wxPyEndAllowThreads(__tstate
);
39367 if (PyErr_Occurred()) SWIG_fail
;
39369 resultobj
= SWIG_Py_Void();
39376 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39379 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39380 return SWIG_Py_Void();
39383 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39384 return SWIG_Python_InitShadowInstance(args
);
39387 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39388 PyObject
*resultobj
= 0;
39389 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39390 int arg2
= (int) 0 ;
39391 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39392 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39393 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39394 wxHelpEvent
*result
= 0 ;
39402 PyObject
* obj0
= 0 ;
39403 PyObject
* obj1
= 0 ;
39404 PyObject
* obj2
= 0 ;
39405 PyObject
* obj3
= 0 ;
39406 char * kwnames
[] = {
39407 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39412 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39413 if (!SWIG_IsOK(ecode1
)) {
39414 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39416 arg1
= static_cast< wxEventType
>(val1
);
39419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39420 if (!SWIG_IsOK(ecode2
)) {
39421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39423 arg2
= static_cast< int >(val2
);
39428 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39433 if (!SWIG_IsOK(ecode4
)) {
39434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39436 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39440 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39441 wxPyEndAllowThreads(__tstate
);
39442 if (PyErr_Occurred()) SWIG_fail
;
39444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39451 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39452 PyObject
*resultobj
= 0;
39453 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39457 PyObject
*swig_obj
[1] ;
39459 if (!args
) SWIG_fail
;
39460 swig_obj
[0] = args
;
39461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39462 if (!SWIG_IsOK(res1
)) {
39463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39465 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39468 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39469 wxPyEndAllowThreads(__tstate
);
39470 if (PyErr_Occurred()) SWIG_fail
;
39472 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39479 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39480 PyObject
*resultobj
= 0;
39481 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39482 wxPoint
*arg2
= 0 ;
39486 PyObject
* obj0
= 0 ;
39487 PyObject
* obj1
= 0 ;
39488 char * kwnames
[] = {
39489 (char *) "self",(char *) "pos", NULL
39492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39494 if (!SWIG_IsOK(res1
)) {
39495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39497 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39505 wxPyEndAllowThreads(__tstate
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39508 resultobj
= SWIG_Py_Void();
39515 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39516 PyObject
*resultobj
= 0;
39517 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39518 wxString
*result
= 0 ;
39521 PyObject
*swig_obj
[1] ;
39523 if (!args
) SWIG_fail
;
39524 swig_obj
[0] = args
;
39525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39526 if (!SWIG_IsOK(res1
)) {
39527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39529 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39533 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39534 result
= (wxString
*) &_result_ref
;
39536 wxPyEndAllowThreads(__tstate
);
39537 if (PyErr_Occurred()) SWIG_fail
;
39541 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39543 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39552 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39553 PyObject
*resultobj
= 0;
39554 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39555 wxString
*arg2
= 0 ;
39558 bool temp2
= false ;
39559 PyObject
* obj0
= 0 ;
39560 PyObject
* obj1
= 0 ;
39561 char * kwnames
[] = {
39562 (char *) "self",(char *) "link", NULL
39565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39567 if (!SWIG_IsOK(res1
)) {
39568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39570 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39572 arg2
= wxString_in_helper(obj1
);
39573 if (arg2
== NULL
) SWIG_fail
;
39577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39578 (arg1
)->SetLink((wxString
const &)*arg2
);
39579 wxPyEndAllowThreads(__tstate
);
39580 if (PyErr_Occurred()) SWIG_fail
;
39582 resultobj
= SWIG_Py_Void();
39597 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39598 PyObject
*resultobj
= 0;
39599 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39600 wxString
*result
= 0 ;
39603 PyObject
*swig_obj
[1] ;
39605 if (!args
) SWIG_fail
;
39606 swig_obj
[0] = args
;
39607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39608 if (!SWIG_IsOK(res1
)) {
39609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39611 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39615 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39616 result
= (wxString
*) &_result_ref
;
39618 wxPyEndAllowThreads(__tstate
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39623 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39625 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39634 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39635 PyObject
*resultobj
= 0;
39636 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39637 wxString
*arg2
= 0 ;
39640 bool temp2
= false ;
39641 PyObject
* obj0
= 0 ;
39642 PyObject
* obj1
= 0 ;
39643 char * kwnames
[] = {
39644 (char *) "self",(char *) "target", NULL
39647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39649 if (!SWIG_IsOK(res1
)) {
39650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39652 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39654 arg2
= wxString_in_helper(obj1
);
39655 if (arg2
== NULL
) SWIG_fail
;
39659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39660 (arg1
)->SetTarget((wxString
const &)*arg2
);
39661 wxPyEndAllowThreads(__tstate
);
39662 if (PyErr_Occurred()) SWIG_fail
;
39664 resultobj
= SWIG_Py_Void();
39679 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39680 PyObject
*resultobj
= 0;
39681 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39682 wxHelpEvent::Origin result
;
39685 PyObject
*swig_obj
[1] ;
39687 if (!args
) SWIG_fail
;
39688 swig_obj
[0] = args
;
39689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39690 if (!SWIG_IsOK(res1
)) {
39691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39693 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39696 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39697 wxPyEndAllowThreads(__tstate
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39700 resultobj
= SWIG_From_int(static_cast< int >(result
));
39707 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39708 PyObject
*resultobj
= 0;
39709 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39710 wxHelpEvent::Origin arg2
;
39715 PyObject
* obj0
= 0 ;
39716 PyObject
* obj1
= 0 ;
39717 char * kwnames
[] = {
39718 (char *) "self",(char *) "origin", NULL
39721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39723 if (!SWIG_IsOK(res1
)) {
39724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39726 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39728 if (!SWIG_IsOK(ecode2
)) {
39729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39731 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39734 (arg1
)->SetOrigin(arg2
);
39735 wxPyEndAllowThreads(__tstate
);
39736 if (PyErr_Occurred()) SWIG_fail
;
39738 resultobj
= SWIG_Py_Void();
39745 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39748 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39749 return SWIG_Py_Void();
39752 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39753 return SWIG_Python_InitShadowInstance(args
);
39756 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39757 PyObject
*resultobj
= 0;
39758 wxWindow
*arg1
= (wxWindow
*) NULL
;
39759 bool arg2
= (bool) true ;
39760 wxContextHelp
*result
= 0 ;
39765 PyObject
* obj0
= 0 ;
39766 PyObject
* obj1
= 0 ;
39767 char * kwnames
[] = {
39768 (char *) "window",(char *) "doNow", NULL
39771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39774 if (!SWIG_IsOK(res1
)) {
39775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39777 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39780 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39781 if (!SWIG_IsOK(ecode2
)) {
39782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39784 arg2
= static_cast< bool >(val2
);
39787 if (!wxPyCheckForApp()) SWIG_fail
;
39788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39789 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39790 wxPyEndAllowThreads(__tstate
);
39791 if (PyErr_Occurred()) SWIG_fail
;
39793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39800 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39801 PyObject
*resultobj
= 0;
39802 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39805 PyObject
*swig_obj
[1] ;
39807 if (!args
) SWIG_fail
;
39808 swig_obj
[0] = args
;
39809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39810 if (!SWIG_IsOK(res1
)) {
39811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39813 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39818 wxPyEndAllowThreads(__tstate
);
39819 if (PyErr_Occurred()) SWIG_fail
;
39821 resultobj
= SWIG_Py_Void();
39828 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39829 PyObject
*resultobj
= 0;
39830 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39831 wxWindow
*arg2
= (wxWindow
*) NULL
;
39837 PyObject
* obj0
= 0 ;
39838 PyObject
* obj1
= 0 ;
39839 char * kwnames
[] = {
39840 (char *) "self",(char *) "window", NULL
39843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39845 if (!SWIG_IsOK(res1
)) {
39846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39848 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39851 if (!SWIG_IsOK(res2
)) {
39852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39854 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39858 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39859 wxPyEndAllowThreads(__tstate
);
39860 if (PyErr_Occurred()) SWIG_fail
;
39863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39871 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39872 PyObject
*resultobj
= 0;
39873 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39877 PyObject
*swig_obj
[1] ;
39879 if (!args
) SWIG_fail
;
39880 swig_obj
[0] = args
;
39881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39882 if (!SWIG_IsOK(res1
)) {
39883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39885 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39888 result
= (bool)(arg1
)->EndContextHelp();
39889 wxPyEndAllowThreads(__tstate
);
39890 if (PyErr_Occurred()) SWIG_fail
;
39893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39901 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39904 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39905 return SWIG_Py_Void();
39908 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39909 return SWIG_Python_InitShadowInstance(args
);
39912 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39913 PyObject
*resultobj
= 0;
39914 wxWindow
*arg1
= (wxWindow
*) 0 ;
39915 int arg2
= (int) wxID_CONTEXT_HELP
;
39916 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39917 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39918 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39919 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39920 long arg5
= (long) wxBU_AUTODRAW
;
39921 wxContextHelpButton
*result
= 0 ;
39930 PyObject
* obj0
= 0 ;
39931 PyObject
* obj1
= 0 ;
39932 PyObject
* obj2
= 0 ;
39933 PyObject
* obj3
= 0 ;
39934 PyObject
* obj4
= 0 ;
39935 char * kwnames
[] = {
39936 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39941 if (!SWIG_IsOK(res1
)) {
39942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39944 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39947 if (!SWIG_IsOK(ecode2
)) {
39948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39950 arg2
= static_cast< int >(val2
);
39955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39965 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39966 if (!SWIG_IsOK(ecode5
)) {
39967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39969 arg5
= static_cast< long >(val5
);
39972 if (!wxPyCheckForApp()) SWIG_fail
;
39973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39974 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39975 wxPyEndAllowThreads(__tstate
);
39976 if (PyErr_Occurred()) SWIG_fail
;
39978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39985 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39988 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39989 return SWIG_Py_Void();
39992 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39993 return SWIG_Python_InitShadowInstance(args
);
39996 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39997 PyObject
*resultobj
= 0;
39998 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40001 PyObject
*swig_obj
[1] ;
40003 if (!args
) SWIG_fail
;
40004 swig_obj
[0] = args
;
40005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40006 if (!SWIG_IsOK(res1
)) {
40007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40009 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40014 wxPyEndAllowThreads(__tstate
);
40015 if (PyErr_Occurred()) SWIG_fail
;
40017 resultobj
= SWIG_Py_Void();
40024 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40025 PyObject
*resultobj
= 0;
40026 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40027 wxHelpProvider
*result
= 0 ;
40029 PyObject
* obj0
= 0 ;
40030 char * kwnames
[] = {
40031 (char *) "helpProvider", NULL
40034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40035 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40036 if (!SWIG_IsOK(res1
)) {
40037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40041 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40042 wxPyEndAllowThreads(__tstate
);
40043 if (PyErr_Occurred()) SWIG_fail
;
40045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40052 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40053 PyObject
*resultobj
= 0;
40054 wxHelpProvider
*result
= 0 ;
40056 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40059 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40070 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
= 0;
40072 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40073 wxWindow
*arg2
= (wxWindow
*) 0 ;
40079 PyObject
* obj0
= 0 ;
40080 PyObject
* obj1
= 0 ;
40081 char * kwnames
[] = {
40082 (char *) "self",(char *) "window", NULL
40085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40087 if (!SWIG_IsOK(res1
)) {
40088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40090 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40092 if (!SWIG_IsOK(res2
)) {
40093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40095 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40098 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40099 wxPyEndAllowThreads(__tstate
);
40100 if (PyErr_Occurred()) SWIG_fail
;
40104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40115 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40116 PyObject
*resultobj
= 0;
40117 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40118 wxWindow
*arg2
= (wxWindow
*) 0 ;
40124 PyObject
* obj0
= 0 ;
40125 PyObject
* obj1
= 0 ;
40126 char * kwnames
[] = {
40127 (char *) "self",(char *) "window", NULL
40130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40132 if (!SWIG_IsOK(res1
)) {
40133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40135 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40137 if (!SWIG_IsOK(res2
)) {
40138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40140 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40143 result
= (bool)(arg1
)->ShowHelp(arg2
);
40144 wxPyEndAllowThreads(__tstate
);
40145 if (PyErr_Occurred()) SWIG_fail
;
40148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40156 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40157 PyObject
*resultobj
= 0;
40158 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40159 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40160 wxPoint
*arg3
= 0 ;
40161 wxHelpEvent::Origin arg4
;
40170 PyObject
* obj0
= 0 ;
40171 PyObject
* obj1
= 0 ;
40172 PyObject
* obj2
= 0 ;
40173 PyObject
* obj3
= 0 ;
40174 char * kwnames
[] = {
40175 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40180 if (!SWIG_IsOK(res1
)) {
40181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40183 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40185 if (!SWIG_IsOK(res2
)) {
40186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40188 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40191 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40193 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40194 if (!SWIG_IsOK(ecode4
)) {
40195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40197 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40200 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40201 wxPyEndAllowThreads(__tstate
);
40202 if (PyErr_Occurred()) SWIG_fail
;
40205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40213 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40214 PyObject
*resultobj
= 0;
40215 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40216 wxWindow
*arg2
= (wxWindow
*) 0 ;
40217 wxString
*arg3
= 0 ;
40222 bool temp3
= false ;
40223 PyObject
* obj0
= 0 ;
40224 PyObject
* obj1
= 0 ;
40225 PyObject
* obj2
= 0 ;
40226 char * kwnames
[] = {
40227 (char *) "self",(char *) "window",(char *) "text", NULL
40230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40232 if (!SWIG_IsOK(res1
)) {
40233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40235 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40237 if (!SWIG_IsOK(res2
)) {
40238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40242 arg3
= wxString_in_helper(obj2
);
40243 if (arg3
== NULL
) SWIG_fail
;
40247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40248 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40249 wxPyEndAllowThreads(__tstate
);
40250 if (PyErr_Occurred()) SWIG_fail
;
40252 resultobj
= SWIG_Py_Void();
40267 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
= 0;
40269 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40271 wxString
*arg3
= 0 ;
40276 bool temp3
= false ;
40277 PyObject
* obj0
= 0 ;
40278 PyObject
* obj1
= 0 ;
40279 PyObject
* obj2
= 0 ;
40280 char * kwnames
[] = {
40281 (char *) "self",(char *) "id",(char *) "text", NULL
40284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40286 if (!SWIG_IsOK(res1
)) {
40287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40289 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40291 if (!SWIG_IsOK(ecode2
)) {
40292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40294 arg2
= static_cast< int >(val2
);
40296 arg3
= wxString_in_helper(obj2
);
40297 if (arg3
== NULL
) SWIG_fail
;
40301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40302 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40303 wxPyEndAllowThreads(__tstate
);
40304 if (PyErr_Occurred()) SWIG_fail
;
40306 resultobj
= SWIG_Py_Void();
40321 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
= 0;
40323 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40324 wxWindow
*arg2
= (wxWindow
*) 0 ;
40329 PyObject
* obj0
= 0 ;
40330 PyObject
* obj1
= 0 ;
40331 char * kwnames
[] = {
40332 (char *) "self",(char *) "window", NULL
40335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40337 if (!SWIG_IsOK(res1
)) {
40338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40340 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40341 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40342 if (!SWIG_IsOK(res2
)) {
40343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40345 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40348 (arg1
)->RemoveHelp(arg2
);
40349 wxPyEndAllowThreads(__tstate
);
40350 if (PyErr_Occurred()) SWIG_fail
;
40352 resultobj
= SWIG_Py_Void();
40359 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40360 PyObject
*resultobj
= 0;
40361 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40364 PyObject
*swig_obj
[1] ;
40366 if (!args
) SWIG_fail
;
40367 swig_obj
[0] = args
;
40368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40369 if (!SWIG_IsOK(res1
)) {
40370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40372 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40375 wxHelpProvider_Destroy(arg1
);
40376 wxPyEndAllowThreads(__tstate
);
40377 if (PyErr_Occurred()) SWIG_fail
;
40379 resultobj
= SWIG_Py_Void();
40386 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40389 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40390 return SWIG_Py_Void();
40393 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40394 PyObject
*resultobj
= 0;
40395 wxSimpleHelpProvider
*result
= 0 ;
40397 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40400 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40401 wxPyEndAllowThreads(__tstate
);
40402 if (PyErr_Occurred()) SWIG_fail
;
40404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40411 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40414 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40415 return SWIG_Py_Void();
40418 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40419 return SWIG_Python_InitShadowInstance(args
);
40422 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40423 PyObject
*resultobj
= 0;
40424 wxBitmap
*arg1
= 0 ;
40425 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40426 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40427 wxGenericDragImage
*result
= 0 ;
40432 PyObject
* obj0
= 0 ;
40433 PyObject
* obj1
= 0 ;
40434 char * kwnames
[] = {
40435 (char *) "image",(char *) "cursor", NULL
40438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40439 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40440 if (!SWIG_IsOK(res1
)) {
40441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40449 if (!SWIG_IsOK(res2
)) {
40450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40455 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40458 if (!wxPyCheckForApp()) SWIG_fail
;
40459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40460 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40461 wxPyEndAllowThreads(__tstate
);
40462 if (PyErr_Occurred()) SWIG_fail
;
40464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40471 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40472 PyObject
*resultobj
= 0;
40474 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40475 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40476 wxGenericDragImage
*result
= 0 ;
40481 PyObject
* obj0
= 0 ;
40482 PyObject
* obj1
= 0 ;
40483 char * kwnames
[] = {
40484 (char *) "image",(char *) "cursor", NULL
40487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40488 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40489 if (!SWIG_IsOK(res1
)) {
40490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40495 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40498 if (!SWIG_IsOK(res2
)) {
40499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40504 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40507 if (!wxPyCheckForApp()) SWIG_fail
;
40508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40509 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40510 wxPyEndAllowThreads(__tstate
);
40511 if (PyErr_Occurred()) SWIG_fail
;
40513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40520 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40521 PyObject
*resultobj
= 0;
40522 wxString
*arg1
= 0 ;
40523 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40524 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40525 wxGenericDragImage
*result
= 0 ;
40526 bool temp1
= false ;
40529 PyObject
* obj0
= 0 ;
40530 PyObject
* obj1
= 0 ;
40531 char * kwnames
[] = {
40532 (char *) "str",(char *) "cursor", NULL
40535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40537 arg1
= wxString_in_helper(obj0
);
40538 if (arg1
== NULL
) SWIG_fail
;
40542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40543 if (!SWIG_IsOK(res2
)) {
40544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40549 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40552 if (!wxPyCheckForApp()) SWIG_fail
;
40553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40554 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40555 wxPyEndAllowThreads(__tstate
);
40556 if (PyErr_Occurred()) SWIG_fail
;
40558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40573 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40574 PyObject
*resultobj
= 0;
40575 wxPyTreeCtrl
*arg1
= 0 ;
40576 wxTreeItemId
*arg2
= 0 ;
40577 wxGenericDragImage
*result
= 0 ;
40582 PyObject
* obj0
= 0 ;
40583 PyObject
* obj1
= 0 ;
40584 char * kwnames
[] = {
40585 (char *) "treeCtrl",(char *) "id", NULL
40588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40589 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40590 if (!SWIG_IsOK(res1
)) {
40591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40596 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40598 if (!SWIG_IsOK(res2
)) {
40599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40604 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40606 if (!wxPyCheckForApp()) SWIG_fail
;
40607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40608 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40609 wxPyEndAllowThreads(__tstate
);
40610 if (PyErr_Occurred()) SWIG_fail
;
40612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40619 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40620 PyObject
*resultobj
= 0;
40621 wxPyListCtrl
*arg1
= 0 ;
40623 wxGenericDragImage
*result
= 0 ;
40628 PyObject
* obj0
= 0 ;
40629 PyObject
* obj1
= 0 ;
40630 char * kwnames
[] = {
40631 (char *) "listCtrl",(char *) "id", NULL
40634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40635 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40636 if (!SWIG_IsOK(res1
)) {
40637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40642 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40643 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40644 if (!SWIG_IsOK(ecode2
)) {
40645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40647 arg2
= static_cast< long >(val2
);
40649 if (!wxPyCheckForApp()) SWIG_fail
;
40650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40651 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40652 wxPyEndAllowThreads(__tstate
);
40653 if (PyErr_Occurred()) SWIG_fail
;
40655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40662 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40663 PyObject
*resultobj
= 0;
40664 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40667 PyObject
*swig_obj
[1] ;
40669 if (!args
) SWIG_fail
;
40670 swig_obj
[0] = args
;
40671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40672 if (!SWIG_IsOK(res1
)) {
40673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40675 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40680 wxPyEndAllowThreads(__tstate
);
40681 if (PyErr_Occurred()) SWIG_fail
;
40683 resultobj
= SWIG_Py_Void();
40690 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40691 PyObject
*resultobj
= 0;
40692 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40693 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40698 PyObject
* obj0
= 0 ;
40699 PyObject
* obj1
= 0 ;
40700 char * kwnames
[] = {
40701 (char *) "self",(char *) "bitmap", NULL
40704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40706 if (!SWIG_IsOK(res1
)) {
40707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40709 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40711 if (!SWIG_IsOK(res2
)) {
40712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40714 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40717 (arg1
)->SetBackingBitmap(arg2
);
40718 wxPyEndAllowThreads(__tstate
);
40719 if (PyErr_Occurred()) SWIG_fail
;
40721 resultobj
= SWIG_Py_Void();
40728 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40729 PyObject
*resultobj
= 0;
40730 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40731 wxPoint
*arg2
= 0 ;
40732 wxWindow
*arg3
= (wxWindow
*) 0 ;
40733 bool arg4
= (bool) false ;
40734 wxRect
*arg5
= (wxRect
*) NULL
;
40745 PyObject
* obj0
= 0 ;
40746 PyObject
* obj1
= 0 ;
40747 PyObject
* obj2
= 0 ;
40748 PyObject
* obj3
= 0 ;
40749 PyObject
* obj4
= 0 ;
40750 char * kwnames
[] = {
40751 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40756 if (!SWIG_IsOK(res1
)) {
40757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40759 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40764 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40765 if (!SWIG_IsOK(res3
)) {
40766 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40768 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40770 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40771 if (!SWIG_IsOK(ecode4
)) {
40772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40774 arg4
= static_cast< bool >(val4
);
40777 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40778 if (!SWIG_IsOK(res5
)) {
40779 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40781 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40785 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40786 wxPyEndAllowThreads(__tstate
);
40787 if (PyErr_Occurred()) SWIG_fail
;
40790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40798 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40799 PyObject
*resultobj
= 0;
40800 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40801 wxPoint
*arg2
= 0 ;
40802 wxWindow
*arg3
= (wxWindow
*) 0 ;
40803 wxWindow
*arg4
= (wxWindow
*) 0 ;
40812 PyObject
* obj0
= 0 ;
40813 PyObject
* obj1
= 0 ;
40814 PyObject
* obj2
= 0 ;
40815 PyObject
* obj3
= 0 ;
40816 char * kwnames
[] = {
40817 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40822 if (!SWIG_IsOK(res1
)) {
40823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40825 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40830 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40831 if (!SWIG_IsOK(res3
)) {
40832 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40834 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40835 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40836 if (!SWIG_IsOK(res4
)) {
40837 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40839 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40842 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40843 wxPyEndAllowThreads(__tstate
);
40844 if (PyErr_Occurred()) SWIG_fail
;
40847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40855 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40856 PyObject
*resultobj
= 0;
40857 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40861 PyObject
*swig_obj
[1] ;
40863 if (!args
) SWIG_fail
;
40864 swig_obj
[0] = args
;
40865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40866 if (!SWIG_IsOK(res1
)) {
40867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40869 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40872 result
= (bool)(arg1
)->EndDrag();
40873 wxPyEndAllowThreads(__tstate
);
40874 if (PyErr_Occurred()) SWIG_fail
;
40877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40885 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40886 PyObject
*resultobj
= 0;
40887 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40888 wxPoint
*arg2
= 0 ;
40893 PyObject
* obj0
= 0 ;
40894 PyObject
* obj1
= 0 ;
40895 char * kwnames
[] = {
40896 (char *) "self",(char *) "pt", NULL
40899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40901 if (!SWIG_IsOK(res1
)) {
40902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40904 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40911 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40912 wxPyEndAllowThreads(__tstate
);
40913 if (PyErr_Occurred()) SWIG_fail
;
40916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40924 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40925 PyObject
*resultobj
= 0;
40926 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40930 PyObject
*swig_obj
[1] ;
40932 if (!args
) SWIG_fail
;
40933 swig_obj
[0] = args
;
40934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40935 if (!SWIG_IsOK(res1
)) {
40936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40938 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40941 result
= (bool)(arg1
)->Show();
40942 wxPyEndAllowThreads(__tstate
);
40943 if (PyErr_Occurred()) SWIG_fail
;
40946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40954 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40955 PyObject
*resultobj
= 0;
40956 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40960 PyObject
*swig_obj
[1] ;
40962 if (!args
) SWIG_fail
;
40963 swig_obj
[0] = args
;
40964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40965 if (!SWIG_IsOK(res1
)) {
40966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40968 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40971 result
= (bool)(arg1
)->Hide();
40972 wxPyEndAllowThreads(__tstate
);
40973 if (PyErr_Occurred()) SWIG_fail
;
40976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40984 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40985 PyObject
*resultobj
= 0;
40986 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40987 wxPoint
*arg2
= 0 ;
40992 PyObject
* obj0
= 0 ;
40993 PyObject
* obj1
= 0 ;
40994 char * kwnames
[] = {
40995 (char *) "self",(char *) "pos", NULL
40998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41000 if (!SWIG_IsOK(res1
)) {
41001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41003 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41010 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41011 wxPyEndAllowThreads(__tstate
);
41012 if (PyErr_Occurred()) SWIG_fail
;
41014 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41021 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41022 PyObject
*resultobj
= 0;
41023 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41025 wxPoint
*arg3
= 0 ;
41032 PyObject
* obj0
= 0 ;
41033 PyObject
* obj1
= 0 ;
41034 PyObject
* obj2
= 0 ;
41035 char * kwnames
[] = {
41036 (char *) "self",(char *) "dc",(char *) "pos", NULL
41039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41041 if (!SWIG_IsOK(res1
)) {
41042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41044 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41046 if (!SWIG_IsOK(res2
)) {
41047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41052 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41055 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41059 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41060 wxPyEndAllowThreads(__tstate
);
41061 if (PyErr_Occurred()) SWIG_fail
;
41064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41072 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41073 PyObject
*resultobj
= 0;
41074 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41076 wxMemoryDC
*arg3
= 0 ;
41088 PyObject
* obj0
= 0 ;
41089 PyObject
* obj1
= 0 ;
41090 PyObject
* obj2
= 0 ;
41091 PyObject
* obj3
= 0 ;
41092 PyObject
* obj4
= 0 ;
41093 char * kwnames
[] = {
41094 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41099 if (!SWIG_IsOK(res1
)) {
41100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41102 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41104 if (!SWIG_IsOK(res2
)) {
41105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41110 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41111 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41112 if (!SWIG_IsOK(res3
)) {
41113 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41118 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41121 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41125 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41129 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41130 wxPyEndAllowThreads(__tstate
);
41131 if (PyErr_Occurred()) SWIG_fail
;
41134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41142 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41143 PyObject
*resultobj
= 0;
41144 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41145 wxPoint
*arg2
= 0 ;
41146 wxPoint
*arg3
= 0 ;
41158 PyObject
* obj0
= 0 ;
41159 PyObject
* obj1
= 0 ;
41160 PyObject
* obj2
= 0 ;
41161 PyObject
* obj3
= 0 ;
41162 PyObject
* obj4
= 0 ;
41163 char * kwnames
[] = {
41164 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41169 if (!SWIG_IsOK(res1
)) {
41170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41172 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41181 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41182 if (!SWIG_IsOK(ecode4
)) {
41183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41185 arg4
= static_cast< bool >(val4
);
41186 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41187 if (!SWIG_IsOK(ecode5
)) {
41188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41190 arg5
= static_cast< bool >(val5
);
41192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41193 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41194 wxPyEndAllowThreads(__tstate
);
41195 if (PyErr_Occurred()) SWIG_fail
;
41198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41206 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41209 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41210 return SWIG_Py_Void();
41213 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41214 return SWIG_Python_InitShadowInstance(args
);
41217 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41218 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41223 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41224 PyObject
*pyobj
= 0;
41228 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41230 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41237 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41238 PyObject
*resultobj
= 0;
41239 wxWindow
*arg1
= (wxWindow
*) 0 ;
41240 int arg2
= (int) -1 ;
41241 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41242 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41243 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41244 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41245 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41246 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41247 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41248 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41249 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41250 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41251 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41252 wxDatePickerCtrl
*result
= 0 ;
41265 bool temp8
= false ;
41266 PyObject
* obj0
= 0 ;
41267 PyObject
* obj1
= 0 ;
41268 PyObject
* obj2
= 0 ;
41269 PyObject
* obj3
= 0 ;
41270 PyObject
* obj4
= 0 ;
41271 PyObject
* obj5
= 0 ;
41272 PyObject
* obj6
= 0 ;
41273 PyObject
* obj7
= 0 ;
41274 char * kwnames
[] = {
41275 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41280 if (!SWIG_IsOK(res1
)) {
41281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41283 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41286 if (!SWIG_IsOK(ecode2
)) {
41287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41289 arg2
= static_cast< int >(val2
);
41292 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41293 if (!SWIG_IsOK(res3
)) {
41294 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41299 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41304 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41310 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41314 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41315 if (!SWIG_IsOK(ecode6
)) {
41316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41318 arg6
= static_cast< long >(val6
);
41321 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41322 if (!SWIG_IsOK(res7
)) {
41323 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41328 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41332 arg8
= wxString_in_helper(obj7
);
41333 if (arg8
== NULL
) SWIG_fail
;
41338 if (!wxPyCheckForApp()) SWIG_fail
;
41339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41340 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41341 wxPyEndAllowThreads(__tstate
);
41342 if (PyErr_Occurred()) SWIG_fail
;
41344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41359 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41360 PyObject
*resultobj
= 0;
41361 wxDatePickerCtrl
*result
= 0 ;
41363 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41365 if (!wxPyCheckForApp()) SWIG_fail
;
41366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41367 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41368 wxPyEndAllowThreads(__tstate
);
41369 if (PyErr_Occurred()) SWIG_fail
;
41371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41378 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41379 PyObject
*resultobj
= 0;
41380 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41381 wxWindow
*arg2
= (wxWindow
*) 0 ;
41382 int arg3
= (int) -1 ;
41383 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41384 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41385 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41386 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41387 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41388 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41389 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41390 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41391 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41392 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41393 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41409 bool temp9
= false ;
41410 PyObject
* obj0
= 0 ;
41411 PyObject
* obj1
= 0 ;
41412 PyObject
* obj2
= 0 ;
41413 PyObject
* obj3
= 0 ;
41414 PyObject
* obj4
= 0 ;
41415 PyObject
* obj5
= 0 ;
41416 PyObject
* obj6
= 0 ;
41417 PyObject
* obj7
= 0 ;
41418 PyObject
* obj8
= 0 ;
41419 char * kwnames
[] = {
41420 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41425 if (!SWIG_IsOK(res1
)) {
41426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41428 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41430 if (!SWIG_IsOK(res2
)) {
41431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41433 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41436 if (!SWIG_IsOK(ecode3
)) {
41437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41439 arg3
= static_cast< int >(val3
);
41442 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41443 if (!SWIG_IsOK(res4
)) {
41444 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41449 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41454 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41460 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41464 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41465 if (!SWIG_IsOK(ecode7
)) {
41466 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41468 arg7
= static_cast< long >(val7
);
41471 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41472 if (!SWIG_IsOK(res8
)) {
41473 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41478 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41482 arg9
= wxString_in_helper(obj8
);
41483 if (arg9
== NULL
) SWIG_fail
;
41488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41490 wxPyEndAllowThreads(__tstate
);
41491 if (PyErr_Occurred()) SWIG_fail
;
41494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41510 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41511 PyObject
*resultobj
= 0;
41512 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41513 wxDateTime
*arg2
= 0 ;
41518 PyObject
* obj0
= 0 ;
41519 PyObject
* obj1
= 0 ;
41520 char * kwnames
[] = {
41521 (char *) "self",(char *) "dt", NULL
41524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41526 if (!SWIG_IsOK(res1
)) {
41527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41529 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41531 if (!SWIG_IsOK(res2
)) {
41532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41537 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41540 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41541 wxPyEndAllowThreads(__tstate
);
41542 if (PyErr_Occurred()) SWIG_fail
;
41544 resultobj
= SWIG_Py_Void();
41551 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41552 PyObject
*resultobj
= 0;
41553 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41557 PyObject
*swig_obj
[1] ;
41559 if (!args
) SWIG_fail
;
41560 swig_obj
[0] = args
;
41561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41562 if (!SWIG_IsOK(res1
)) {
41563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41565 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41568 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41569 wxPyEndAllowThreads(__tstate
);
41570 if (PyErr_Occurred()) SWIG_fail
;
41572 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41579 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41580 PyObject
*resultobj
= 0;
41581 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41582 wxDateTime
*arg2
= 0 ;
41583 wxDateTime
*arg3
= 0 ;
41590 PyObject
* obj0
= 0 ;
41591 PyObject
* obj1
= 0 ;
41592 PyObject
* obj2
= 0 ;
41593 char * kwnames
[] = {
41594 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41599 if (!SWIG_IsOK(res1
)) {
41600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41602 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41604 if (!SWIG_IsOK(res2
)) {
41605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41610 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41611 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41612 if (!SWIG_IsOK(res3
)) {
41613 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41618 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41621 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41622 wxPyEndAllowThreads(__tstate
);
41623 if (PyErr_Occurred()) SWIG_fail
;
41625 resultobj
= SWIG_Py_Void();
41632 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41633 PyObject
*resultobj
= 0;
41634 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41638 PyObject
*swig_obj
[1] ;
41640 if (!args
) SWIG_fail
;
41641 swig_obj
[0] = args
;
41642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41643 if (!SWIG_IsOK(res1
)) {
41644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41646 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41649 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41650 wxPyEndAllowThreads(__tstate
);
41651 if (PyErr_Occurred()) SWIG_fail
;
41653 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41660 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41661 PyObject
*resultobj
= 0;
41662 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41666 PyObject
*swig_obj
[1] ;
41668 if (!args
) SWIG_fail
;
41669 swig_obj
[0] = args
;
41670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41671 if (!SWIG_IsOK(res1
)) {
41672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41674 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41677 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41678 wxPyEndAllowThreads(__tstate
);
41679 if (PyErr_Occurred()) SWIG_fail
;
41681 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41688 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41691 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41692 return SWIG_Py_Void();
41695 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41696 return SWIG_Python_InitShadowInstance(args
);
41699 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41700 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41705 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41706 PyObject
*pyobj
= 0;
41710 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41712 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41719 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41720 PyObject
*resultobj
= 0;
41721 wxWindow
*arg1
= (wxWindow
*) 0 ;
41723 wxString
*arg3
= 0 ;
41724 wxString
*arg4
= 0 ;
41725 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41726 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41727 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41728 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41729 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41730 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41731 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41732 wxHyperlinkCtrl
*result
= 0 ;
41737 bool temp3
= false ;
41738 bool temp4
= false ;
41743 bool temp8
= false ;
41744 PyObject
* obj0
= 0 ;
41745 PyObject
* obj1
= 0 ;
41746 PyObject
* obj2
= 0 ;
41747 PyObject
* obj3
= 0 ;
41748 PyObject
* obj4
= 0 ;
41749 PyObject
* obj5
= 0 ;
41750 PyObject
* obj6
= 0 ;
41751 PyObject
* obj7
= 0 ;
41752 char * kwnames
[] = {
41753 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41758 if (!SWIG_IsOK(res1
)) {
41759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41763 if (!SWIG_IsOK(ecode2
)) {
41764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41766 arg2
= static_cast< int >(val2
);
41768 arg3
= wxString_in_helper(obj2
);
41769 if (arg3
== NULL
) SWIG_fail
;
41773 arg4
= wxString_in_helper(obj3
);
41774 if (arg4
== NULL
) SWIG_fail
;
41780 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41786 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41790 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41791 if (!SWIG_IsOK(ecode7
)) {
41792 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41794 arg7
= static_cast< long >(val7
);
41798 arg8
= wxString_in_helper(obj7
);
41799 if (arg8
== NULL
) SWIG_fail
;
41804 if (!wxPyCheckForApp()) SWIG_fail
;
41805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41806 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41807 wxPyEndAllowThreads(__tstate
);
41808 if (PyErr_Occurred()) SWIG_fail
;
41810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41841 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41842 PyObject
*resultobj
= 0;
41843 wxHyperlinkCtrl
*result
= 0 ;
41845 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41847 if (!wxPyCheckForApp()) SWIG_fail
;
41848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41849 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41850 wxPyEndAllowThreads(__tstate
);
41851 if (PyErr_Occurred()) SWIG_fail
;
41853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41860 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41861 PyObject
*resultobj
= 0;
41862 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41863 wxWindow
*arg2
= (wxWindow
*) 0 ;
41865 wxString
*arg4
= 0 ;
41866 wxString
*arg5
= 0 ;
41867 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41868 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41869 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41870 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41871 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41872 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41873 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41881 bool temp4
= false ;
41882 bool temp5
= false ;
41887 bool temp9
= false ;
41888 PyObject
* obj0
= 0 ;
41889 PyObject
* obj1
= 0 ;
41890 PyObject
* obj2
= 0 ;
41891 PyObject
* obj3
= 0 ;
41892 PyObject
* obj4
= 0 ;
41893 PyObject
* obj5
= 0 ;
41894 PyObject
* obj6
= 0 ;
41895 PyObject
* obj7
= 0 ;
41896 PyObject
* obj8
= 0 ;
41897 char * kwnames
[] = {
41898 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41903 if (!SWIG_IsOK(res1
)) {
41904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41906 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41908 if (!SWIG_IsOK(res2
)) {
41909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41911 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41913 if (!SWIG_IsOK(ecode3
)) {
41914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41916 arg3
= static_cast< int >(val3
);
41918 arg4
= wxString_in_helper(obj3
);
41919 if (arg4
== NULL
) SWIG_fail
;
41923 arg5
= wxString_in_helper(obj4
);
41924 if (arg5
== NULL
) SWIG_fail
;
41930 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41936 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41940 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41941 if (!SWIG_IsOK(ecode8
)) {
41942 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41944 arg8
= static_cast< long >(val8
);
41948 arg9
= wxString_in_helper(obj8
);
41949 if (arg9
== NULL
) SWIG_fail
;
41954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41955 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41956 wxPyEndAllowThreads(__tstate
);
41957 if (PyErr_Occurred()) SWIG_fail
;
41960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41992 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41993 PyObject
*resultobj
= 0;
41994 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41998 PyObject
*swig_obj
[1] ;
42000 if (!args
) SWIG_fail
;
42001 swig_obj
[0] = args
;
42002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42003 if (!SWIG_IsOK(res1
)) {
42004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42006 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42009 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42010 wxPyEndAllowThreads(__tstate
);
42011 if (PyErr_Occurred()) SWIG_fail
;
42013 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42020 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42021 PyObject
*resultobj
= 0;
42022 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42023 wxColour
*arg2
= 0 ;
42027 PyObject
* obj0
= 0 ;
42028 PyObject
* obj1
= 0 ;
42029 char * kwnames
[] = {
42030 (char *) "self",(char *) "colour", NULL
42033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42035 if (!SWIG_IsOK(res1
)) {
42036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42038 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42041 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42045 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42046 wxPyEndAllowThreads(__tstate
);
42047 if (PyErr_Occurred()) SWIG_fail
;
42049 resultobj
= SWIG_Py_Void();
42056 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42057 PyObject
*resultobj
= 0;
42058 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42062 PyObject
*swig_obj
[1] ;
42064 if (!args
) SWIG_fail
;
42065 swig_obj
[0] = args
;
42066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42067 if (!SWIG_IsOK(res1
)) {
42068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42070 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42073 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42074 wxPyEndAllowThreads(__tstate
);
42075 if (PyErr_Occurred()) SWIG_fail
;
42077 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42084 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42085 PyObject
*resultobj
= 0;
42086 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42087 wxColour
*arg2
= 0 ;
42091 PyObject
* obj0
= 0 ;
42092 PyObject
* obj1
= 0 ;
42093 char * kwnames
[] = {
42094 (char *) "self",(char *) "colour", NULL
42097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42099 if (!SWIG_IsOK(res1
)) {
42100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42102 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42105 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42109 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42110 wxPyEndAllowThreads(__tstate
);
42111 if (PyErr_Occurred()) SWIG_fail
;
42113 resultobj
= SWIG_Py_Void();
42120 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42121 PyObject
*resultobj
= 0;
42122 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42126 PyObject
*swig_obj
[1] ;
42128 if (!args
) SWIG_fail
;
42129 swig_obj
[0] = args
;
42130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42131 if (!SWIG_IsOK(res1
)) {
42132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42134 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42137 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42138 wxPyEndAllowThreads(__tstate
);
42139 if (PyErr_Occurred()) SWIG_fail
;
42141 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42148 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42149 PyObject
*resultobj
= 0;
42150 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42151 wxColour
*arg2
= 0 ;
42155 PyObject
* obj0
= 0 ;
42156 PyObject
* obj1
= 0 ;
42157 char * kwnames
[] = {
42158 (char *) "self",(char *) "colour", NULL
42161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42163 if (!SWIG_IsOK(res1
)) {
42164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42166 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42169 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42173 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42177 resultobj
= SWIG_Py_Void();
42184 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42185 PyObject
*resultobj
= 0;
42186 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42190 PyObject
*swig_obj
[1] ;
42192 if (!args
) SWIG_fail
;
42193 swig_obj
[0] = args
;
42194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42195 if (!SWIG_IsOK(res1
)) {
42196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42198 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42201 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42202 wxPyEndAllowThreads(__tstate
);
42203 if (PyErr_Occurred()) SWIG_fail
;
42207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42218 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42219 PyObject
*resultobj
= 0;
42220 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42221 wxString
*arg2
= 0 ;
42224 bool temp2
= false ;
42225 PyObject
* obj0
= 0 ;
42226 PyObject
* obj1
= 0 ;
42227 char * kwnames
[] = {
42228 (char *) "self",(char *) "url", NULL
42231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42233 if (!SWIG_IsOK(res1
)) {
42234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42236 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42238 arg2
= wxString_in_helper(obj1
);
42239 if (arg2
== NULL
) SWIG_fail
;
42243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42244 (arg1
)->SetURL((wxString
const &)*arg2
);
42245 wxPyEndAllowThreads(__tstate
);
42246 if (PyErr_Occurred()) SWIG_fail
;
42248 resultobj
= SWIG_Py_Void();
42263 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42264 PyObject
*resultobj
= 0;
42265 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42266 bool arg2
= (bool) true ;
42271 PyObject
* obj0
= 0 ;
42272 PyObject
* obj1
= 0 ;
42273 char * kwnames
[] = {
42274 (char *) "self",(char *) "visited", NULL
42277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42279 if (!SWIG_IsOK(res1
)) {
42280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42282 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42284 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42285 if (!SWIG_IsOK(ecode2
)) {
42286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42288 arg2
= static_cast< bool >(val2
);
42291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42292 (arg1
)->SetVisited(arg2
);
42293 wxPyEndAllowThreads(__tstate
);
42294 if (PyErr_Occurred()) SWIG_fail
;
42296 resultobj
= SWIG_Py_Void();
42303 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42304 PyObject
*resultobj
= 0;
42305 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42309 PyObject
*swig_obj
[1] ;
42311 if (!args
) SWIG_fail
;
42312 swig_obj
[0] = args
;
42313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42314 if (!SWIG_IsOK(res1
)) {
42315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42317 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42320 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42321 wxPyEndAllowThreads(__tstate
);
42322 if (PyErr_Occurred()) SWIG_fail
;
42325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42333 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42336 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42337 return SWIG_Py_Void();
42340 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42341 return SWIG_Python_InitShadowInstance(args
);
42344 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42345 PyObject
*resultobj
= 0;
42346 wxObject
*arg1
= (wxObject
*) 0 ;
42348 wxString
*arg3
= 0 ;
42349 wxHyperlinkEvent
*result
= 0 ;
42354 bool temp3
= false ;
42355 PyObject
* obj0
= 0 ;
42356 PyObject
* obj1
= 0 ;
42357 PyObject
* obj2
= 0 ;
42358 char * kwnames
[] = {
42359 (char *) "generator",(char *) "id",(char *) "url", NULL
42362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42364 if (!SWIG_IsOK(res1
)) {
42365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42367 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42369 if (!SWIG_IsOK(ecode2
)) {
42370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42372 arg2
= static_cast< int >(val2
);
42374 arg3
= wxString_in_helper(obj2
);
42375 if (arg3
== NULL
) SWIG_fail
;
42379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42380 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42381 wxPyEndAllowThreads(__tstate
);
42382 if (PyErr_Occurred()) SWIG_fail
;
42384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42399 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42400 PyObject
*resultobj
= 0;
42401 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42405 PyObject
*swig_obj
[1] ;
42407 if (!args
) SWIG_fail
;
42408 swig_obj
[0] = args
;
42409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42410 if (!SWIG_IsOK(res1
)) {
42411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42413 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42416 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42417 wxPyEndAllowThreads(__tstate
);
42418 if (PyErr_Occurred()) SWIG_fail
;
42422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42433 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42434 PyObject
*resultobj
= 0;
42435 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42436 wxString
*arg2
= 0 ;
42439 bool temp2
= false ;
42440 PyObject
* obj0
= 0 ;
42441 PyObject
* obj1
= 0 ;
42442 char * kwnames
[] = {
42443 (char *) "self",(char *) "url", NULL
42446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42448 if (!SWIG_IsOK(res1
)) {
42449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42451 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42453 arg2
= wxString_in_helper(obj1
);
42454 if (arg2
== NULL
) SWIG_fail
;
42458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42459 (arg1
)->SetURL((wxString
const &)*arg2
);
42460 wxPyEndAllowThreads(__tstate
);
42461 if (PyErr_Occurred()) SWIG_fail
;
42463 resultobj
= SWIG_Py_Void();
42478 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42481 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42482 return SWIG_Py_Void();
42485 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42486 return SWIG_Python_InitShadowInstance(args
);
42489 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42490 PyObject
*resultobj
= 0;
42491 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42492 wxWindow
*arg2
= (wxWindow
*) 0 ;
42494 wxString
const &arg4_defvalue
= wxEmptyString
;
42495 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42500 long arg7
= (long) 0 ;
42501 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42502 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42503 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42512 bool temp4
= false ;
42519 bool temp9
= false ;
42520 PyObject
* obj0
= 0 ;
42521 PyObject
* obj1
= 0 ;
42522 PyObject
* obj2
= 0 ;
42523 PyObject
* obj3
= 0 ;
42524 PyObject
* obj4
= 0 ;
42525 PyObject
* obj5
= 0 ;
42526 PyObject
* obj6
= 0 ;
42527 PyObject
* obj7
= 0 ;
42528 PyObject
* obj8
= 0 ;
42529 char * kwnames
[] = {
42530 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42535 if (!SWIG_IsOK(res1
)) {
42536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42538 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42540 if (!SWIG_IsOK(res2
)) {
42541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42543 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42545 if (!SWIG_IsOK(ecode3
)) {
42546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42548 arg3
= static_cast< int >(val3
);
42551 arg4
= wxString_in_helper(obj3
);
42552 if (arg4
== NULL
) SWIG_fail
;
42559 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42565 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42569 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42570 if (!SWIG_IsOK(ecode7
)) {
42571 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42573 arg7
= static_cast< long >(val7
);
42576 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42577 if (!SWIG_IsOK(res8
)) {
42578 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42583 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42587 arg9
= wxString_in_helper(obj8
);
42588 if (arg9
== NULL
) SWIG_fail
;
42593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42594 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42595 wxPyEndAllowThreads(__tstate
);
42596 if (PyErr_Occurred()) SWIG_fail
;
42599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42623 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42624 PyObject
*resultobj
= 0;
42625 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42631 PyObject
* obj0
= 0 ;
42632 PyObject
* obj1
= 0 ;
42633 char * kwnames
[] = {
42634 (char *) "self",(char *) "newmargin", NULL
42637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42639 if (!SWIG_IsOK(res1
)) {
42640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42642 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42644 if (!SWIG_IsOK(ecode2
)) {
42645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42647 arg2
= static_cast< int >(val2
);
42649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42650 (arg1
)->SetInternalMargin(arg2
);
42651 wxPyEndAllowThreads(__tstate
);
42652 if (PyErr_Occurred()) SWIG_fail
;
42654 resultobj
= SWIG_Py_Void();
42661 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42662 PyObject
*resultobj
= 0;
42663 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42667 PyObject
*swig_obj
[1] ;
42669 if (!args
) SWIG_fail
;
42670 swig_obj
[0] = args
;
42671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42672 if (!SWIG_IsOK(res1
)) {
42673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42675 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42678 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42679 wxPyEndAllowThreads(__tstate
);
42680 if (PyErr_Occurred()) SWIG_fail
;
42682 resultobj
= SWIG_From_int(static_cast< int >(result
));
42689 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42690 PyObject
*resultobj
= 0;
42691 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42697 PyObject
* obj0
= 0 ;
42698 PyObject
* obj1
= 0 ;
42699 char * kwnames
[] = {
42700 (char *) "self",(char *) "prop", NULL
42703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42705 if (!SWIG_IsOK(res1
)) {
42706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42708 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42710 if (!SWIG_IsOK(ecode2
)) {
42711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42713 arg2
= static_cast< int >(val2
);
42715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42716 (arg1
)->SetTextCtrlProportion(arg2
);
42717 wxPyEndAllowThreads(__tstate
);
42718 if (PyErr_Occurred()) SWIG_fail
;
42720 resultobj
= SWIG_Py_Void();
42727 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42728 PyObject
*resultobj
= 0;
42729 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42733 PyObject
*swig_obj
[1] ;
42735 if (!args
) SWIG_fail
;
42736 swig_obj
[0] = args
;
42737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42738 if (!SWIG_IsOK(res1
)) {
42739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42741 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42744 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42745 wxPyEndAllowThreads(__tstate
);
42746 if (PyErr_Occurred()) SWIG_fail
;
42748 resultobj
= SWIG_From_int(static_cast< int >(result
));
42755 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42756 PyObject
*resultobj
= 0;
42757 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42761 PyObject
*swig_obj
[1] ;
42763 if (!args
) SWIG_fail
;
42764 swig_obj
[0] = args
;
42765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42766 if (!SWIG_IsOK(res1
)) {
42767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42769 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42772 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42773 wxPyEndAllowThreads(__tstate
);
42774 if (PyErr_Occurred()) SWIG_fail
;
42777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42785 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42786 PyObject
*resultobj
= 0;
42787 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42788 bool arg2
= (bool) true ;
42793 PyObject
* obj0
= 0 ;
42794 PyObject
* obj1
= 0 ;
42795 char * kwnames
[] = {
42796 (char *) "self",(char *) "grow", NULL
42799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42801 if (!SWIG_IsOK(res1
)) {
42802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42804 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42806 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42807 if (!SWIG_IsOK(ecode2
)) {
42808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42810 arg2
= static_cast< bool >(val2
);
42813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42814 (arg1
)->SetTextCtrlGrowable(arg2
);
42815 wxPyEndAllowThreads(__tstate
);
42816 if (PyErr_Occurred()) SWIG_fail
;
42818 resultobj
= SWIG_Py_Void();
42825 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42826 PyObject
*resultobj
= 0;
42827 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42831 PyObject
*swig_obj
[1] ;
42833 if (!args
) SWIG_fail
;
42834 swig_obj
[0] = args
;
42835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42836 if (!SWIG_IsOK(res1
)) {
42837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42839 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42842 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42843 wxPyEndAllowThreads(__tstate
);
42844 if (PyErr_Occurred()) SWIG_fail
;
42847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42855 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42856 PyObject
*resultobj
= 0;
42857 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42858 bool arg2
= (bool) true ;
42863 PyObject
* obj0
= 0 ;
42864 PyObject
* obj1
= 0 ;
42865 char * kwnames
[] = {
42866 (char *) "self",(char *) "grow", NULL
42869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42871 if (!SWIG_IsOK(res1
)) {
42872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42874 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42876 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42877 if (!SWIG_IsOK(ecode2
)) {
42878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42880 arg2
= static_cast< bool >(val2
);
42883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42884 (arg1
)->SetPickerCtrlGrowable(arg2
);
42885 wxPyEndAllowThreads(__tstate
);
42886 if (PyErr_Occurred()) SWIG_fail
;
42888 resultobj
= SWIG_Py_Void();
42895 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42896 PyObject
*resultobj
= 0;
42897 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42901 PyObject
*swig_obj
[1] ;
42903 if (!args
) SWIG_fail
;
42904 swig_obj
[0] = args
;
42905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42906 if (!SWIG_IsOK(res1
)) {
42907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42909 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42912 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42913 wxPyEndAllowThreads(__tstate
);
42914 if (PyErr_Occurred()) SWIG_fail
;
42917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42925 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42926 PyObject
*resultobj
= 0;
42927 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42928 wxTextCtrl
*result
= 0 ;
42931 PyObject
*swig_obj
[1] ;
42933 if (!args
) SWIG_fail
;
42934 swig_obj
[0] = args
;
42935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42936 if (!SWIG_IsOK(res1
)) {
42937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42939 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42942 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42943 wxPyEndAllowThreads(__tstate
);
42944 if (PyErr_Occurred()) SWIG_fail
;
42947 resultobj
= wxPyMake_wxObject(result
, 0);
42955 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42956 PyObject
*resultobj
= 0;
42957 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42958 wxControl
*result
= 0 ;
42961 PyObject
*swig_obj
[1] ;
42963 if (!args
) SWIG_fail
;
42964 swig_obj
[0] = args
;
42965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42966 if (!SWIG_IsOK(res1
)) {
42967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42969 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42972 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42973 wxPyEndAllowThreads(__tstate
);
42974 if (PyErr_Occurred()) SWIG_fail
;
42977 resultobj
= wxPyMake_wxObject(result
, 0);
42985 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42988 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42989 return SWIG_Py_Void();
42992 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42993 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42998 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42999 PyObject
*pyobj
= 0;
43003 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43005 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43012 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43013 PyObject
*resultobj
= 0;
43014 wxWindow
*arg1
= (wxWindow
*) 0 ;
43015 int arg2
= (int) -1 ;
43016 wxColour
const &arg3_defvalue
= *wxBLACK
;
43017 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43018 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43019 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43020 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43021 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43022 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43023 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43024 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43025 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43026 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43027 wxColourPickerCtrl
*result
= 0 ;
43039 bool temp8
= false ;
43040 PyObject
* obj0
= 0 ;
43041 PyObject
* obj1
= 0 ;
43042 PyObject
* obj2
= 0 ;
43043 PyObject
* obj3
= 0 ;
43044 PyObject
* obj4
= 0 ;
43045 PyObject
* obj5
= 0 ;
43046 PyObject
* obj6
= 0 ;
43047 PyObject
* obj7
= 0 ;
43048 char * kwnames
[] = {
43049 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43054 if (!SWIG_IsOK(res1
)) {
43055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43060 if (!SWIG_IsOK(ecode2
)) {
43061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43063 arg2
= static_cast< int >(val2
);
43068 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43074 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43080 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43084 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43085 if (!SWIG_IsOK(ecode6
)) {
43086 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43088 arg6
= static_cast< long >(val6
);
43091 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43092 if (!SWIG_IsOK(res7
)) {
43093 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43098 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43102 arg8
= wxString_in_helper(obj7
);
43103 if (arg8
== NULL
) SWIG_fail
;
43108 if (!wxPyCheckForApp()) SWIG_fail
;
43109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43110 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43111 wxPyEndAllowThreads(__tstate
);
43112 if (PyErr_Occurred()) SWIG_fail
;
43114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43129 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43130 PyObject
*resultobj
= 0;
43131 wxColourPickerCtrl
*result
= 0 ;
43133 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43135 if (!wxPyCheckForApp()) SWIG_fail
;
43136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43137 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43138 wxPyEndAllowThreads(__tstate
);
43139 if (PyErr_Occurred()) SWIG_fail
;
43141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43148 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43149 PyObject
*resultobj
= 0;
43150 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43151 wxWindow
*arg2
= (wxWindow
*) 0 ;
43153 wxColour
const &arg4_defvalue
= *wxBLACK
;
43154 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43155 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43156 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43157 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43158 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43159 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43160 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43161 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43162 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43163 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43178 bool temp9
= false ;
43179 PyObject
* obj0
= 0 ;
43180 PyObject
* obj1
= 0 ;
43181 PyObject
* obj2
= 0 ;
43182 PyObject
* obj3
= 0 ;
43183 PyObject
* obj4
= 0 ;
43184 PyObject
* obj5
= 0 ;
43185 PyObject
* obj6
= 0 ;
43186 PyObject
* obj7
= 0 ;
43187 PyObject
* obj8
= 0 ;
43188 char * kwnames
[] = {
43189 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43194 if (!SWIG_IsOK(res1
)) {
43195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43197 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43198 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43199 if (!SWIG_IsOK(res2
)) {
43200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43202 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43204 if (!SWIG_IsOK(ecode3
)) {
43205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43207 arg3
= static_cast< int >(val3
);
43211 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43227 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43228 if (!SWIG_IsOK(ecode7
)) {
43229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43231 arg7
= static_cast< long >(val7
);
43234 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43235 if (!SWIG_IsOK(res8
)) {
43236 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43241 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43245 arg9
= wxString_in_helper(obj8
);
43246 if (arg9
== NULL
) SWIG_fail
;
43251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43253 wxPyEndAllowThreads(__tstate
);
43254 if (PyErr_Occurred()) SWIG_fail
;
43257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43273 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43274 PyObject
*resultobj
= 0;
43275 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43279 PyObject
*swig_obj
[1] ;
43281 if (!args
) SWIG_fail
;
43282 swig_obj
[0] = args
;
43283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43284 if (!SWIG_IsOK(res1
)) {
43285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43287 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43290 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43291 wxPyEndAllowThreads(__tstate
);
43292 if (PyErr_Occurred()) SWIG_fail
;
43294 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43301 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43302 PyObject
*resultobj
= 0;
43303 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43304 wxColour
*arg2
= 0 ;
43308 PyObject
* obj0
= 0 ;
43309 PyObject
* obj1
= 0 ;
43310 char * kwnames
[] = {
43311 (char *) "self",(char *) "col", NULL
43314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43316 if (!SWIG_IsOK(res1
)) {
43317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43319 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43322 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43326 (arg1
)->SetColour((wxColour
const &)*arg2
);
43327 wxPyEndAllowThreads(__tstate
);
43328 if (PyErr_Occurred()) SWIG_fail
;
43330 resultobj
= SWIG_Py_Void();
43337 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43340 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43341 return SWIG_Py_Void();
43344 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43345 return SWIG_Python_InitShadowInstance(args
);
43348 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43349 PyObject
*resultobj
= 0;
43350 wxObject
*arg1
= (wxObject
*) 0 ;
43352 wxColour
*arg3
= 0 ;
43353 wxColourPickerEvent
*result
= 0 ;
43359 PyObject
* obj0
= 0 ;
43360 PyObject
* obj1
= 0 ;
43361 PyObject
* obj2
= 0 ;
43362 char * kwnames
[] = {
43363 (char *) "generator",(char *) "id",(char *) "col", NULL
43366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43368 if (!SWIG_IsOK(res1
)) {
43369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43371 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43373 if (!SWIG_IsOK(ecode2
)) {
43374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43376 arg2
= static_cast< int >(val2
);
43379 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43383 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43384 wxPyEndAllowThreads(__tstate
);
43385 if (PyErr_Occurred()) SWIG_fail
;
43387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43394 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43395 PyObject
*resultobj
= 0;
43396 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43400 PyObject
*swig_obj
[1] ;
43402 if (!args
) SWIG_fail
;
43403 swig_obj
[0] = args
;
43404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43405 if (!SWIG_IsOK(res1
)) {
43406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43408 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43411 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43412 wxPyEndAllowThreads(__tstate
);
43413 if (PyErr_Occurred()) SWIG_fail
;
43415 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43422 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43423 PyObject
*resultobj
= 0;
43424 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43425 wxColour
*arg2
= 0 ;
43429 PyObject
* obj0
= 0 ;
43430 PyObject
* obj1
= 0 ;
43431 char * kwnames
[] = {
43432 (char *) "self",(char *) "c", NULL
43435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43437 if (!SWIG_IsOK(res1
)) {
43438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43440 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43443 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43447 (arg1
)->SetColour((wxColour
const &)*arg2
);
43448 wxPyEndAllowThreads(__tstate
);
43449 if (PyErr_Occurred()) SWIG_fail
;
43451 resultobj
= SWIG_Py_Void();
43458 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43461 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43462 return SWIG_Py_Void();
43465 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43466 return SWIG_Python_InitShadowInstance(args
);
43469 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43470 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43475 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43476 PyObject
*pyobj
= 0;
43480 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43482 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43489 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43490 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43495 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43496 PyObject
*pyobj
= 0;
43500 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43502 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43509 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43510 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43515 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43516 PyObject
*pyobj
= 0;
43520 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43522 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43529 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43530 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43535 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43536 PyObject
*pyobj
= 0;
43540 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43542 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43549 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43550 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43555 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43556 PyObject
*pyobj
= 0;
43560 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43562 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43569 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43570 PyObject
*resultobj
= 0;
43571 wxWindow
*arg1
= (wxWindow
*) 0 ;
43572 int arg2
= (int) -1 ;
43573 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43574 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43575 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43576 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43577 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43578 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43579 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43580 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43581 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43582 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43583 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43584 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43585 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43586 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43587 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43588 wxFilePickerCtrl
*result
= 0 ;
43593 bool temp3
= false ;
43594 bool temp4
= false ;
43595 bool temp5
= false ;
43602 bool temp10
= false ;
43603 PyObject
* obj0
= 0 ;
43604 PyObject
* obj1
= 0 ;
43605 PyObject
* obj2
= 0 ;
43606 PyObject
* obj3
= 0 ;
43607 PyObject
* obj4
= 0 ;
43608 PyObject
* obj5
= 0 ;
43609 PyObject
* obj6
= 0 ;
43610 PyObject
* obj7
= 0 ;
43611 PyObject
* obj8
= 0 ;
43612 PyObject
* obj9
= 0 ;
43613 char * kwnames
[] = {
43614 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43619 if (!SWIG_IsOK(res1
)) {
43620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43625 if (!SWIG_IsOK(ecode2
)) {
43626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43628 arg2
= static_cast< int >(val2
);
43632 arg3
= wxString_in_helper(obj2
);
43633 if (arg3
== NULL
) SWIG_fail
;
43639 arg4
= wxString_in_helper(obj3
);
43640 if (arg4
== NULL
) SWIG_fail
;
43646 arg5
= wxString_in_helper(obj4
);
43647 if (arg5
== NULL
) SWIG_fail
;
43654 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43660 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43664 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43665 if (!SWIG_IsOK(ecode8
)) {
43666 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43668 arg8
= static_cast< long >(val8
);
43671 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43672 if (!SWIG_IsOK(res9
)) {
43673 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43678 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43682 arg10
= wxString_in_helper(obj9
);
43683 if (arg10
== NULL
) SWIG_fail
;
43688 if (!wxPyCheckForApp()) SWIG_fail
;
43689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43690 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
);
43691 wxPyEndAllowThreads(__tstate
);
43692 if (PyErr_Occurred()) SWIG_fail
;
43694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43733 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43734 PyObject
*resultobj
= 0;
43735 wxFilePickerCtrl
*result
= 0 ;
43737 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43739 if (!wxPyCheckForApp()) SWIG_fail
;
43740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43741 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43742 wxPyEndAllowThreads(__tstate
);
43743 if (PyErr_Occurred()) SWIG_fail
;
43745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43752 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43753 PyObject
*resultobj
= 0;
43754 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43755 wxWindow
*arg2
= (wxWindow
*) 0 ;
43756 int arg3
= (int) -1 ;
43757 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43758 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43759 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43760 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43761 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43763 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43764 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43765 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43766 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43767 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43768 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43769 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43770 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43771 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43779 bool temp4
= false ;
43780 bool temp5
= false ;
43781 bool temp6
= false ;
43788 bool temp11
= false ;
43789 PyObject
* obj0
= 0 ;
43790 PyObject
* obj1
= 0 ;
43791 PyObject
* obj2
= 0 ;
43792 PyObject
* obj3
= 0 ;
43793 PyObject
* obj4
= 0 ;
43794 PyObject
* obj5
= 0 ;
43795 PyObject
* obj6
= 0 ;
43796 PyObject
* obj7
= 0 ;
43797 PyObject
* obj8
= 0 ;
43798 PyObject
* obj9
= 0 ;
43799 PyObject
* obj10
= 0 ;
43800 char * kwnames
[] = {
43801 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43806 if (!SWIG_IsOK(res1
)) {
43807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43809 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43811 if (!SWIG_IsOK(res2
)) {
43812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43814 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43817 if (!SWIG_IsOK(ecode3
)) {
43818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43820 arg3
= static_cast< int >(val3
);
43824 arg4
= wxString_in_helper(obj3
);
43825 if (arg4
== NULL
) SWIG_fail
;
43831 arg5
= wxString_in_helper(obj4
);
43832 if (arg5
== NULL
) SWIG_fail
;
43838 arg6
= wxString_in_helper(obj5
);
43839 if (arg6
== NULL
) SWIG_fail
;
43846 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43852 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43856 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43857 if (!SWIG_IsOK(ecode9
)) {
43858 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43860 arg9
= static_cast< long >(val9
);
43863 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43864 if (!SWIG_IsOK(res10
)) {
43865 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43870 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43874 arg11
= wxString_in_helper(obj10
);
43875 if (arg11
== NULL
) SWIG_fail
;
43880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43881 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
);
43882 wxPyEndAllowThreads(__tstate
);
43883 if (PyErr_Occurred()) SWIG_fail
;
43886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43926 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43927 PyObject
*resultobj
= 0;
43928 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43932 PyObject
*swig_obj
[1] ;
43934 if (!args
) SWIG_fail
;
43935 swig_obj
[0] = args
;
43936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43937 if (!SWIG_IsOK(res1
)) {
43938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43940 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43943 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43944 wxPyEndAllowThreads(__tstate
);
43945 if (PyErr_Occurred()) SWIG_fail
;
43949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43960 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43961 PyObject
*resultobj
= 0;
43962 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43963 wxString
*arg2
= 0 ;
43966 bool temp2
= false ;
43967 PyObject
* obj0
= 0 ;
43968 PyObject
* obj1
= 0 ;
43969 char * kwnames
[] = {
43970 (char *) "self",(char *) "str", NULL
43973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43975 if (!SWIG_IsOK(res1
)) {
43976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43978 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43980 arg2
= wxString_in_helper(obj1
);
43981 if (arg2
== NULL
) SWIG_fail
;
43985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43986 (arg1
)->SetPath((wxString
const &)*arg2
);
43987 wxPyEndAllowThreads(__tstate
);
43988 if (PyErr_Occurred()) SWIG_fail
;
43990 resultobj
= SWIG_Py_Void();
44005 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44006 PyObject
*resultobj
= 0;
44007 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44008 wxString
*arg2
= 0 ;
44012 bool temp2
= false ;
44013 PyObject
* obj0
= 0 ;
44014 PyObject
* obj1
= 0 ;
44015 char * kwnames
[] = {
44016 (char *) "self",(char *) "path", NULL
44019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44021 if (!SWIG_IsOK(res1
)) {
44022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44024 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44026 arg2
= wxString_in_helper(obj1
);
44027 if (arg2
== NULL
) SWIG_fail
;
44031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44032 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44033 wxPyEndAllowThreads(__tstate
);
44034 if (PyErr_Occurred()) SWIG_fail
;
44037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44053 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44054 PyObject
*resultobj
= 0;
44055 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44059 PyObject
*swig_obj
[1] ;
44061 if (!args
) SWIG_fail
;
44062 swig_obj
[0] = args
;
44063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44064 if (!SWIG_IsOK(res1
)) {
44065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44067 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44070 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44071 wxPyEndAllowThreads(__tstate
);
44072 if (PyErr_Occurred()) SWIG_fail
;
44076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44087 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44090 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44091 return SWIG_Py_Void();
44094 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44095 return SWIG_Python_InitShadowInstance(args
);
44098 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44099 PyObject
*resultobj
= 0;
44100 wxWindow
*arg1
= (wxWindow
*) 0 ;
44101 int arg2
= (int) -1 ;
44102 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44103 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44104 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44105 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44106 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44107 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44108 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44109 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44110 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44111 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44112 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44113 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44114 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44115 wxDirPickerCtrl
*result
= 0 ;
44120 bool temp3
= false ;
44121 bool temp4
= false ;
44128 bool temp9
= false ;
44129 PyObject
* obj0
= 0 ;
44130 PyObject
* obj1
= 0 ;
44131 PyObject
* obj2
= 0 ;
44132 PyObject
* obj3
= 0 ;
44133 PyObject
* obj4
= 0 ;
44134 PyObject
* obj5
= 0 ;
44135 PyObject
* obj6
= 0 ;
44136 PyObject
* obj7
= 0 ;
44137 PyObject
* obj8
= 0 ;
44138 char * kwnames
[] = {
44139 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44144 if (!SWIG_IsOK(res1
)) {
44145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44150 if (!SWIG_IsOK(ecode2
)) {
44151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44153 arg2
= static_cast< int >(val2
);
44157 arg3
= wxString_in_helper(obj2
);
44158 if (arg3
== NULL
) SWIG_fail
;
44164 arg4
= wxString_in_helper(obj3
);
44165 if (arg4
== NULL
) SWIG_fail
;
44172 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44178 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44182 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44183 if (!SWIG_IsOK(ecode7
)) {
44184 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44186 arg7
= static_cast< long >(val7
);
44189 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44190 if (!SWIG_IsOK(res8
)) {
44191 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44196 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44200 arg9
= wxString_in_helper(obj8
);
44201 if (arg9
== NULL
) SWIG_fail
;
44206 if (!wxPyCheckForApp()) SWIG_fail
;
44207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44208 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
);
44209 wxPyEndAllowThreads(__tstate
);
44210 if (PyErr_Occurred()) SWIG_fail
;
44212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44243 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44244 PyObject
*resultobj
= 0;
44245 wxDirPickerCtrl
*result
= 0 ;
44247 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44249 if (!wxPyCheckForApp()) SWIG_fail
;
44250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44251 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44252 wxPyEndAllowThreads(__tstate
);
44253 if (PyErr_Occurred()) SWIG_fail
;
44255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44262 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44263 PyObject
*resultobj
= 0;
44264 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44265 wxWindow
*arg2
= (wxWindow
*) 0 ;
44266 int arg3
= (int) -1 ;
44267 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44268 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44269 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44270 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44271 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44272 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44273 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44274 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44275 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44276 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44277 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44278 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44279 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44287 bool temp4
= false ;
44288 bool temp5
= false ;
44295 bool temp10
= false ;
44296 PyObject
* obj0
= 0 ;
44297 PyObject
* obj1
= 0 ;
44298 PyObject
* obj2
= 0 ;
44299 PyObject
* obj3
= 0 ;
44300 PyObject
* obj4
= 0 ;
44301 PyObject
* obj5
= 0 ;
44302 PyObject
* obj6
= 0 ;
44303 PyObject
* obj7
= 0 ;
44304 PyObject
* obj8
= 0 ;
44305 PyObject
* obj9
= 0 ;
44306 char * kwnames
[] = {
44307 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44312 if (!SWIG_IsOK(res1
)) {
44313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44315 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44317 if (!SWIG_IsOK(res2
)) {
44318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44320 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44323 if (!SWIG_IsOK(ecode3
)) {
44324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44326 arg3
= static_cast< int >(val3
);
44330 arg4
= wxString_in_helper(obj3
);
44331 if (arg4
== NULL
) SWIG_fail
;
44337 arg5
= wxString_in_helper(obj4
);
44338 if (arg5
== NULL
) SWIG_fail
;
44345 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44351 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44355 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44356 if (!SWIG_IsOK(ecode8
)) {
44357 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44359 arg8
= static_cast< long >(val8
);
44362 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44363 if (!SWIG_IsOK(res9
)) {
44364 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44369 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44373 arg10
= wxString_in_helper(obj9
);
44374 if (arg10
== NULL
) SWIG_fail
;
44379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44380 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
);
44381 wxPyEndAllowThreads(__tstate
);
44382 if (PyErr_Occurred()) SWIG_fail
;
44385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44417 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44418 PyObject
*resultobj
= 0;
44419 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44423 PyObject
*swig_obj
[1] ;
44425 if (!args
) SWIG_fail
;
44426 swig_obj
[0] = args
;
44427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44428 if (!SWIG_IsOK(res1
)) {
44429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44431 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44434 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44435 wxPyEndAllowThreads(__tstate
);
44436 if (PyErr_Occurred()) SWIG_fail
;
44440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44451 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44452 PyObject
*resultobj
= 0;
44453 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44454 wxString
*arg2
= 0 ;
44457 bool temp2
= false ;
44458 PyObject
* obj0
= 0 ;
44459 PyObject
* obj1
= 0 ;
44460 char * kwnames
[] = {
44461 (char *) "self",(char *) "str", NULL
44464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44466 if (!SWIG_IsOK(res1
)) {
44467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44469 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44471 arg2
= wxString_in_helper(obj1
);
44472 if (arg2
== NULL
) SWIG_fail
;
44476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44477 (arg1
)->SetPath((wxString
const &)*arg2
);
44478 wxPyEndAllowThreads(__tstate
);
44479 if (PyErr_Occurred()) SWIG_fail
;
44481 resultobj
= SWIG_Py_Void();
44496 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44497 PyObject
*resultobj
= 0;
44498 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44499 wxString
*arg2
= 0 ;
44503 bool temp2
= false ;
44504 PyObject
* obj0
= 0 ;
44505 PyObject
* obj1
= 0 ;
44506 char * kwnames
[] = {
44507 (char *) "self",(char *) "path", NULL
44510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44512 if (!SWIG_IsOK(res1
)) {
44513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44515 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44517 arg2
= wxString_in_helper(obj1
);
44518 if (arg2
== NULL
) SWIG_fail
;
44522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44523 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44524 wxPyEndAllowThreads(__tstate
);
44525 if (PyErr_Occurred()) SWIG_fail
;
44528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44544 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44545 PyObject
*resultobj
= 0;
44546 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44550 PyObject
*swig_obj
[1] ;
44552 if (!args
) SWIG_fail
;
44553 swig_obj
[0] = args
;
44554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44555 if (!SWIG_IsOK(res1
)) {
44556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44558 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44561 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44562 wxPyEndAllowThreads(__tstate
);
44563 if (PyErr_Occurred()) SWIG_fail
;
44567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44578 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44581 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44582 return SWIG_Py_Void();
44585 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44586 return SWIG_Python_InitShadowInstance(args
);
44589 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44590 PyObject
*resultobj
= 0;
44592 wxObject
*arg2
= (wxObject
*) 0 ;
44594 wxString
*arg4
= 0 ;
44595 wxFileDirPickerEvent
*result
= 0 ;
44602 bool temp4
= false ;
44603 PyObject
* obj0
= 0 ;
44604 PyObject
* obj1
= 0 ;
44605 PyObject
* obj2
= 0 ;
44606 PyObject
* obj3
= 0 ;
44607 char * kwnames
[] = {
44608 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44612 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44613 if (!SWIG_IsOK(ecode1
)) {
44614 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44616 arg1
= static_cast< wxEventType
>(val1
);
44617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44618 if (!SWIG_IsOK(res2
)) {
44619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44621 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44623 if (!SWIG_IsOK(ecode3
)) {
44624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44626 arg3
= static_cast< int >(val3
);
44628 arg4
= wxString_in_helper(obj3
);
44629 if (arg4
== NULL
) SWIG_fail
;
44633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44634 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44635 wxPyEndAllowThreads(__tstate
);
44636 if (PyErr_Occurred()) SWIG_fail
;
44638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44653 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44654 PyObject
*resultobj
= 0;
44655 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44659 PyObject
*swig_obj
[1] ;
44661 if (!args
) SWIG_fail
;
44662 swig_obj
[0] = args
;
44663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44664 if (!SWIG_IsOK(res1
)) {
44665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44667 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44670 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44671 wxPyEndAllowThreads(__tstate
);
44672 if (PyErr_Occurred()) SWIG_fail
;
44676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44687 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44688 PyObject
*resultobj
= 0;
44689 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44690 wxString
*arg2
= 0 ;
44693 bool temp2
= false ;
44694 PyObject
* obj0
= 0 ;
44695 PyObject
* obj1
= 0 ;
44696 char * kwnames
[] = {
44697 (char *) "self",(char *) "p", NULL
44700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44702 if (!SWIG_IsOK(res1
)) {
44703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44705 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44707 arg2
= wxString_in_helper(obj1
);
44708 if (arg2
== NULL
) SWIG_fail
;
44712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44713 (arg1
)->SetPath((wxString
const &)*arg2
);
44714 wxPyEndAllowThreads(__tstate
);
44715 if (PyErr_Occurred()) SWIG_fail
;
44717 resultobj
= SWIG_Py_Void();
44732 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44735 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44736 return SWIG_Py_Void();
44739 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44740 return SWIG_Python_InitShadowInstance(args
);
44743 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44744 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44749 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44750 PyObject
*pyobj
= 0;
44754 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44756 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44763 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44764 PyObject
*resultobj
= 0;
44765 wxWindow
*arg1
= (wxWindow
*) 0 ;
44766 int arg2
= (int) -1 ;
44767 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44768 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44773 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44774 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44775 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44776 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44777 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44778 wxFontPickerCtrl
*result
= 0 ;
44791 bool temp8
= false ;
44792 PyObject
* obj0
= 0 ;
44793 PyObject
* obj1
= 0 ;
44794 PyObject
* obj2
= 0 ;
44795 PyObject
* obj3
= 0 ;
44796 PyObject
* obj4
= 0 ;
44797 PyObject
* obj5
= 0 ;
44798 PyObject
* obj6
= 0 ;
44799 PyObject
* obj7
= 0 ;
44800 char * kwnames
[] = {
44801 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44806 if (!SWIG_IsOK(res1
)) {
44807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44812 if (!SWIG_IsOK(ecode2
)) {
44813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44815 arg2
= static_cast< int >(val2
);
44818 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44819 if (!SWIG_IsOK(res3
)) {
44820 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44825 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44840 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44841 if (!SWIG_IsOK(ecode6
)) {
44842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44844 arg6
= static_cast< long >(val6
);
44847 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44848 if (!SWIG_IsOK(res7
)) {
44849 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44854 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44858 arg8
= wxString_in_helper(obj7
);
44859 if (arg8
== NULL
) SWIG_fail
;
44864 if (!wxPyCheckForApp()) SWIG_fail
;
44865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44866 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44867 wxPyEndAllowThreads(__tstate
);
44868 if (PyErr_Occurred()) SWIG_fail
;
44870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44885 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44886 PyObject
*resultobj
= 0;
44887 wxFontPickerCtrl
*result
= 0 ;
44889 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44891 if (!wxPyCheckForApp()) SWIG_fail
;
44892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44893 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44894 wxPyEndAllowThreads(__tstate
);
44895 if (PyErr_Occurred()) SWIG_fail
;
44897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44904 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44905 PyObject
*resultobj
= 0;
44906 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44907 wxWindow
*arg2
= (wxWindow
*) 0 ;
44908 int arg3
= (int) -1 ;
44909 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44910 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44911 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44912 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44913 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44914 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44915 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44916 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44917 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44918 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44919 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44935 bool temp9
= false ;
44936 PyObject
* obj0
= 0 ;
44937 PyObject
* obj1
= 0 ;
44938 PyObject
* obj2
= 0 ;
44939 PyObject
* obj3
= 0 ;
44940 PyObject
* obj4
= 0 ;
44941 PyObject
* obj5
= 0 ;
44942 PyObject
* obj6
= 0 ;
44943 PyObject
* obj7
= 0 ;
44944 PyObject
* obj8
= 0 ;
44945 char * kwnames
[] = {
44946 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44951 if (!SWIG_IsOK(res1
)) {
44952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44954 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44956 if (!SWIG_IsOK(res2
)) {
44957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44962 if (!SWIG_IsOK(ecode3
)) {
44963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44965 arg3
= static_cast< int >(val3
);
44968 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44969 if (!SWIG_IsOK(res4
)) {
44970 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44975 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44980 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44986 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44990 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44991 if (!SWIG_IsOK(ecode7
)) {
44992 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44994 arg7
= static_cast< long >(val7
);
44997 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44998 if (!SWIG_IsOK(res8
)) {
44999 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45004 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45008 arg9
= wxString_in_helper(obj8
);
45009 if (arg9
== NULL
) SWIG_fail
;
45014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45015 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45016 wxPyEndAllowThreads(__tstate
);
45017 if (PyErr_Occurred()) SWIG_fail
;
45020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45036 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45037 PyObject
*resultobj
= 0;
45038 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45042 PyObject
*swig_obj
[1] ;
45044 if (!args
) SWIG_fail
;
45045 swig_obj
[0] = args
;
45046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45047 if (!SWIG_IsOK(res1
)) {
45048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45050 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45053 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45054 wxPyEndAllowThreads(__tstate
);
45055 if (PyErr_Occurred()) SWIG_fail
;
45057 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45064 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45065 PyObject
*resultobj
= 0;
45066 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45072 PyObject
* obj0
= 0 ;
45073 PyObject
* obj1
= 0 ;
45074 char * kwnames
[] = {
45075 (char *) "self",(char *) "f", NULL
45078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45080 if (!SWIG_IsOK(res1
)) {
45081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45083 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45085 if (!SWIG_IsOK(res2
)) {
45086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45091 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45094 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45095 wxPyEndAllowThreads(__tstate
);
45096 if (PyErr_Occurred()) SWIG_fail
;
45098 resultobj
= SWIG_Py_Void();
45105 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45106 PyObject
*resultobj
= 0;
45107 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45108 unsigned int arg2
;
45111 unsigned int val2
;
45113 PyObject
* obj0
= 0 ;
45114 PyObject
* obj1
= 0 ;
45115 char * kwnames
[] = {
45116 (char *) "self",(char *) "max", NULL
45119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45121 if (!SWIG_IsOK(res1
)) {
45122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45124 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45125 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45126 if (!SWIG_IsOK(ecode2
)) {
45127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45129 arg2
= static_cast< unsigned int >(val2
);
45131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45132 (arg1
)->SetMaxPointSize(arg2
);
45133 wxPyEndAllowThreads(__tstate
);
45134 if (PyErr_Occurred()) SWIG_fail
;
45136 resultobj
= SWIG_Py_Void();
45143 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45144 PyObject
*resultobj
= 0;
45145 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45146 unsigned int result
;
45149 PyObject
*swig_obj
[1] ;
45151 if (!args
) SWIG_fail
;
45152 swig_obj
[0] = args
;
45153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45154 if (!SWIG_IsOK(res1
)) {
45155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45157 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45160 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45161 wxPyEndAllowThreads(__tstate
);
45162 if (PyErr_Occurred()) SWIG_fail
;
45164 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45171 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45174 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45175 return SWIG_Py_Void();
45178 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45179 return SWIG_Python_InitShadowInstance(args
);
45182 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45183 PyObject
*resultobj
= 0;
45184 wxObject
*arg1
= (wxObject
*) 0 ;
45187 wxFontPickerEvent
*result
= 0 ;
45194 PyObject
* obj0
= 0 ;
45195 PyObject
* obj1
= 0 ;
45196 PyObject
* obj2
= 0 ;
45197 char * kwnames
[] = {
45198 (char *) "generator",(char *) "id",(char *) "f", NULL
45201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45203 if (!SWIG_IsOK(res1
)) {
45204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45206 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45208 if (!SWIG_IsOK(ecode2
)) {
45209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45211 arg2
= static_cast< int >(val2
);
45212 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45213 if (!SWIG_IsOK(res3
)) {
45214 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45219 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45222 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45223 wxPyEndAllowThreads(__tstate
);
45224 if (PyErr_Occurred()) SWIG_fail
;
45226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45233 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45234 PyObject
*resultobj
= 0;
45235 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45239 PyObject
*swig_obj
[1] ;
45241 if (!args
) SWIG_fail
;
45242 swig_obj
[0] = args
;
45243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45244 if (!SWIG_IsOK(res1
)) {
45245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45247 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45250 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45251 wxPyEndAllowThreads(__tstate
);
45252 if (PyErr_Occurred()) SWIG_fail
;
45254 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45261 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45262 PyObject
*resultobj
= 0;
45263 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45269 PyObject
* obj0
= 0 ;
45270 PyObject
* obj1
= 0 ;
45271 char * kwnames
[] = {
45272 (char *) "self",(char *) "c", NULL
45275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45277 if (!SWIG_IsOK(res1
)) {
45278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45280 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45282 if (!SWIG_IsOK(res2
)) {
45283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45288 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45291 (arg1
)->SetFont((wxFont
const &)*arg2
);
45292 wxPyEndAllowThreads(__tstate
);
45293 if (PyErr_Occurred()) SWIG_fail
;
45295 resultobj
= SWIG_Py_Void();
45302 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45305 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45306 return SWIG_Py_Void();
45309 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45310 return SWIG_Python_InitShadowInstance(args
);
45313 static PyMethodDef SwigMethods
[] = {
45314 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45316 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45318 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45319 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45321 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45322 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45324 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45326 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45327 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45328 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45329 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45330 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45337 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45338 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45339 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45340 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45342 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45344 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45345 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45347 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45349 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45350 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45352 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45353 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45355 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45357 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45359 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45360 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45362 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45364 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45366 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45367 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45368 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45370 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45371 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45374 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45375 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45379 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45381 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45382 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45383 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45384 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45385 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45386 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45387 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45388 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45389 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45391 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45392 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45394 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45397 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45399 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45400 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45402 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45404 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45407 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45409 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45412 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45413 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45415 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45417 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45418 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45420 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45421 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45423 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45427 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45428 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45430 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45432 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45436 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45437 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45439 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45450 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45455 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45461 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45462 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45464 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45468 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45469 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45470 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45472 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45473 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45483 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45484 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45485 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45486 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45487 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45488 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45489 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45491 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45492 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45493 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45494 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45495 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45496 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45497 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45498 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45499 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45500 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45502 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45503 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45505 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45507 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45512 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45513 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45514 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45515 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45516 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45517 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45518 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45519 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45524 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45525 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45534 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45540 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45541 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45542 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45543 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45544 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45545 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45546 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45547 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45548 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45549 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45551 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45552 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45553 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45555 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
45558 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45562 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45563 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45565 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45566 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45567 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45568 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45569 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45571 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45573 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45574 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45575 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45576 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45577 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45580 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45581 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45583 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45585 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45586 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45587 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45592 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45594 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45595 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45597 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45599 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45603 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45604 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45607 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45608 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45610 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45612 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45613 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45615 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45618 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45619 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45621 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45629 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45630 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45637 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45638 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45640 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45642 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45645 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45646 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45648 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45650 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45653 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45654 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45659 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45660 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45662 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45664 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45665 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45667 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45668 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45669 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45672 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45673 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45675 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45678 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45680 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45681 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45682 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45684 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45685 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45690 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45695 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45697 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45699 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45701 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45702 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45705 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45712 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45714 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45716 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45718 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45719 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45721 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45723 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45726 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45728 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45729 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45731 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45732 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45734 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45736 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45737 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45738 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45740 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45741 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45743 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45745 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45746 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45747 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45749 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45750 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45752 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45760 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45761 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45762 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45764 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45765 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45767 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45769 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45770 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45771 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45772 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45774 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45775 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45776 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45777 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45778 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45779 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45780 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45781 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45782 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45783 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45784 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45785 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45786 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45787 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45788 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45789 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45790 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45791 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45792 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45794 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45801 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45803 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45805 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45813 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45818 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45819 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45836 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45837 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45838 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45839 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45842 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45843 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45845 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45846 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45849 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45850 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45851 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45853 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45856 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45857 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45859 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45863 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45864 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45865 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45866 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45867 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45868 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45870 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45871 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45872 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45873 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45874 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45875 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45876 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45890 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45891 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45892 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45893 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45894 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45895 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45896 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45897 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45898 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45899 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45900 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45901 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45902 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45903 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45904 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45905 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45906 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45907 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45908 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45909 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45910 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45911 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45912 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45913 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45914 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45915 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45916 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45917 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45918 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45919 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45920 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45921 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45922 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45923 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45924 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45925 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45927 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45928 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45929 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45930 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45931 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45932 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45933 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45934 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45935 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45936 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45937 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45938 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45939 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45940 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45941 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45942 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45943 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45944 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45945 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45946 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45947 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45948 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45949 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45950 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45952 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45953 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45955 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45962 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45963 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45964 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45979 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45980 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45981 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45982 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45983 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45985 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45991 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45992 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45997 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45999 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46000 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46024 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46026 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46027 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46029 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46033 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46035 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46039 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46040 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46041 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46042 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46043 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46046 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46047 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46048 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46049 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46051 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46052 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46054 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46056 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46057 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46058 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46059 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46060 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46062 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46064 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46066 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46067 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46069 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46071 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46074 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46075 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46076 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46078 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46081 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46082 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46084 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46086 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46087 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46115 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46116 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46117 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46124 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46134 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46137 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46141 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46143 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46149 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46158 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46159 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46160 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46162 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46166 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46168 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46169 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46172 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46173 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46175 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46177 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46178 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46179 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46181 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46182 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46183 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46184 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46186 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46189 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46190 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46192 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46200 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46201 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46202 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46203 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46204 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46205 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46206 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46207 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46208 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46210 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46212 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46214 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46216 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46218 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46219 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46221 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46223 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46224 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46225 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46227 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46228 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46229 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46231 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46238 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46239 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46240 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46241 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46242 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46248 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46252 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46254 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46255 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46260 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46261 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46263 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46266 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46268 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46269 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46270 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46271 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46273 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46275 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46277 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46279 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46281 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46284 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46285 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46286 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46288 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46290 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46291 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46294 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46296 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46297 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46299 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46301 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46302 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46303 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46304 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46306 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46308 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46310 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46311 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46313 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46315 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46316 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46318 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46320 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46323 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46324 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46325 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46327 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46329 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46332 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46333 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46334 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46336 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46338 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46339 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46341 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46343 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46346 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46347 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46348 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46350 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46352 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46353 { NULL
, NULL
, 0, NULL
}
46357 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46359 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46360 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46362 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46363 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46365 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46366 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46368 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46369 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46371 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46372 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46374 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46375 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46377 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46378 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46380 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46381 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46383 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46386 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46389 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46392 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46393 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46395 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46396 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46398 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46399 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46401 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46402 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46404 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46405 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46407 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46408 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46410 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46411 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46413 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46414 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46416 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46417 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46419 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46420 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46422 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46423 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46425 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46428 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46429 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46431 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46432 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46434 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46435 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46437 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46438 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46440 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46441 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46443 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46444 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46446 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46447 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46449 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46450 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46452 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46453 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46455 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46458 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46459 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46461 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46462 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46464 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46465 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46467 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46468 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46470 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46471 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46473 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46474 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46476 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46477 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46479 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46480 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46482 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46483 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46485 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46486 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46488 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46489 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46491 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46492 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46494 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46495 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46497 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46498 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46500 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46501 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46503 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46504 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46506 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46507 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46509 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46510 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46512 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46513 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46515 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46516 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46518 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46519 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46521 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46522 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46524 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46525 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46527 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46528 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46530 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46531 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46533 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46534 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46536 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46537 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46539 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46540 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46542 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46543 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46545 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46546 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46548 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46549 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46551 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46552 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46554 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46555 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46557 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46558 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46560 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46561 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46563 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46564 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46566 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46567 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46569 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46570 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46572 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46573 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46575 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46576 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46578 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46579 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46581 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46582 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46584 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46585 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46587 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46588 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46590 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46591 return (void *)((wxControl
*) ((wxGauge
*) x
));
46593 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46594 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46596 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46597 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46599 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46600 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46602 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46603 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46605 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46606 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46608 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46609 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46611 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46612 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46614 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46615 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46617 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46618 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46620 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46621 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46623 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46624 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46626 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46627 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46629 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46630 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46632 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46633 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46635 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46636 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46638 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46639 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46641 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46642 return (void *)((wxControl
*) ((wxSlider
*) x
));
46644 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46645 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46647 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46648 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46650 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46651 return (void *)((wxControl
*) ((wxButton
*) x
));
46653 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46654 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46656 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46657 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46659 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46660 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46662 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46663 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46665 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46666 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46668 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46669 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46671 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46672 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46674 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46675 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46677 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46678 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46680 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
46681 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
46683 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46684 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46686 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46687 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46689 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46690 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46692 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46693 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46695 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46696 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46698 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46699 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46701 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46702 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46704 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46705 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46707 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46708 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46710 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46711 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46713 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46714 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46716 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46717 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46719 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46720 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46722 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46723 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46725 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46726 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46728 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46729 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46731 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46734 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46735 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46737 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46738 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46740 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46743 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46746 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46747 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46749 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46752 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46755 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46758 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46759 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46761 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46762 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46764 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46767 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46770 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46773 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46776 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46779 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46780 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46782 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46785 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46788 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46791 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46794 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46797 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46800 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46803 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46806 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46809 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46812 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46815 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46818 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46821 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46824 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46827 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46830 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46833 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46836 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46839 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46842 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46845 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46848 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46851 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46854 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46857 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46860 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46863 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46866 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46869 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46872 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46875 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46878 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46879 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46881 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46882 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46884 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46885 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46887 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46888 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46890 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46891 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46893 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46894 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46896 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46899 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46902 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46905 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46908 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46911 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46914 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46917 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46920 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) ((wxSizer
*) x
));
46923 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46926 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46929 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46932 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46935 static void *_p_wxEventTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) ((wxEvent
*) x
));
46938 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46941 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46944 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46947 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46950 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46953 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46956 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46959 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46962 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46965 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46968 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46971 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46974 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46977 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46980 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46983 static void *_p_wxControlTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46986 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46989 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46992 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46995 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46998 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47001 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47004 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47007 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47010 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47013 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47016 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47019 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47022 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47025 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47028 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47031 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47034 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47037 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47038 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47040 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47043 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47046 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47049 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47050 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47052 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47055 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47058 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47059 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47061 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47064 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47065 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47067 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47070 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47071 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47073 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47074 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47076 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47077 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47079 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47080 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47082 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47083 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47085 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47086 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47088 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47091 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47092 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47094 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47097 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47100 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47103 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47106 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47107 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47109 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47110 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47112 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47113 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47115 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47116 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47118 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47119 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47121 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47122 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47124 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47127 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47128 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47130 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47133 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47136 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47137 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47139 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47140 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47142 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47145 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47148 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47151 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47154 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47157 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47160 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47161 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47163 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47164 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47166 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47169 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47172 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47175 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47178 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47179 return (void *)((wxObject
*) ((wxListItem
*) x
));
47181 static void *_p_wxImageTo_p_wxObject(void *x
) {
47182 return (void *)((wxObject
*) ((wxImage
*) x
));
47184 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47185 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47187 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47190 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47191 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47193 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47196 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47199 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47202 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47203 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47205 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47208 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47211 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47212 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47214 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47215 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47217 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47218 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47220 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47221 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47223 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47224 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47226 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47229 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47230 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47232 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47233 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47235 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47236 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47238 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47239 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47241 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47242 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47244 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47245 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47247 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47248 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47250 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47253 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47256 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47259 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47260 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47262 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47265 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47266 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47268 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47269 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47271 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47274 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47277 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47280 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47283 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47286 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47289 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47292 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47295 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47296 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47298 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47301 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47304 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47305 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47307 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47308 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47310 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47311 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47313 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47314 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47316 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47317 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47319 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47320 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47322 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47323 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47325 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47326 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47328 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47329 return (void *)((wxWindow
*) ((wxControl
*) x
));
47331 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47332 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47334 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47335 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47337 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47338 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47340 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47341 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47343 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47344 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47346 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47347 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47349 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47350 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47352 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47353 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47355 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47356 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47358 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47359 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47361 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47362 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47364 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47365 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47367 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47368 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47370 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47371 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47373 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47374 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47376 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47377 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47379 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47380 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47382 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47383 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47385 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47386 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47388 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47389 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47391 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47392 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47394 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47395 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47397 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47398 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47400 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47401 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47403 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47404 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47406 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47407 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47409 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47410 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47412 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47413 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47415 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47416 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47418 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47419 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47421 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47422 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47424 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47425 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47427 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47428 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47430 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47431 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47433 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47434 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47436 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47437 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47439 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47440 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47442 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47443 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47445 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47446 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47448 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47449 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47451 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47452 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47454 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47455 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47457 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47458 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47460 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47461 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47463 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47464 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47466 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47467 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47469 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47470 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47472 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47473 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47475 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47476 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47478 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47479 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47481 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47482 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47484 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47485 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47487 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47488 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47490 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47491 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47493 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47494 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47496 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47497 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47499 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47500 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47502 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47503 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47505 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47506 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47508 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47509 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47511 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47512 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47514 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47515 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47517 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47518 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47520 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47521 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47523 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47524 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47526 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47527 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47529 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47530 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47532 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
47533 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
47535 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47536 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47538 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47539 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47541 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47542 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47544 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47545 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47547 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47548 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47550 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47551 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47552 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};
47553 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47554 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47555 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47556 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47557 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47558 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47559 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47560 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47561 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47562 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47563 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47564 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47565 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47566 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47567 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47568 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47569 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47570 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47571 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47572 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47573 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47574 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47575 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47576 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47577 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47578 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47579 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47580 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47581 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47582 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47583 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47584 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47585 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47586 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47587 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47588 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47589 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47590 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47591 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47592 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47593 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47594 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47595 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47596 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47597 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47598 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47599 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47600 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47601 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47602 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47603 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47604 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47605 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47606 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47607 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47608 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47609 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47610 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47611 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47612 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47613 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47614 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47615 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47616 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47617 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47618 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47619 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47620 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47621 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47622 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47623 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47624 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47625 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47626 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47627 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47628 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47629 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47630 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47631 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47632 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47633 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47634 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47635 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47636 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47637 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47638 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47639 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47640 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47641 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47642 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47643 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47644 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47645 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47646 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47647 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47648 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47649 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47650 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47651 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47652 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47653 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47654 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47655 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47656 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47657 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47658 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47659 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47660 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47661 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47662 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47663 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47664 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47665 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47666 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47667 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47668 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47669 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47670 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47671 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47672 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47673 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47674 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47675 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47676 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47677 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47678 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47679 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47680 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47681 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47682 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47683 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47684 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47685 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47686 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47687 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47688 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47689 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47690 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47691 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47692 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47693 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47694 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47695 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47696 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47697 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47698 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47699 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47700 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47701 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47702 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47703 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47704 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47705 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47706 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47707 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47708 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47709 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47710 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47711 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47712 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47713 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47714 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47715 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47716 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
47717 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47718 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47719 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47720 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47721 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47722 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47723 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47724 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47726 static swig_type_info
*swig_type_initial
[] = {
47729 &_swigt__p_form_ops_t
,
47732 &_swigt__p_unsigned_char
,
47733 &_swigt__p_unsigned_int
,
47734 &_swigt__p_unsigned_long
,
47736 &_swigt__p_wxANIHandler
,
47737 &_swigt__p_wxAcceleratorTable
,
47738 &_swigt__p_wxActivateEvent
,
47739 &_swigt__p_wxArrayInt
,
47740 &_swigt__p_wxArrayString
,
47741 &_swigt__p_wxBMPHandler
,
47742 &_swigt__p_wxBitmap
,
47743 &_swigt__p_wxBitmapButton
,
47744 &_swigt__p_wxBookCtrlBase
,
47745 &_swigt__p_wxBookCtrlBaseEvent
,
47746 &_swigt__p_wxBoxSizer
,
47747 &_swigt__p_wxButton
,
47748 &_swigt__p_wxCURHandler
,
47749 &_swigt__p_wxCheckBox
,
47750 &_swigt__p_wxCheckListBox
,
47751 &_swigt__p_wxChildFocusEvent
,
47752 &_swigt__p_wxChoice
,
47753 &_swigt__p_wxChoicebook
,
47754 &_swigt__p_wxChoicebookEvent
,
47755 &_swigt__p_wxClipboardTextEvent
,
47756 &_swigt__p_wxCloseEvent
,
47757 &_swigt__p_wxColour
,
47758 &_swigt__p_wxColourPickerCtrl
,
47759 &_swigt__p_wxColourPickerEvent
,
47760 &_swigt__p_wxComboBox
,
47761 &_swigt__p_wxCommandEvent
,
47762 &_swigt__p_wxContextHelp
,
47763 &_swigt__p_wxContextHelpButton
,
47764 &_swigt__p_wxContextMenuEvent
,
47765 &_swigt__p_wxControl
,
47766 &_swigt__p_wxControlWithItems
,
47767 &_swigt__p_wxCursor
,
47769 &_swigt__p_wxDateEvent
,
47770 &_swigt__p_wxDatePickerCtrl
,
47771 &_swigt__p_wxDateTime
,
47772 &_swigt__p_wxDirFilterListCtrl
,
47773 &_swigt__p_wxDirPickerCtrl
,
47774 &_swigt__p_wxDisplayChangedEvent
,
47775 &_swigt__p_wxDropFilesEvent
,
47776 &_swigt__p_wxDuplexMode
,
47777 &_swigt__p_wxEraseEvent
,
47778 &_swigt__p_wxEvent
,
47779 &_swigt__p_wxEvtHandler
,
47780 &_swigt__p_wxFSFile
,
47781 &_swigt__p_wxFileDirPickerEvent
,
47782 &_swigt__p_wxFilePickerCtrl
,
47783 &_swigt__p_wxFileSystem
,
47784 &_swigt__p_wxFlexGridSizer
,
47785 &_swigt__p_wxFocusEvent
,
47787 &_swigt__p_wxFontPickerCtrl
,
47788 &_swigt__p_wxFontPickerEvent
,
47789 &_swigt__p_wxGBSizerItem
,
47790 &_swigt__p_wxGIFHandler
,
47791 &_swigt__p_wxGauge
,
47792 &_swigt__p_wxGenericDirCtrl
,
47793 &_swigt__p_wxGenericDragImage
,
47794 &_swigt__p_wxGridBagSizer
,
47795 &_swigt__p_wxGridSizer
,
47796 &_swigt__p_wxHelpEvent
,
47797 &_swigt__p_wxHelpProvider
,
47798 &_swigt__p_wxHyperlinkCtrl
,
47799 &_swigt__p_wxHyperlinkEvent
,
47800 &_swigt__p_wxICOHandler
,
47802 &_swigt__p_wxIconizeEvent
,
47803 &_swigt__p_wxIdleEvent
,
47804 &_swigt__p_wxImage
,
47805 &_swigt__p_wxImageHandler
,
47806 &_swigt__p_wxImageList
,
47807 &_swigt__p_wxIndividualLayoutConstraint
,
47808 &_swigt__p_wxInitDialogEvent
,
47809 &_swigt__p_wxItemContainer
,
47810 &_swigt__p_wxJPEGHandler
,
47811 &_swigt__p_wxKeyEvent
,
47812 &_swigt__p_wxLayoutConstraints
,
47813 &_swigt__p_wxListBox
,
47814 &_swigt__p_wxListEvent
,
47815 &_swigt__p_wxListItem
,
47816 &_swigt__p_wxListItemAttr
,
47817 &_swigt__p_wxListView
,
47818 &_swigt__p_wxListbook
,
47819 &_swigt__p_wxListbookEvent
,
47820 &_swigt__p_wxMaximizeEvent
,
47821 &_swigt__p_wxMemoryDC
,
47823 &_swigt__p_wxMenuBar
,
47824 &_swigt__p_wxMenuEvent
,
47825 &_swigt__p_wxMenuItem
,
47826 &_swigt__p_wxMouseCaptureChangedEvent
,
47827 &_swigt__p_wxMouseEvent
,
47828 &_swigt__p_wxMoveEvent
,
47829 &_swigt__p_wxNavigationKeyEvent
,
47830 &_swigt__p_wxNcPaintEvent
,
47831 &_swigt__p_wxNotebook
,
47832 &_swigt__p_wxNotebookEvent
,
47833 &_swigt__p_wxNotifyEvent
,
47834 &_swigt__p_wxObject
,
47835 &_swigt__p_wxPCXHandler
,
47836 &_swigt__p_wxPNGHandler
,
47837 &_swigt__p_wxPNMHandler
,
47838 &_swigt__p_wxPaintEvent
,
47839 &_swigt__p_wxPaletteChangedEvent
,
47840 &_swigt__p_wxPaperSize
,
47841 &_swigt__p_wxPickerBase
,
47842 &_swigt__p_wxPoint
,
47843 &_swigt__p_wxPyApp
,
47844 &_swigt__p_wxPyCommandEvent
,
47845 &_swigt__p_wxPyControl
,
47846 &_swigt__p_wxPyEvent
,
47847 &_swigt__p_wxPyImageHandler
,
47848 &_swigt__p_wxPyListCtrl
,
47849 &_swigt__p_wxPySizer
,
47850 &_swigt__p_wxPyTreeCtrl
,
47851 &_swigt__p_wxPyTreeItemData
,
47852 &_swigt__p_wxPyValidator
,
47853 &_swigt__p_wxQueryNewPaletteEvent
,
47854 &_swigt__p_wxRadioBox
,
47855 &_swigt__p_wxRadioButton
,
47857 &_swigt__p_wxScrollBar
,
47858 &_swigt__p_wxScrollEvent
,
47859 &_swigt__p_wxScrollWinEvent
,
47860 &_swigt__p_wxSetCursorEvent
,
47861 &_swigt__p_wxShowEvent
,
47862 &_swigt__p_wxSimpleHelpProvider
,
47864 &_swigt__p_wxSizeEvent
,
47865 &_swigt__p_wxSizer
,
47866 &_swigt__p_wxSizerItem
,
47867 &_swigt__p_wxSlider
,
47868 &_swigt__p_wxSpinButton
,
47869 &_swigt__p_wxSpinCtrl
,
47870 &_swigt__p_wxSpinEvent
,
47871 &_swigt__p_wxStaticBitmap
,
47872 &_swigt__p_wxStaticBox
,
47873 &_swigt__p_wxStaticBoxSizer
,
47874 &_swigt__p_wxStaticLine
,
47875 &_swigt__p_wxStaticText
,
47876 &_swigt__p_wxStdDialogButtonSizer
,
47877 &_swigt__p_wxString
,
47878 &_swigt__p_wxSysColourChangedEvent
,
47879 &_swigt__p_wxTIFFHandler
,
47880 &_swigt__p_wxTextAttr
,
47881 &_swigt__p_wxTextCtrl
,
47882 &_swigt__p_wxTextUrlEvent
,
47883 &_swigt__p_wxToggleButton
,
47884 &_swigt__p_wxToolBar
,
47885 &_swigt__p_wxToolBarBase
,
47886 &_swigt__p_wxToolBarToolBase
,
47887 &_swigt__p_wxToolbook
,
47888 &_swigt__p_wxToolbookEvent
,
47889 &_swigt__p_wxTreeCtrl
,
47890 &_swigt__p_wxTreeEvent
,
47891 &_swigt__p_wxTreeItemId
,
47892 &_swigt__p_wxTreebook
,
47893 &_swigt__p_wxTreebookEvent
,
47894 &_swigt__p_wxUpdateUIEvent
,
47895 &_swigt__p_wxValidator
,
47896 &_swigt__p_wxVisualAttributes
,
47897 &_swigt__p_wxWindow
,
47898 &_swigt__p_wxWindowBase
,
47899 &_swigt__p_wxWindowCreateEvent
,
47900 &_swigt__p_wxWindowDestroyEvent
,
47901 &_swigt__p_wxXPMHandler
,
47904 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47905 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47906 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47907 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47908 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47909 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47910 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47911 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47912 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47913 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47914 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47915 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47916 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}};
47917 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}};
47918 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}};
47919 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}};
47920 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47921 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47922 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
47923 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47924 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47925 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47926 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47927 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47928 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47929 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47930 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47931 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47932 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47933 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47934 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47935 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47936 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47937 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47938 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}};
47939 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47940 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47941 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}};
47942 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_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}};
47943 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47944 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47945 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47946 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47947 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47948 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47949 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47950 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47951 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47952 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47953 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47954 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47955 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47956 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47957 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47958 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47959 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47960 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47961 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47962 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47963 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47964 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47965 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47966 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47967 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47968 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47969 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47970 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47971 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47972 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47973 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47974 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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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}};
47975 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47976 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47977 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47978 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47979 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}};
47980 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47981 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47982 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47983 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47984 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47985 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47986 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47987 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47988 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47989 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}};
47990 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47991 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47992 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47993 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47994 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}};
47995 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47996 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}};
47997 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47998 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47999 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48000 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48001 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48002 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48003 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48004 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48005 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48006 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48007 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}};
48008 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48009 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48010 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48011 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48012 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48013 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48014 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48015 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48016 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48017 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48018 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48019 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48020 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48021 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48022 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48023 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48024 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48025 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48026 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48027 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48028 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48029 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48030 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48031 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48032 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48033 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48034 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48035 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48036 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48037 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48038 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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_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}};
48039 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48040 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}};
48041 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48042 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48043 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}};
48044 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48045 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48046 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48047 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48048 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48049 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48050 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48051 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48052 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48053 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48054 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48055 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48056 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48057 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48058 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48059 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48060 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48061 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48062 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48063 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48064 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48065 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48066 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}};
48067 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48068 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48069 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48070 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48071 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48072 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48073 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48074 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48075 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}};
48076 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48077 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}};
48078 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48080 static swig_cast_info
*swig_cast_initial
[] = {
48083 _swigc__p_form_ops_t
,
48086 _swigc__p_unsigned_char
,
48087 _swigc__p_unsigned_int
,
48088 _swigc__p_unsigned_long
,
48090 _swigc__p_wxANIHandler
,
48091 _swigc__p_wxAcceleratorTable
,
48092 _swigc__p_wxActivateEvent
,
48093 _swigc__p_wxArrayInt
,
48094 _swigc__p_wxArrayString
,
48095 _swigc__p_wxBMPHandler
,
48096 _swigc__p_wxBitmap
,
48097 _swigc__p_wxBitmapButton
,
48098 _swigc__p_wxBookCtrlBase
,
48099 _swigc__p_wxBookCtrlBaseEvent
,
48100 _swigc__p_wxBoxSizer
,
48101 _swigc__p_wxButton
,
48102 _swigc__p_wxCURHandler
,
48103 _swigc__p_wxCheckBox
,
48104 _swigc__p_wxCheckListBox
,
48105 _swigc__p_wxChildFocusEvent
,
48106 _swigc__p_wxChoice
,
48107 _swigc__p_wxChoicebook
,
48108 _swigc__p_wxChoicebookEvent
,
48109 _swigc__p_wxClipboardTextEvent
,
48110 _swigc__p_wxCloseEvent
,
48111 _swigc__p_wxColour
,
48112 _swigc__p_wxColourPickerCtrl
,
48113 _swigc__p_wxColourPickerEvent
,
48114 _swigc__p_wxComboBox
,
48115 _swigc__p_wxCommandEvent
,
48116 _swigc__p_wxContextHelp
,
48117 _swigc__p_wxContextHelpButton
,
48118 _swigc__p_wxContextMenuEvent
,
48119 _swigc__p_wxControl
,
48120 _swigc__p_wxControlWithItems
,
48121 _swigc__p_wxCursor
,
48123 _swigc__p_wxDateEvent
,
48124 _swigc__p_wxDatePickerCtrl
,
48125 _swigc__p_wxDateTime
,
48126 _swigc__p_wxDirFilterListCtrl
,
48127 _swigc__p_wxDirPickerCtrl
,
48128 _swigc__p_wxDisplayChangedEvent
,
48129 _swigc__p_wxDropFilesEvent
,
48130 _swigc__p_wxDuplexMode
,
48131 _swigc__p_wxEraseEvent
,
48133 _swigc__p_wxEvtHandler
,
48134 _swigc__p_wxFSFile
,
48135 _swigc__p_wxFileDirPickerEvent
,
48136 _swigc__p_wxFilePickerCtrl
,
48137 _swigc__p_wxFileSystem
,
48138 _swigc__p_wxFlexGridSizer
,
48139 _swigc__p_wxFocusEvent
,
48141 _swigc__p_wxFontPickerCtrl
,
48142 _swigc__p_wxFontPickerEvent
,
48143 _swigc__p_wxGBSizerItem
,
48144 _swigc__p_wxGIFHandler
,
48146 _swigc__p_wxGenericDirCtrl
,
48147 _swigc__p_wxGenericDragImage
,
48148 _swigc__p_wxGridBagSizer
,
48149 _swigc__p_wxGridSizer
,
48150 _swigc__p_wxHelpEvent
,
48151 _swigc__p_wxHelpProvider
,
48152 _swigc__p_wxHyperlinkCtrl
,
48153 _swigc__p_wxHyperlinkEvent
,
48154 _swigc__p_wxICOHandler
,
48156 _swigc__p_wxIconizeEvent
,
48157 _swigc__p_wxIdleEvent
,
48159 _swigc__p_wxImageHandler
,
48160 _swigc__p_wxImageList
,
48161 _swigc__p_wxIndividualLayoutConstraint
,
48162 _swigc__p_wxInitDialogEvent
,
48163 _swigc__p_wxItemContainer
,
48164 _swigc__p_wxJPEGHandler
,
48165 _swigc__p_wxKeyEvent
,
48166 _swigc__p_wxLayoutConstraints
,
48167 _swigc__p_wxListBox
,
48168 _swigc__p_wxListEvent
,
48169 _swigc__p_wxListItem
,
48170 _swigc__p_wxListItemAttr
,
48171 _swigc__p_wxListView
,
48172 _swigc__p_wxListbook
,
48173 _swigc__p_wxListbookEvent
,
48174 _swigc__p_wxMaximizeEvent
,
48175 _swigc__p_wxMemoryDC
,
48177 _swigc__p_wxMenuBar
,
48178 _swigc__p_wxMenuEvent
,
48179 _swigc__p_wxMenuItem
,
48180 _swigc__p_wxMouseCaptureChangedEvent
,
48181 _swigc__p_wxMouseEvent
,
48182 _swigc__p_wxMoveEvent
,
48183 _swigc__p_wxNavigationKeyEvent
,
48184 _swigc__p_wxNcPaintEvent
,
48185 _swigc__p_wxNotebook
,
48186 _swigc__p_wxNotebookEvent
,
48187 _swigc__p_wxNotifyEvent
,
48188 _swigc__p_wxObject
,
48189 _swigc__p_wxPCXHandler
,
48190 _swigc__p_wxPNGHandler
,
48191 _swigc__p_wxPNMHandler
,
48192 _swigc__p_wxPaintEvent
,
48193 _swigc__p_wxPaletteChangedEvent
,
48194 _swigc__p_wxPaperSize
,
48195 _swigc__p_wxPickerBase
,
48198 _swigc__p_wxPyCommandEvent
,
48199 _swigc__p_wxPyControl
,
48200 _swigc__p_wxPyEvent
,
48201 _swigc__p_wxPyImageHandler
,
48202 _swigc__p_wxPyListCtrl
,
48203 _swigc__p_wxPySizer
,
48204 _swigc__p_wxPyTreeCtrl
,
48205 _swigc__p_wxPyTreeItemData
,
48206 _swigc__p_wxPyValidator
,
48207 _swigc__p_wxQueryNewPaletteEvent
,
48208 _swigc__p_wxRadioBox
,
48209 _swigc__p_wxRadioButton
,
48211 _swigc__p_wxScrollBar
,
48212 _swigc__p_wxScrollEvent
,
48213 _swigc__p_wxScrollWinEvent
,
48214 _swigc__p_wxSetCursorEvent
,
48215 _swigc__p_wxShowEvent
,
48216 _swigc__p_wxSimpleHelpProvider
,
48218 _swigc__p_wxSizeEvent
,
48220 _swigc__p_wxSizerItem
,
48221 _swigc__p_wxSlider
,
48222 _swigc__p_wxSpinButton
,
48223 _swigc__p_wxSpinCtrl
,
48224 _swigc__p_wxSpinEvent
,
48225 _swigc__p_wxStaticBitmap
,
48226 _swigc__p_wxStaticBox
,
48227 _swigc__p_wxStaticBoxSizer
,
48228 _swigc__p_wxStaticLine
,
48229 _swigc__p_wxStaticText
,
48230 _swigc__p_wxStdDialogButtonSizer
,
48231 _swigc__p_wxString
,
48232 _swigc__p_wxSysColourChangedEvent
,
48233 _swigc__p_wxTIFFHandler
,
48234 _swigc__p_wxTextAttr
,
48235 _swigc__p_wxTextCtrl
,
48236 _swigc__p_wxTextUrlEvent
,
48237 _swigc__p_wxToggleButton
,
48238 _swigc__p_wxToolBar
,
48239 _swigc__p_wxToolBarBase
,
48240 _swigc__p_wxToolBarToolBase
,
48241 _swigc__p_wxToolbook
,
48242 _swigc__p_wxToolbookEvent
,
48243 _swigc__p_wxTreeCtrl
,
48244 _swigc__p_wxTreeEvent
,
48245 _swigc__p_wxTreeItemId
,
48246 _swigc__p_wxTreebook
,
48247 _swigc__p_wxTreebookEvent
,
48248 _swigc__p_wxUpdateUIEvent
,
48249 _swigc__p_wxValidator
,
48250 _swigc__p_wxVisualAttributes
,
48251 _swigc__p_wxWindow
,
48252 _swigc__p_wxWindowBase
,
48253 _swigc__p_wxWindowCreateEvent
,
48254 _swigc__p_wxWindowDestroyEvent
,
48255 _swigc__p_wxXPMHandler
,
48259 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48261 static swig_const_info swig_const_table
[] = {
48262 {0, 0, 0, 0.0, 0, 0}};
48267 /* -----------------------------------------------------------------------------
48268 * Type initialization:
48269 * This problem is tough by the requirement that no dynamic
48270 * memory is used. Also, since swig_type_info structures store pointers to
48271 * swig_cast_info structures and swig_cast_info structures store pointers back
48272 * to swig_type_info structures, we need some lookup code at initialization.
48273 * The idea is that swig generates all the structures that are needed.
48274 * The runtime then collects these partially filled structures.
48275 * The SWIG_InitializeModule function takes these initial arrays out of
48276 * swig_module, and does all the lookup, filling in the swig_module.types
48277 * array with the correct data and linking the correct swig_cast_info
48278 * structures together.
48280 * The generated swig_type_info structures are assigned staticly to an initial
48281 * array. We just loop though that array, and handle each type individually.
48282 * First we lookup if this type has been already loaded, and if so, use the
48283 * loaded structure instead of the generated one. Then we have to fill in the
48284 * cast linked list. The cast data is initially stored in something like a
48285 * two-dimensional array. Each row corresponds to a type (there are the same
48286 * number of rows as there are in the swig_type_initial array). Each entry in
48287 * a column is one of the swig_cast_info structures for that type.
48288 * The cast_initial array is actually an array of arrays, because each row has
48289 * a variable number of columns. So to actually build the cast linked list,
48290 * we find the array of casts associated with the type, and loop through it
48291 * adding the casts to the list. The one last trick we need to do is making
48292 * sure the type pointer in the swig_cast_info struct is correct.
48294 * First off, we lookup the cast->type name to see if it is already loaded.
48295 * There are three cases to handle:
48296 * 1) If the cast->type has already been loaded AND the type we are adding
48297 * casting info to has not been loaded (it is in this module), THEN we
48298 * replace the cast->type pointer with the type pointer that has already
48300 * 2) If BOTH types (the one we are adding casting info to, and the
48301 * cast->type) are loaded, THEN the cast info has already been loaded by
48302 * the previous module so we just ignore it.
48303 * 3) Finally, if cast->type has not already been loaded, then we add that
48304 * swig_cast_info to the linked list (because the cast->type) pointer will
48306 * ----------------------------------------------------------------------------- */
48316 #define SWIGRUNTIME_DEBUG
48320 SWIG_InitializeModule(void *clientdata
) {
48322 swig_module_info
*module_head
;
48323 static int init_run
= 0;
48325 clientdata
= clientdata
;
48327 if (init_run
) return;
48330 /* Initialize the swig_module */
48331 swig_module
.type_initial
= swig_type_initial
;
48332 swig_module
.cast_initial
= swig_cast_initial
;
48334 /* Try and load any already created modules */
48335 module_head
= SWIG_GetModule(clientdata
);
48337 swig_module
.next
= module_head
->next
;
48338 module_head
->next
= &swig_module
;
48340 /* This is the first module loaded */
48341 swig_module
.next
= &swig_module
;
48342 SWIG_SetModule(clientdata
, &swig_module
);
48345 /* Now work on filling in swig_module.types */
48346 #ifdef SWIGRUNTIME_DEBUG
48347 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48349 for (i
= 0; i
< swig_module
.size
; ++i
) {
48350 swig_type_info
*type
= 0;
48351 swig_type_info
*ret
;
48352 swig_cast_info
*cast
;
48354 #ifdef SWIGRUNTIME_DEBUG
48355 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48358 /* if there is another module already loaded */
48359 if (swig_module
.next
!= &swig_module
) {
48360 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48363 /* Overwrite clientdata field */
48364 #ifdef SWIGRUNTIME_DEBUG
48365 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48367 if (swig_module
.type_initial
[i
]->clientdata
) {
48368 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48369 #ifdef SWIGRUNTIME_DEBUG
48370 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48374 type
= swig_module
.type_initial
[i
];
48377 /* Insert casting types */
48378 cast
= swig_module
.cast_initial
[i
];
48379 while (cast
->type
) {
48380 /* Don't need to add information already in the list */
48382 #ifdef SWIGRUNTIME_DEBUG
48383 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48385 if (swig_module
.next
!= &swig_module
) {
48386 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48387 #ifdef SWIGRUNTIME_DEBUG
48388 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48392 if (type
== swig_module
.type_initial
[i
]) {
48393 #ifdef SWIGRUNTIME_DEBUG
48394 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48399 /* Check for casting already in the list */
48400 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48401 #ifdef SWIGRUNTIME_DEBUG
48402 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48404 if (!ocast
) ret
= 0;
48409 #ifdef SWIGRUNTIME_DEBUG
48410 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48413 type
->cast
->prev
= cast
;
48414 cast
->next
= type
->cast
;
48420 /* Set entry in modules->types array equal to the type */
48421 swig_module
.types
[i
] = type
;
48423 swig_module
.types
[i
] = 0;
48425 #ifdef SWIGRUNTIME_DEBUG
48426 printf("**** SWIG_InitializeModule: Cast List ******\n");
48427 for (i
= 0; i
< swig_module
.size
; ++i
) {
48429 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48430 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48431 while (cast
->type
) {
48432 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48436 printf("---- Total casts: %d\n",j
);
48438 printf("**** SWIG_InitializeModule: Cast List ******\n");
48442 /* This function will propagate the clientdata field of type to
48443 * any new swig_type_info structures that have been added into the list
48444 * of equivalent types. It is like calling
48445 * SWIG_TypeClientData(type, clientdata) a second time.
48448 SWIG_PropagateClientData(void) {
48450 swig_cast_info
*equiv
;
48451 static int init_run
= 0;
48453 if (init_run
) return;
48456 for (i
= 0; i
< swig_module
.size
; i
++) {
48457 if (swig_module
.types
[i
]->clientdata
) {
48458 equiv
= swig_module
.types
[i
]->cast
;
48460 if (!equiv
->converter
) {
48461 if (equiv
->type
&& !equiv
->type
->clientdata
)
48462 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48464 equiv
= equiv
->next
;
48484 /* Python-specific SWIG API */
48485 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48486 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48487 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48489 /* -----------------------------------------------------------------------------
48490 * global variable support code.
48491 * ----------------------------------------------------------------------------- */
48493 typedef struct swig_globalvar
{
48494 char *name
; /* Name of global variable */
48495 PyObject
*(*get_attr
)(void); /* Return the current value */
48496 int (*set_attr
)(PyObject
*); /* Set the value */
48497 struct swig_globalvar
*next
;
48500 typedef struct swig_varlinkobject
{
48502 swig_globalvar
*vars
;
48503 } swig_varlinkobject
;
48505 SWIGINTERN PyObject
*
48506 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48507 return PyString_FromString("<Swig global variables>");
48510 SWIGINTERN PyObject
*
48511 swig_varlink_str(swig_varlinkobject
*v
) {
48512 PyObject
*str
= PyString_FromString("(");
48513 swig_globalvar
*var
;
48514 for (var
= v
->vars
; var
; var
=var
->next
) {
48515 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48516 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48518 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48523 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48524 PyObject
*str
= swig_varlink_str(v
);
48525 fprintf(fp
,"Swig global variables ");
48526 fprintf(fp
,"%s\n", PyString_AsString(str
));
48532 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48533 swig_globalvar
*var
= v
->vars
;
48535 swig_globalvar
*n
= var
->next
;
48542 SWIGINTERN PyObject
*
48543 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48544 PyObject
*res
= NULL
;
48545 swig_globalvar
*var
= v
->vars
;
48547 if (strcmp(var
->name
,n
) == 0) {
48548 res
= (*var
->get_attr
)();
48553 if (res
== NULL
&& !PyErr_Occurred()) {
48554 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48560 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48562 swig_globalvar
*var
= v
->vars
;
48564 if (strcmp(var
->name
,n
) == 0) {
48565 res
= (*var
->set_attr
)(p
);
48570 if (res
== 1 && !PyErr_Occurred()) {
48571 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48576 SWIGINTERN PyTypeObject
*
48577 swig_varlink_type(void) {
48578 static char varlink__doc__
[] = "Swig var link object";
48579 static PyTypeObject varlink_type
;
48580 static int type_init
= 0;
48582 const PyTypeObject tmp
48584 PyObject_HEAD_INIT(NULL
)
48585 0, /* Number of items in variable part (ob_size) */
48586 (char *)"swigvarlink", /* Type name (tp_name) */
48587 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48588 0, /* Itemsize (tp_itemsize) */
48589 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48590 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48591 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48592 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48593 0, /* tp_compare */
48594 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48595 0, /* tp_as_number */
48596 0, /* tp_as_sequence */
48597 0, /* tp_as_mapping */
48600 (reprfunc
)swig_varlink_str
, /* tp_str */
48601 0, /* tp_getattro */
48602 0, /* tp_setattro */
48603 0, /* tp_as_buffer */
48605 varlink__doc__
, /* tp_doc */
48606 0, /* tp_traverse */
48608 0, /* tp_richcompare */
48609 0, /* tp_weaklistoffset */
48610 #if PY_VERSION_HEX >= 0x02020000
48611 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48613 #if PY_VERSION_HEX >= 0x02030000
48616 #ifdef COUNT_ALLOCS
48617 0,0,0,0 /* tp_alloc -> tp_next */
48620 varlink_type
= tmp
;
48621 varlink_type
.ob_type
= &PyType_Type
;
48624 return &varlink_type
;
48627 /* Create a variable linking object for use later */
48628 SWIGINTERN PyObject
*
48629 SWIG_Python_newvarlink(void) {
48630 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48634 return ((PyObject
*) result
);
48638 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48639 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48640 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48642 size_t size
= strlen(name
)+1;
48643 gv
->name
= (char *)malloc(size
);
48645 strncpy(gv
->name
,name
,size
);
48646 gv
->get_attr
= get_attr
;
48647 gv
->set_attr
= set_attr
;
48648 gv
->next
= v
->vars
;
48654 SWIGINTERN PyObject
*
48656 static PyObject
*_SWIG_globals
= 0;
48657 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48658 return _SWIG_globals
;
48661 /* -----------------------------------------------------------------------------
48662 * constants/methods manipulation
48663 * ----------------------------------------------------------------------------- */
48665 /* Install Constants */
48667 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48670 for (i
= 0; constants
[i
].type
; ++i
) {
48671 switch(constants
[i
].type
) {
48672 case SWIG_PY_POINTER
:
48673 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48675 case SWIG_PY_BINARY
:
48676 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48683 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48689 /* -----------------------------------------------------------------------------*/
48690 /* Fix SwigMethods to carry the callback ptrs when needed */
48691 /* -----------------------------------------------------------------------------*/
48694 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48695 swig_const_info
*const_table
,
48696 swig_type_info
**types
,
48697 swig_type_info
**types_initial
) {
48699 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48700 const char *c
= methods
[i
].ml_doc
;
48701 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48703 swig_const_info
*ci
= 0;
48704 const char *name
= c
+ 10;
48705 for (j
= 0; const_table
[j
].type
; ++j
) {
48706 if (strncmp(const_table
[j
].name
, name
,
48707 strlen(const_table
[j
].name
)) == 0) {
48708 ci
= &(const_table
[j
]);
48713 size_t shift
= (ci
->ptype
) - types
;
48714 swig_type_info
*ty
= types_initial
[shift
];
48715 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48716 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48717 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48720 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48722 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48724 strncpy(buff
, "swig_ptr: ", 10);
48726 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48727 methods
[i
].ml_doc
= ndoc
;
48739 /* -----------------------------------------------------------------------------*
48740 * Partial Init method
48741 * -----------------------------------------------------------------------------*/
48746 SWIGEXPORT
void SWIG_init(void) {
48749 /* Fix SwigMethods to carry the callback ptrs when needed */
48750 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48752 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48753 d
= PyModule_GetDict(m
);
48755 SWIG_InitializeModule(0);
48756 SWIG_InstallConstants(d
,swig_const_table
);
48759 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48760 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48761 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48762 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48763 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48764 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48765 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48766 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48767 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48768 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48769 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48770 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48771 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48772 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48773 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48774 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48775 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48776 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48777 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48778 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48779 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48780 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48781 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48782 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48783 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48784 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48785 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48786 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48787 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48788 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48789 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48790 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48791 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48792 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48793 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48794 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48795 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48796 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48797 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48798 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48799 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48800 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48801 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48802 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48803 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48804 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48805 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48806 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48807 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48808 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48809 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48810 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48811 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48812 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48813 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48814 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48815 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48816 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48817 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48818 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48819 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48820 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48821 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48822 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48823 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48824 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48825 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48826 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48827 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48828 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48829 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48830 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48831 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48832 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48833 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48834 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48835 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48836 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48837 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48838 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48839 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48840 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48841 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48842 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48843 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48844 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48845 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48846 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48847 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48848 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48849 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48850 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48851 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48852 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48853 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48854 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48855 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48856 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48857 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48858 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48859 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48860 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48861 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48862 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48863 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48864 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48865 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48866 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48867 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48868 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48869 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48870 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48871 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48872 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48873 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48874 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48875 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48876 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48877 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48878 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48879 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48880 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48881 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48882 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48883 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48884 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48885 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48886 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48887 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48888 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48889 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48890 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48891 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48892 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48893 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48894 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48895 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48896 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48897 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48898 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48899 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48900 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48901 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48902 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48903 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48904 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48905 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48906 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48907 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48908 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48909 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48910 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48911 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48912 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48913 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48914 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48915 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48916 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48917 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48918 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48919 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48920 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48921 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48922 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48923 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48924 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48925 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48926 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48927 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48928 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48929 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48930 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48931 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48932 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48933 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48934 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48935 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48936 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48937 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48938 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48939 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48940 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48941 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48942 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48943 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48944 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48945 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48946 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48947 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48948 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48949 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48950 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48951 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48952 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48953 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48954 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48955 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48956 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48957 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48958 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48959 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48960 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48961 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48962 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48963 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48964 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48965 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48966 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48967 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48968 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48969 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48970 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48971 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48972 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48973 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48974 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48975 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48976 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48977 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48978 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48979 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48980 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48981 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48982 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48983 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48984 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48985 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48986 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48987 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48988 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48989 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48990 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48991 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48992 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48993 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48994 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48995 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48996 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48997 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48998 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48999 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49000 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49001 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49002 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49003 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49004 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49005 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49006 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49007 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49008 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49009 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49010 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49011 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49012 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49013 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49015 // Map renamed classes back to their common name for OOR
49016 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49018 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49019 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49020 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49021 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49022 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49023 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49024 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49025 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49026 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49027 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49028 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49029 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49030 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49031 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49032 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49033 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49034 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49035 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49036 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49037 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49038 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49039 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49040 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49041 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49042 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49043 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49044 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49045 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49046 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49047 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49048 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49049 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49050 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49051 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49052 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49053 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49054 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49055 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49056 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49057 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49060 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49061 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49062 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49063 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49064 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49065 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49066 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49067 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49068 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49069 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49070 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49071 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49072 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49073 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49075 // Map renamed classes back to their common name for OOR
49076 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49077 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49079 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49080 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49081 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49082 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49083 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49084 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49085 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
49086 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
49087 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49088 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49089 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49090 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49091 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49093 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49095 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49096 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49097 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49098 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49099 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49100 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49101 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49102 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49103 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49104 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49105 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49106 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49107 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49108 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49109 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49110 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49111 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49112 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49113 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49114 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49115 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49116 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49117 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49118 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49119 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49120 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49121 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49122 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49123 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49124 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49125 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49126 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49127 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49128 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49129 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49130 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49131 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49132 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49133 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49134 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));