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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495 #define SWIGTYPE_p_wxComboBox swig_types[33]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2498 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500 #define SWIGTYPE_p_wxControl swig_types[38]
2501 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502 #define SWIGTYPE_p_wxCursor swig_types[40]
2503 #define SWIGTYPE_p_wxDC swig_types[41]
2504 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2505 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDateTime swig_types[44]
2507 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvent swig_types[51]
2514 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515 #define SWIGTYPE_p_wxFSFile swig_types[53]
2516 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGauge swig_types[64]
2527 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2531 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2536 #define SWIGTYPE_p_wxIcon swig_types[74]
2537 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539 #define SWIGTYPE_p_wxImage swig_types[77]
2540 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2541 #define SWIGTYPE_p_wxImageList swig_types[79]
2542 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2545 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548 #define SWIGTYPE_p_wxListBox swig_types[86]
2549 #define SWIGTYPE_p_wxListEvent swig_types[87]
2550 #define SWIGTYPE_p_wxListItem swig_types[88]
2551 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552 #define SWIGTYPE_p_wxListView swig_types[90]
2553 #define SWIGTYPE_p_wxListbook swig_types[91]
2554 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557 #define SWIGTYPE_p_wxMenu swig_types[95]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotebook swig_types[104]
2567 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxObject swig_types[107]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2576 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2577 #define SWIGTYPE_p_wxPoint swig_types[115]
2578 #define SWIGTYPE_p_wxPyApp swig_types[116]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPyControl swig_types[118]
2581 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584 #define SWIGTYPE_p_wxPySizer swig_types[122]
2585 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2590 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2591 #define SWIGTYPE_p_wxRect swig_types[129]
2592 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSlider swig_types[140]
2603 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2604 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2610 #define SWIGTYPE_p_wxStaticText swig_types[148]
2611 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612 #define SWIGTYPE_p_wxString swig_types[150]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2616 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2619 #define SWIGTYPE_p_wxToolBar swig_types[157]
2620 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622 #define SWIGTYPE_p_wxToolbook swig_types[160]
2623 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624 #define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627 #define SWIGTYPE_p_wxTreebook swig_types[165]
2628 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630 #define SWIGTYPE_p_wxValidator swig_types[168]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632 #define SWIGTYPE_p_wxWindow swig_types[170]
2633 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637 static swig_type_info
*swig_types
[176];
2638 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_controls_
2664 #define SWIG_name "_controls_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2743 const wxArrayString wxPyEmptyStringArray
;
2745 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2747 #define SWIG_From_long PyInt_FromLong
2750 SWIGINTERNINLINE PyObject
*
2751 SWIG_From_int (int value
)
2753 return SWIG_From_long (value
);
2759 # define LLONG_MIN LONG_LONG_MIN
2762 # define LLONG_MAX LONG_LONG_MAX
2765 # define ULLONG_MAX ULONG_LONG_MAX
2770 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2772 if (PyNumber_Check(obj
)) {
2773 if (val
) *val
= PyInt_AsLong(obj
);
2776 return SWIG_TypeError
;
2781 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2784 int res
= SWIG_AsVal_long (obj
, &v
);
2785 if (SWIG_IsOK(res
)) {
2786 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2787 return SWIG_OverflowError
;
2789 if (val
) *val
= static_cast< int >(v
);
2795 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2798 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2800 if (obj
== Py_True
) {
2801 if (val
) *val
= true;
2803 } else if (obj
== Py_False
) {
2804 if (val
) *val
= false;
2808 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2809 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2814 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2815 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2816 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2817 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2818 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2819 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2821 #include <wx/checklst.h>
2823 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2824 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2827 wxPyClientData
* data
= new wxPyClientData(clientData
);
2828 self
->Insert(item
, pos
, data
);
2831 self
->Insert(item
, pos
);
2835 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2838 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2839 return SWIG_TypeError
;
2842 *val
= (unsigned long)v
;
2848 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2851 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2852 if (SWIG_IsOK(res
)) {
2853 if ((v
> UINT_MAX
)) {
2854 return SWIG_OverflowError
;
2856 if (val
) *val
= static_cast< unsigned int >(v
);
2862 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2863 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2865 self
->GetSelections(lst
);
2866 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2867 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2869 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2871 wxPyEndBlockThreads(blocked
);
2874 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetTextColour(c
);
2880 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2882 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2883 self
->GetItem(item
)->SetBackgroundColour(c
);
2886 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2888 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2889 self
->GetItem(item
)->SetFont(f
);
2892 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2893 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2894 self
->AppendText(text
);
2896 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2897 return self
->GetValue().Mid(from
, to
- from
);
2899 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2900 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2901 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2902 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2903 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2905 SWIGINTERNINLINE PyObject
*
2906 SWIG_From_unsigned_SS_long (unsigned long value
)
2908 return (value
> LONG_MAX
) ?
2909 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_size_t (size_t value
)
2916 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_unsigned_SS_int (unsigned int value
)
2923 return SWIG_From_unsigned_SS_long (value
);
2927 #include <wx/slider.h>
2930 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2931 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2933 #if !wxUSE_TOGGLEBTN
2934 // implement dummy items for platforms that don't have this class
2936 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2938 class wxToggleButton
: public wxControl
2941 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2942 const wxPoint
&, const wxSize
&, long,
2943 const wxValidator
&, const wxString
&)
2944 { wxPyRaiseNotImplemented(); }
2947 { wxPyRaiseNotImplemented(); }
2951 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2953 SWIGINTERNINLINE
int
2954 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2957 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2958 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2962 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2963 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2964 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2966 Py_INCREF(udata
->m_obj
);
2967 return udata
->m_obj
;
2973 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2974 self
->SetClientData(new wxPyUserData(clientData
));
2976 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
){
2977 wxPyUserData
* udata
= NULL
;
2978 if (clientData
&& clientData
!= Py_None
)
2979 udata
= new wxPyUserData(clientData
);
2980 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2981 shortHelp
, longHelp
, udata
);
2983 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2991 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2993 Py_INCREF(udata
->m_obj
);
2994 return udata
->m_obj
;
3000 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3001 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3004 #include <wx/listctrl.h>
3006 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3007 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3008 // Python aware sorting function for wxPyListCtrl
3009 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3011 PyObject
* func
= (PyObject
*)funcPtr
;
3012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3014 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3015 PyObject
* result
= PyEval_CallObject(func
, args
);
3018 retval
= PyInt_AsLong(result
);
3022 wxPyEndBlockThreads(blocked
);
3026 // C++ Version of a Python aware class
3027 class wxPyListCtrl
: public wxListCtrl
{
3028 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3030 wxPyListCtrl() : wxListCtrl() {}
3031 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3035 const wxValidator
& validator
,
3036 const wxString
& name
) :
3037 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3039 bool Create(wxWindow
* parent
, wxWindowID id
,
3043 const wxValidator
& validator
,
3044 const wxString
& name
) {
3045 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3048 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3049 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3051 // use the virtual version to avoid a confusing assert in the base class
3052 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3053 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3060 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3061 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3062 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3063 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3066 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3068 item
.SetMask( wxLIST_MASK_STATE
|
3076 if (self
->GetColumn(col
, item
))
3077 return new wxListItem(item
);
3081 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3082 wxListItem
* info
= new wxListItem
;
3083 info
->m_itemId
= itemId
;
3085 info
->m_mask
= 0xFFFF;
3086 self
->GetItem(*info
);
3089 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3091 self
->GetItemPosition(item
, pos
);
3094 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3096 self
->GetItemRect(item
, rect
, code
);
3099 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3100 if (!PyCallable_Check(func
))
3102 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3104 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3108 return (wxWindow
*)self
->m_mainWin
;
3112 #include <wx/treectrl.h>
3113 #include "wx/wxPython/pytree.h"
3115 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3116 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3117 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3118 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3119 // C++ version of Python aware wxTreeCtrl
3120 class wxPyTreeCtrl
: public wxTreeCtrl
{
3121 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3123 wxPyTreeCtrl() : wxTreeCtrl() {}
3124 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3128 const wxValidator
& validator
,
3129 const wxString
& name
) :
3130 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3132 bool Create(wxWindow
*parent
, wxWindowID id
,
3136 const wxValidator
& validator
,
3137 const wxString
& name
) {
3138 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3142 int OnCompareItems(const wxTreeItemId
& item1
,
3143 const wxTreeItemId
& item2
) {
3146 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3147 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3148 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3149 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3150 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3154 wxPyEndBlockThreads(blocked
);
3156 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3162 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3165 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3166 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3168 data
= new wxPyTreeItemData();
3169 data
->SetId(item
); // set the id
3170 self
->SetItemData(item
, data
);
3174 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3175 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3177 data
= new wxPyTreeItemData();
3178 data
->SetId(item
); // set the id
3179 self
->SetItemData(item
, data
);
3181 return data
->GetData();
3183 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3184 data
->SetId(item
); // set the id
3185 self
->SetItemData(item
, data
);
3187 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData(obj
);
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3196 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 PyObject
* rval
= PyList_New(0);
3199 wxArrayTreeItemIds array
;
3201 num
= self
->GetSelections(array
);
3202 for (x
=0; x
< num
; x
++) {
3203 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3204 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3205 PyList_Append(rval
, item
);
3208 wxPyEndBlockThreads(blocked
);
3211 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3213 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyObject
* tup
= PyTuple_New(2);
3216 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3217 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3222 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3224 PyObject
* tup
= PyTuple_New(2);
3225 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3226 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3227 wxPyEndBlockThreads(blocked
);
3230 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3232 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 wxRect
* r
= new wxRect(rect
);
3235 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3236 wxPyEndBlockThreads(blocked
);
3242 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3244 SWIGINTERNINLINE PyObject
*
3245 SWIG_From_bool (bool value
)
3247 return PyBool_FromLong(value
? 1 : 0);
3250 // C++ version of Python aware wxControl
3251 class wxPyControl
: public wxControl
3253 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3255 wxPyControl() : wxControl() {}
3256 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3257 const wxPoint
& pos
= wxDefaultPosition
,
3258 const wxSize
& size
= wxDefaultSize
,
3260 const wxValidator
& validator
=wxDefaultValidator
,
3261 const wxString
& name
= wxPyControlNameStr
)
3262 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3264 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3266 bool DoEraseBackground(wxDC
* dc
) {
3268 return wxWindow::DoEraseBackground(dc
->GetHDC());
3270 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3276 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3277 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3278 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3279 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3281 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3285 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3286 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3288 DEC_PYCALLBACK__(InitDialog
);
3289 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3290 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3291 DEC_PYCALLBACK_BOOL_(Validate
);
3293 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3294 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3295 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3297 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3298 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3300 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3301 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3303 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3305 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3310 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3312 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3313 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3314 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3315 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3317 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3321 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3322 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3324 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3325 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3326 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3327 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3329 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3330 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3333 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3337 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3341 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3345 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3347 #include <wx/generic/dragimgg.h>
3349 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3350 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3352 self
->GetRange(&rv
, NULL
);
3355 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3357 self
->GetRange(NULL
, &rv
);
3360 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3362 #include <wx/pickerbase.h>
3363 #include <wx/clrpicker.h>
3364 #include <wx/filepicker.h>
3365 #include <wx/fontpicker.h>
3367 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3368 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3369 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3370 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3371 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3372 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3373 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3377 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3378 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3383 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3384 PyObject
*pyobj
= 0;
3388 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3390 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3397 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
= 0;
3399 wxWindow
*arg1
= (wxWindow
*) 0 ;
3400 int arg2
= (int) -1 ;
3401 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3407 long arg6
= (long) 0 ;
3408 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3409 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3410 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3411 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3412 wxButton
*result
= 0 ;
3417 bool temp3
= false ;
3424 bool temp8
= false ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3428 PyObject
* obj3
= 0 ;
3429 PyObject
* obj4
= 0 ;
3430 PyObject
* obj5
= 0 ;
3431 PyObject
* obj6
= 0 ;
3432 PyObject
* obj7
= 0 ;
3433 char * kwnames
[] = {
3434 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3439 if (!SWIG_IsOK(res1
)) {
3440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3445 if (!SWIG_IsOK(ecode2
)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3448 arg2
= static_cast< int >(val2
);
3452 arg3
= wxString_in_helper(obj2
);
3453 if (arg3
== NULL
) SWIG_fail
;
3460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3470 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3471 if (!SWIG_IsOK(ecode6
)) {
3472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3474 arg6
= static_cast< long >(val6
);
3477 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3478 if (!SWIG_IsOK(res7
)) {
3479 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3484 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3488 arg8
= wxString_in_helper(obj7
);
3489 if (arg8
== NULL
) SWIG_fail
;
3494 if (!wxPyCheckForApp()) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3523 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3524 PyObject
*resultobj
= 0;
3525 wxButton
*result
= 0 ;
3527 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3529 if (!wxPyCheckForApp()) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (wxButton
*)new wxButton();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3542 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
= 0;
3544 wxButton
*arg1
= (wxButton
*) 0 ;
3545 wxWindow
*arg2
= (wxWindow
*) 0 ;
3546 int arg3
= (int) -1 ;
3547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3549 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3550 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3551 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3552 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3553 long arg7
= (long) 0 ;
3554 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3555 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3556 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3557 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3565 bool temp4
= false ;
3572 bool temp9
= false ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3575 PyObject
* obj2
= 0 ;
3576 PyObject
* obj3
= 0 ;
3577 PyObject
* obj4
= 0 ;
3578 PyObject
* obj5
= 0 ;
3579 PyObject
* obj6
= 0 ;
3580 PyObject
* obj7
= 0 ;
3581 PyObject
* obj8
= 0 ;
3582 char * kwnames
[] = {
3583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3588 if (!SWIG_IsOK(res1
)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3591 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3593 if (!SWIG_IsOK(res2
)) {
3594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3599 if (!SWIG_IsOK(ecode3
)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3602 arg3
= static_cast< int >(val3
);
3606 arg4
= wxString_in_helper(obj3
);
3607 if (arg4
== NULL
) SWIG_fail
;
3614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3624 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3625 if (!SWIG_IsOK(ecode7
)) {
3626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3628 arg7
= static_cast< long >(val7
);
3631 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3632 if (!SWIG_IsOK(res8
)) {
3633 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3638 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3642 arg9
= wxString_in_helper(obj8
);
3643 if (arg9
== NULL
) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3678 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3679 PyObject
*resultobj
= 0;
3680 wxButton
*arg1
= (wxButton
*) 0 ;
3683 PyObject
*swig_obj
[1] ;
3685 if (!args
) SWIG_fail
;
3687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3688 if (!SWIG_IsOK(res1
)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3691 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetDefault();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 resultobj
= SWIG_Py_Void();
3705 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3706 PyObject
*resultobj
= 0;
3709 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 result
= wxButton::GetDefaultSize();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3723 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
= 0;
3725 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3726 SwigValueWrapper
<wxVisualAttributes
> result
;
3729 PyObject
* obj0
= 0 ;
3730 char * kwnames
[] = {
3731 (char *) "variant", NULL
3734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3737 if (!SWIG_IsOK(ecode1
)) {
3738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3740 arg1
= static_cast< wxWindowVariant
>(val1
);
3743 if (!wxPyCheckForApp()) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= wxButton::GetClassDefaultAttributes(arg1
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3756 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3759 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3760 return SWIG_Py_Void();
3763 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3764 return SWIG_Python_InitShadowInstance(args
);
3767 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
= 0;
3769 wxWindow
*arg1
= (wxWindow
*) 0 ;
3770 int arg2
= (int) -1 ;
3771 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3772 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3777 long arg6
= (long) wxBU_AUTODRAW
;
3778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3780 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3782 wxBitmapButton
*result
= 0 ;
3795 bool temp8
= false ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3798 PyObject
* obj2
= 0 ;
3799 PyObject
* obj3
= 0 ;
3800 PyObject
* obj4
= 0 ;
3801 PyObject
* obj5
= 0 ;
3802 PyObject
* obj6
= 0 ;
3803 PyObject
* obj7
= 0 ;
3804 char * kwnames
[] = {
3805 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3810 if (!SWIG_IsOK(res1
)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3816 if (!SWIG_IsOK(ecode2
)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3819 arg2
= static_cast< int >(val2
);
3822 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3823 if (!SWIG_IsOK(res3
)) {
3824 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3829 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3844 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3845 if (!SWIG_IsOK(ecode6
)) {
3846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3848 arg6
= static_cast< long >(val6
);
3851 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3852 if (!SWIG_IsOK(res7
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3858 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3862 arg8
= wxString_in_helper(obj7
);
3863 if (arg8
== NULL
) SWIG_fail
;
3868 if (!wxPyCheckForApp()) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3889 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3890 PyObject
*resultobj
= 0;
3891 wxBitmapButton
*result
= 0 ;
3893 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3895 if (!wxPyCheckForApp()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (wxBitmapButton
*)new wxBitmapButton();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3908 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
= 0;
3910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3911 wxWindow
*arg2
= (wxWindow
*) 0 ;
3912 int arg3
= (int) -1 ;
3913 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3914 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3919 long arg7
= (long) wxBU_AUTODRAW
;
3920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3922 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3939 bool temp9
= false ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3942 PyObject
* obj2
= 0 ;
3943 PyObject
* obj3
= 0 ;
3944 PyObject
* obj4
= 0 ;
3945 PyObject
* obj5
= 0 ;
3946 PyObject
* obj6
= 0 ;
3947 PyObject
* obj7
= 0 ;
3948 PyObject
* obj8
= 0 ;
3949 char * kwnames
[] = {
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3958 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3960 if (!SWIG_IsOK(res2
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3966 if (!SWIG_IsOK(ecode3
)) {
3967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3969 arg3
= static_cast< int >(val3
);
3972 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3973 if (!SWIG_IsOK(res4
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3979 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3984 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3990 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3994 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3995 if (!SWIG_IsOK(ecode7
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3998 arg7
= static_cast< long >(val7
);
4001 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4002 if (!SWIG_IsOK(res8
)) {
4003 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4008 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4012 arg9
= wxString_in_helper(obj8
);
4013 if (arg9
== NULL
) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4040 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4046 PyObject
*swig_obj
[1] ;
4048 if (!args
) SWIG_fail
;
4050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4051 if (!SWIG_IsOK(res1
)) {
4052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4054 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (arg1
)->GetBitmapLabel();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4068 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4082 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (arg1
)->GetBitmapDisabled();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4096 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4097 PyObject
*resultobj
= 0;
4098 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4102 PyObject
*swig_obj
[1] ;
4104 if (!args
) SWIG_fail
;
4106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4107 if (!SWIG_IsOK(res1
)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= (arg1
)->GetBitmapFocus();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4130 PyObject
*swig_obj
[1] ;
4132 if (!args
) SWIG_fail
;
4134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4135 if (!SWIG_IsOK(res1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (arg1
)->GetBitmapSelected();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4152 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4153 PyObject
*resultobj
= 0;
4154 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4158 PyObject
*swig_obj
[1] ;
4160 if (!args
) SWIG_fail
;
4162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4163 if (!SWIG_IsOK(res1
)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (arg1
)->GetBitmapHover();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4180 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
= 0;
4182 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4183 wxBitmap
*arg2
= 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4190 char * kwnames
[] = {
4191 (char *) "self",(char *) "bitmap", NULL
4194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4196 if (!SWIG_IsOK(res1
)) {
4197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4199 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4201 if (!SWIG_IsOK(res2
)) {
4202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4207 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_Py_Void();
4221 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
= 0;
4223 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4224 wxBitmap
*arg2
= 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 char * kwnames
[] = {
4232 (char *) "self",(char *) "bitmap", NULL
4235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4237 if (!SWIG_IsOK(res1
)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4240 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4242 if (!SWIG_IsOK(res2
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4248 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4262 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= 0;
4264 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4265 wxBitmap
*arg2
= 0 ;
4270 PyObject
* obj0
= 0 ;
4271 PyObject
* obj1
= 0 ;
4272 char * kwnames
[] = {
4273 (char *) "self",(char *) "bitmap", NULL
4276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4278 if (!SWIG_IsOK(res1
)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4281 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4283 if (!SWIG_IsOK(res2
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_Py_Void();
4303 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
= 0;
4305 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4306 wxBitmap
*arg2
= 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 char * kwnames
[] = {
4314 (char *) "self",(char *) "bitmap", NULL
4317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4322 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4324 if (!SWIG_IsOK(res2
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4330 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4344 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4347 wxBitmap
*arg2
= 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "self",(char *) "hover", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4363 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4365 if (!SWIG_IsOK(res2
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4371 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= SWIG_Py_Void();
4385 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
= 0;
4387 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 PyObject
* obj2
= 0 ;
4399 char * kwnames
[] = {
4400 (char *) "self",(char *) "x",(char *) "y", NULL
4403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4405 if (!SWIG_IsOK(res1
)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4408 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4410 if (!SWIG_IsOK(ecode2
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4413 arg2
= static_cast< int >(val2
);
4414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4415 if (!SWIG_IsOK(ecode3
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4418 arg3
= static_cast< int >(val3
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 (arg1
)->SetMargins(arg2
,arg3
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_Py_Void();
4432 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4433 PyObject
*resultobj
= 0;
4434 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4438 PyObject
*swig_obj
[1] ;
4440 if (!args
) SWIG_fail
;
4442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4443 if (!SWIG_IsOK(res1
)) {
4444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4446 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_From_int(static_cast< int >(result
));
4460 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4461 PyObject
*resultobj
= 0;
4462 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4466 PyObject
*swig_obj
[1] ;
4468 if (!args
) SWIG_fail
;
4470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4471 if (!SWIG_IsOK(res1
)) {
4472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4474 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_From_int(static_cast< int >(result
));
4488 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4491 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4492 return SWIG_Py_Void();
4495 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4496 return SWIG_Python_InitShadowInstance(args
);
4499 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4500 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4505 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4506 PyObject
*pyobj
= 0;
4510 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4512 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4519 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
= 0;
4521 wxWindow
*arg1
= (wxWindow
*) 0 ;
4522 int arg2
= (int) -1 ;
4523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4529 long arg6
= (long) 0 ;
4530 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4531 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4532 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4534 wxCheckBox
*result
= 0 ;
4539 bool temp3
= false ;
4546 bool temp8
= false ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 PyObject
* obj2
= 0 ;
4550 PyObject
* obj3
= 0 ;
4551 PyObject
* obj4
= 0 ;
4552 PyObject
* obj5
= 0 ;
4553 PyObject
* obj6
= 0 ;
4554 PyObject
* obj7
= 0 ;
4555 char * kwnames
[] = {
4556 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4561 if (!SWIG_IsOK(res1
)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4567 if (!SWIG_IsOK(ecode2
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4570 arg2
= static_cast< int >(val2
);
4574 arg3
= wxString_in_helper(obj2
);
4575 if (arg3
== NULL
) SWIG_fail
;
4582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4592 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4593 if (!SWIG_IsOK(ecode6
)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4596 arg6
= static_cast< long >(val6
);
4599 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4600 if (!SWIG_IsOK(res7
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4606 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4610 arg8
= wxString_in_helper(obj7
);
4611 if (arg8
== NULL
) SWIG_fail
;
4616 if (!wxPyCheckForApp()) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4645 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4646 PyObject
*resultobj
= 0;
4647 wxCheckBox
*result
= 0 ;
4649 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4651 if (!wxPyCheckForApp()) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxCheckBox
*)new wxCheckBox();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4664 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4667 wxWindow
*arg2
= (wxWindow
*) 0 ;
4668 int arg3
= (int) -1 ;
4669 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4670 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4675 long arg7
= (long) 0 ;
4676 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4677 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4678 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4687 bool temp4
= false ;
4694 bool temp9
= false ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 PyObject
* obj2
= 0 ;
4698 PyObject
* obj3
= 0 ;
4699 PyObject
* obj4
= 0 ;
4700 PyObject
* obj5
= 0 ;
4701 PyObject
* obj6
= 0 ;
4702 PyObject
* obj7
= 0 ;
4703 PyObject
* obj8
= 0 ;
4704 char * kwnames
[] = {
4705 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4710 if (!SWIG_IsOK(res1
)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4713 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4715 if (!SWIG_IsOK(res2
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4721 if (!SWIG_IsOK(ecode3
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4724 arg3
= static_cast< int >(val3
);
4728 arg4
= wxString_in_helper(obj3
);
4729 if (arg4
== NULL
) SWIG_fail
;
4736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4742 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4746 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4747 if (!SWIG_IsOK(ecode7
)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4750 arg7
= static_cast< long >(val7
);
4753 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4754 if (!SWIG_IsOK(res8
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4760 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4764 arg9
= wxString_in_helper(obj8
);
4765 if (arg9
== NULL
) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->GetValue();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4831 PyObject
*resultobj
= 0;
4832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4836 PyObject
*swig_obj
[1] ;
4838 if (!args
) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4844 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)(arg1
)->IsChecked();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4860 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
= 0;
4862 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 char * kwnames
[] = {
4871 (char *) "self",(char *) "state", NULL
4874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4879 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4881 if (!SWIG_IsOK(ecode2
)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4884 arg2
= static_cast< bool >(val2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->SetValue(arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_Py_Void();
4898 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4899 PyObject
*resultobj
= 0;
4900 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4901 wxCheckBoxState result
;
4904 PyObject
*swig_obj
[1] ;
4906 if (!args
) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4912 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_From_int(static_cast< int >(result
));
4926 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
= 0;
4928 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4929 wxCheckBoxState arg2
;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4936 char * kwnames
[] = {
4937 (char *) "self",(char *) "state", NULL
4940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4942 if (!SWIG_IsOK(res1
)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4945 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4947 if (!SWIG_IsOK(ecode2
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4950 arg2
= static_cast< wxCheckBoxState
>(val2
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->Set3StateValue(arg2
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_Py_Void();
4964 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4966 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4970 PyObject
*swig_obj
[1] ;
4972 if (!args
) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4994 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5008 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5024 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
= 0;
5026 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5027 SwigValueWrapper
<wxVisualAttributes
> result
;
5030 PyObject
* obj0
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "variant", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5038 if (!SWIG_IsOK(ecode1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5041 arg1
= static_cast< wxWindowVariant
>(val1
);
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5057 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5060 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5061 return SWIG_Py_Void();
5064 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5065 return SWIG_Python_InitShadowInstance(args
);
5068 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5069 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5074 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5075 PyObject
*pyobj
= 0;
5079 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5081 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5088 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
= 0;
5090 wxWindow
*arg1
= (wxWindow
*) 0 ;
5091 int arg2
= (int) -1 ;
5092 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5093 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5094 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5095 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5096 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5097 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5098 long arg6
= (long) 0 ;
5099 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5100 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5101 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5102 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5103 wxChoice
*result
= 0 ;
5110 bool temp5
= false ;
5115 bool temp8
= false ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 PyObject
* obj2
= 0 ;
5119 PyObject
* obj3
= 0 ;
5120 PyObject
* obj4
= 0 ;
5121 PyObject
* obj5
= 0 ;
5122 PyObject
* obj6
= 0 ;
5123 PyObject
* obj7
= 0 ;
5124 char * kwnames
[] = {
5125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5136 if (!SWIG_IsOK(ecode2
)) {
5137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5139 arg2
= static_cast< int >(val2
);
5144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5155 if (! PySequence_Check(obj4
)) {
5156 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5159 arg5
= new wxArrayString
;
5161 int i
, len
=PySequence_Length(obj4
);
5162 for (i
=0; i
<len
; i
++) {
5163 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5164 wxString
* s
= wxString_in_helper(item
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5173 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5174 if (!SWIG_IsOK(ecode6
)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5177 arg6
= static_cast< long >(val6
);
5180 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5181 if (!SWIG_IsOK(res7
)) {
5182 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5187 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5191 arg8
= wxString_in_helper(obj7
);
5192 if (arg8
== NULL
) SWIG_fail
;
5197 if (!wxPyCheckForApp()) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5205 if (temp5
) delete arg5
;
5214 if (temp5
) delete arg5
;
5224 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 PyObject
*resultobj
= 0;
5226 wxChoice
*result
= 0 ;
5228 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5230 if (!wxPyCheckForApp()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (wxChoice
*)new wxChoice();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5243 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
= 0;
5245 wxChoice
*arg1
= (wxChoice
*) 0 ;
5246 wxWindow
*arg2
= (wxWindow
*) 0 ;
5247 int arg3
= (int) -1 ;
5248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5252 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5253 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5254 long arg7
= (long) 0 ;
5255 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5256 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5257 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5258 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5268 bool temp6
= false ;
5273 bool temp9
= false ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5276 PyObject
* obj2
= 0 ;
5277 PyObject
* obj3
= 0 ;
5278 PyObject
* obj4
= 0 ;
5279 PyObject
* obj5
= 0 ;
5280 PyObject
* obj6
= 0 ;
5281 PyObject
* obj7
= 0 ;
5282 PyObject
* obj8
= 0 ;
5283 char * kwnames
[] = {
5284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5289 if (!SWIG_IsOK(res1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5292 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5294 if (!SWIG_IsOK(res2
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5300 if (!SWIG_IsOK(ecode3
)) {
5301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5303 arg3
= static_cast< int >(val3
);
5308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5319 if (! PySequence_Check(obj5
)) {
5320 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5323 arg6
= new wxArrayString
;
5325 int i
, len
=PySequence_Length(obj5
);
5326 for (i
=0; i
<len
; i
++) {
5327 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5328 wxString
* s
= wxString_in_helper(item
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5337 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5338 if (!SWIG_IsOK(ecode7
)) {
5339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5341 arg7
= static_cast< long >(val7
);
5344 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5345 if (!SWIG_IsOK(res8
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5351 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5355 arg9
= wxString_in_helper(obj8
);
5356 if (arg9
== NULL
) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5370 if (temp6
) delete arg6
;
5379 if (temp6
) delete arg6
;
5389 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 PyObject
*resultobj
= 0;
5391 wxChoice
*arg1
= (wxChoice
*) 0 ;
5395 PyObject
*swig_obj
[1] ;
5397 if (!args
) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5403 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_From_int(static_cast< int >(result
));
5417 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5420 SwigValueWrapper
<wxVisualAttributes
> result
;
5423 PyObject
* obj0
= 0 ;
5424 char * kwnames
[] = {
5425 (char *) "variant", NULL
5428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5431 if (!SWIG_IsOK(ecode1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5434 arg1
= static_cast< wxWindowVariant
>(val1
);
5437 if (!wxPyCheckForApp()) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5450 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5453 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5454 return SWIG_Py_Void();
5457 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5458 return SWIG_Python_InitShadowInstance(args
);
5461 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5462 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5467 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5468 PyObject
*pyobj
= 0;
5472 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5474 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5481 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
= 0;
5483 wxWindow
*arg1
= (wxWindow
*) 0 ;
5484 int arg2
= (int) -1 ;
5485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5491 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5492 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5493 long arg7
= (long) 0 ;
5494 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5495 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5496 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5497 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5498 wxComboBox
*result
= 0 ;
5503 bool temp3
= false ;
5506 bool temp6
= false ;
5511 bool temp9
= false ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5514 PyObject
* obj2
= 0 ;
5515 PyObject
* obj3
= 0 ;
5516 PyObject
* obj4
= 0 ;
5517 PyObject
* obj5
= 0 ;
5518 PyObject
* obj6
= 0 ;
5519 PyObject
* obj7
= 0 ;
5520 PyObject
* obj8
= 0 ;
5521 char * kwnames
[] = {
5522 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5533 if (!SWIG_IsOK(ecode2
)) {
5534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5536 arg2
= static_cast< int >(val2
);
5540 arg3
= wxString_in_helper(obj2
);
5541 if (arg3
== NULL
) SWIG_fail
;
5548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5554 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5559 if (! PySequence_Check(obj5
)) {
5560 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5563 arg6
= new wxArrayString
;
5565 int i
, len
=PySequence_Length(obj5
);
5566 for (i
=0; i
<len
; i
++) {
5567 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5568 wxString
* s
= wxString_in_helper(item
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5577 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5578 if (!SWIG_IsOK(ecode7
)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5581 arg7
= static_cast< long >(val7
);
5584 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5585 if (!SWIG_IsOK(res8
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5591 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5595 arg9
= wxString_in_helper(obj8
);
5596 if (arg9
== NULL
) SWIG_fail
;
5601 if (!wxPyCheckForApp()) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 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
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5613 if (temp6
) delete arg6
;
5626 if (temp6
) delete arg6
;
5636 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5637 PyObject
*resultobj
= 0;
5638 wxComboBox
*result
= 0 ;
5640 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5642 if (!wxPyCheckForApp()) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (wxComboBox
*)new wxComboBox();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5655 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
= 0;
5657 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5658 wxWindow
*arg2
= (wxWindow
*) 0 ;
5659 int arg3
= (int) -1 ;
5660 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5661 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5662 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5663 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5664 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5665 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5666 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5667 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5668 long arg8
= (long) 0 ;
5669 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5670 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5671 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5672 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5680 bool temp4
= false ;
5683 bool temp7
= false ;
5688 bool temp10
= false ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5692 PyObject
* obj3
= 0 ;
5693 PyObject
* obj4
= 0 ;
5694 PyObject
* obj5
= 0 ;
5695 PyObject
* obj6
= 0 ;
5696 PyObject
* obj7
= 0 ;
5697 PyObject
* obj8
= 0 ;
5698 PyObject
* obj9
= 0 ;
5699 char * kwnames
[] = {
5700 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5705 if (!SWIG_IsOK(res1
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5708 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5710 if (!SWIG_IsOK(res2
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5716 if (!SWIG_IsOK(ecode3
)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5719 arg3
= static_cast< int >(val3
);
5723 arg4
= wxString_in_helper(obj3
);
5724 if (arg4
== NULL
) SWIG_fail
;
5731 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5737 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5742 if (! PySequence_Check(obj6
)) {
5743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5746 arg7
= new wxArrayString
;
5748 int i
, len
=PySequence_Length(obj6
);
5749 for (i
=0; i
<len
; i
++) {
5750 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5751 wxString
* s
= wxString_in_helper(item
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5760 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5761 if (!SWIG_IsOK(ecode8
)) {
5762 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5764 arg8
= static_cast< long >(val8
);
5767 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5768 if (!SWIG_IsOK(res9
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5774 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5778 arg10
= wxString_in_helper(obj9
);
5779 if (arg10
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 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
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 if (temp7
) delete arg7
;
5810 if (temp7
) delete arg7
;
5820 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5821 PyObject
*resultobj
= 0;
5822 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5826 PyObject
*swig_obj
[1] ;
5828 if (!args
) SWIG_fail
;
5830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5831 if (!SWIG_IsOK(res1
)) {
5832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5834 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= ((wxComboBox
const *)arg1
)->GetValue();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5854 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
= 0;
5856 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5857 wxString
*arg2
= 0 ;
5860 bool temp2
= false ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5863 char * kwnames
[] = {
5864 (char *) "self",(char *) "value", NULL
5867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5869 if (!SWIG_IsOK(res1
)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5872 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5874 arg2
= wxString_in_helper(obj1
);
5875 if (arg2
== NULL
) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetValue((wxString
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= SWIG_Py_Void();
5899 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5900 PyObject
*resultobj
= 0;
5901 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_Py_Void();
5926 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5931 PyObject
*swig_obj
[1] ;
5933 if (!args
) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5954 PyObject
*resultobj
= 0;
5955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_Py_Void();
5980 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
= 0;
5982 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 char * kwnames
[] = {
5991 (char *) "self",(char *) "pos", NULL
5994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6001 if (!SWIG_IsOK(ecode2
)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6004 arg2
= static_cast< long >(val2
);
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 (arg1
)->SetInsertionPoint(arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_Py_Void();
6018 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6032 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_long(static_cast< long >(result
));
6046 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6047 PyObject
*resultobj
= 0;
6048 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6052 PyObject
*swig_obj
[1] ;
6054 if (!args
) SWIG_fail
;
6056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6057 if (!SWIG_IsOK(res1
)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6060 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_From_long(static_cast< long >(result
));
6074 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= 0;
6076 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6079 wxString
*arg4
= 0 ;
6086 bool temp4
= false ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6089 PyObject
* obj2
= 0 ;
6090 PyObject
* obj3
= 0 ;
6091 char * kwnames
[] = {
6092 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6097 if (!SWIG_IsOK(res1
)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6100 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6102 if (!SWIG_IsOK(ecode2
)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6105 arg2
= static_cast< long >(val2
);
6106 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6107 if (!SWIG_IsOK(ecode3
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6110 arg3
= static_cast< long >(val3
);
6112 arg4
= wxString_in_helper(obj3
);
6113 if (arg4
== NULL
) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_Py_Void();
6137 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= 0;
6139 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 PyObject
* obj2
= 0 ;
6151 char * kwnames
[] = {
6152 (char *) "self",(char *) "from",(char *) "to", NULL
6155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6161 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6162 if (!SWIG_IsOK(ecode2
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6165 arg2
= static_cast< long >(val2
);
6166 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6167 if (!SWIG_IsOK(ecode3
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6170 arg3
= static_cast< long >(val3
);
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->SetSelection(arg2
,arg3
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_Py_Void();
6184 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6185 PyObject
*resultobj
= 0;
6186 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6187 long *arg2
= (long *) 0 ;
6188 long *arg3
= (long *) 0 ;
6192 int res2
= SWIG_TMPOBJ
;
6194 int res3
= SWIG_TMPOBJ
;
6195 PyObject
*swig_obj
[1] ;
6199 if (!args
) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6205 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 (arg1
)->GetSelection(arg2
,arg3
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_Py_Void();
6213 if (SWIG_IsTmpObj(res2
)) {
6214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6216 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6219 if (SWIG_IsTmpObj(res3
)) {
6220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6222 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6231 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6232 PyObject
*resultobj
= 0;
6233 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6237 PyObject
*swig_obj
[1] ;
6239 if (!args
) SWIG_fail
;
6241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6242 if (!SWIG_IsOK(res1
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6245 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_From_int(static_cast< int >(result
));
6259 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
= 0;
6261 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6262 wxString
*arg2
= 0 ;
6266 bool temp2
= false ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "self",(char *) "string", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6278 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6280 arg2
= wxString_in_helper(obj1
);
6281 if (arg2
== NULL
) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6307 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
= 0;
6309 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6311 wxString
*arg3
= 0 ;
6316 bool temp3
= false ;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 PyObject
* obj2
= 0 ;
6320 char * kwnames
[] = {
6321 (char *) "self",(char *) "n",(char *) "string", NULL
6324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6326 if (!SWIG_IsOK(res1
)) {
6327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6329 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6331 if (!SWIG_IsOK(ecode2
)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6334 arg2
= static_cast< int >(val2
);
6336 arg3
= wxString_in_helper(obj2
);
6337 if (arg3
== NULL
) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6361 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
= 0;
6363 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6371 char * kwnames
[] = {
6372 (char *) "self",(char *) "editable", NULL
6375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6377 if (!SWIG_IsOK(res1
)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6380 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6382 if (!SWIG_IsOK(ecode2
)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6385 arg2
= static_cast< bool >(val2
);
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 (arg1
)->SetEditable(arg2
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_Py_Void();
6399 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6400 PyObject
*resultobj
= 0;
6401 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6404 PyObject
*swig_obj
[1] ;
6406 if (!args
) SWIG_fail
;
6408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6409 if (!SWIG_IsOK(res1
)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6412 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->SetInsertionPointEnd();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_Py_Void();
6426 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
= 0;
6428 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6439 PyObject
* obj2
= 0 ;
6440 char * kwnames
[] = {
6441 (char *) "self",(char *) "from",(char *) "to", NULL
6444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6449 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6450 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6451 if (!SWIG_IsOK(ecode2
)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6454 arg2
= static_cast< long >(val2
);
6455 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6456 if (!SWIG_IsOK(ecode3
)) {
6457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6459 arg3
= static_cast< long >(val3
);
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 (arg1
)->Remove(arg2
,arg3
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_Py_Void();
6473 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6474 PyObject
*resultobj
= 0;
6475 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6479 PyObject
*swig_obj
[1] ;
6481 if (!args
) SWIG_fail
;
6483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6484 if (!SWIG_IsOK(res1
)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6487 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6503 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6504 PyObject
*resultobj
= 0;
6505 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6508 PyObject
*swig_obj
[1] ;
6510 if (!args
) SWIG_fail
;
6512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6513 if (!SWIG_IsOK(res1
)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6516 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_Py_Void();
6530 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6531 PyObject
*resultobj
= 0;
6532 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6535 PyObject
*swig_obj
[1] ;
6537 if (!args
) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6543 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_Py_Void();
6557 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6558 PyObject
*resultobj
= 0;
6559 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6570 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SelectAll();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_Py_Void();
6584 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6585 PyObject
*resultobj
= 0;
6586 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6590 PyObject
*swig_obj
[1] ;
6592 if (!args
) SWIG_fail
;
6594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6595 if (!SWIG_IsOK(res1
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6614 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6615 PyObject
*resultobj
= 0;
6616 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6620 PyObject
*swig_obj
[1] ;
6622 if (!args
) SWIG_fail
;
6624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6625 if (!SWIG_IsOK(res1
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6644 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6674 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6675 PyObject
*resultobj
= 0;
6676 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6680 PyObject
*swig_obj
[1] ;
6682 if (!args
) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6704 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6705 PyObject
*resultobj
= 0;
6706 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6710 PyObject
*swig_obj
[1] ;
6712 if (!args
) SWIG_fail
;
6714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6715 if (!SWIG_IsOK(res1
)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6718 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6734 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
= 0;
6736 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6737 SwigValueWrapper
<wxVisualAttributes
> result
;
6740 PyObject
* obj0
= 0 ;
6741 char * kwnames
[] = {
6742 (char *) "variant", NULL
6745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6748 if (!SWIG_IsOK(ecode1
)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6751 arg1
= static_cast< wxWindowVariant
>(val1
);
6754 if (!wxPyCheckForApp()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6767 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6770 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6771 return SWIG_Py_Void();
6774 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6775 return SWIG_Python_InitShadowInstance(args
);
6778 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6779 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6784 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6785 PyObject
*pyobj
= 0;
6789 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6791 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6798 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
= 0;
6800 wxWindow
*arg1
= (wxWindow
*) 0 ;
6801 int arg2
= (int) -1 ;
6802 int arg3
= (int) 100 ;
6803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6807 long arg6
= (long) wxGA_HORIZONTAL
;
6808 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6809 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6810 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6811 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6812 wxGauge
*result
= 0 ;
6825 bool temp8
= false ;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6828 PyObject
* obj2
= 0 ;
6829 PyObject
* obj3
= 0 ;
6830 PyObject
* obj4
= 0 ;
6831 PyObject
* obj5
= 0 ;
6832 PyObject
* obj6
= 0 ;
6833 PyObject
* obj7
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6843 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6846 if (!SWIG_IsOK(ecode2
)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6849 arg2
= static_cast< int >(val2
);
6852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6853 if (!SWIG_IsOK(ecode3
)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6856 arg3
= static_cast< int >(val3
);
6861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6871 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6872 if (!SWIG_IsOK(ecode6
)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6875 arg6
= static_cast< long >(val6
);
6878 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6879 if (!SWIG_IsOK(res7
)) {
6880 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6885 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6889 arg8
= wxString_in_helper(obj7
);
6890 if (arg8
== NULL
) SWIG_fail
;
6895 if (!wxPyCheckForApp()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6916 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6917 PyObject
*resultobj
= 0;
6918 wxGauge
*result
= 0 ;
6920 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6922 if (!wxPyCheckForApp()) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (wxGauge
*)new wxGauge();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6935 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
= 0;
6937 wxGauge
*arg1
= (wxGauge
*) 0 ;
6938 wxWindow
*arg2
= (wxWindow
*) 0 ;
6939 int arg3
= (int) -1 ;
6940 int arg4
= (int) 100 ;
6941 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6942 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6943 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6944 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6945 long arg7
= (long) wxGA_HORIZONTAL
;
6946 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6947 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6948 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6949 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6965 bool temp9
= false ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6968 PyObject
* obj2
= 0 ;
6969 PyObject
* obj3
= 0 ;
6970 PyObject
* obj4
= 0 ;
6971 PyObject
* obj5
= 0 ;
6972 PyObject
* obj6
= 0 ;
6973 PyObject
* obj7
= 0 ;
6974 PyObject
* obj8
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6984 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6986 if (!SWIG_IsOK(res2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6989 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6992 if (!SWIG_IsOK(ecode3
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6995 arg3
= static_cast< int >(val3
);
6998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6999 if (!SWIG_IsOK(ecode4
)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7002 arg4
= static_cast< int >(val4
);
7007 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7013 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7017 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7018 if (!SWIG_IsOK(ecode7
)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7021 arg7
= static_cast< long >(val7
);
7024 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7025 if (!SWIG_IsOK(res8
)) {
7026 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7031 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7035 arg9
= wxString_in_helper(obj8
);
7036 if (arg9
== NULL
) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7063 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
= 0;
7065 wxGauge
*arg1
= (wxGauge
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "self",(char *) "range", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7082 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7084 if (!SWIG_IsOK(ecode2
)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7087 arg2
= static_cast< int >(val2
);
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 (arg1
)->SetRange(arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_Py_Void();
7101 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7102 PyObject
*resultobj
= 0;
7103 wxGauge
*arg1
= (wxGauge
*) 0 ;
7107 PyObject
*swig_obj
[1] ;
7109 if (!args
) SWIG_fail
;
7111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7112 if (!SWIG_IsOK(res1
)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7115 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= SWIG_From_int(static_cast< int >(result
));
7129 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
= 0;
7131 wxGauge
*arg1
= (wxGauge
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7139 char * kwnames
[] = {
7140 (char *) "self",(char *) "pos", NULL
7143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7148 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7150 if (!SWIG_IsOK(ecode2
)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7153 arg2
= static_cast< int >(val2
);
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 (arg1
)->SetValue(arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_Py_Void();
7167 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7168 PyObject
*resultobj
= 0;
7169 wxGauge
*arg1
= (wxGauge
*) 0 ;
7173 PyObject
*swig_obj
[1] ;
7175 if (!args
) SWIG_fail
;
7177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7178 if (!SWIG_IsOK(res1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7181 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_From_int(static_cast< int >(result
));
7195 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7196 PyObject
*resultobj
= 0;
7197 wxGauge
*arg1
= (wxGauge
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7209 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7225 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
= 0;
7227 wxGauge
*arg1
= (wxGauge
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "self",(char *) "w", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7244 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7246 if (!SWIG_IsOK(ecode2
)) {
7247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7249 arg2
= static_cast< int >(val2
);
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 (arg1
)->SetShadowWidth(arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_Py_Void();
7263 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7264 PyObject
*resultobj
= 0;
7265 wxGauge
*arg1
= (wxGauge
*) 0 ;
7269 PyObject
*swig_obj
[1] ;
7271 if (!args
) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7277 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_From_int(static_cast< int >(result
));
7291 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
= 0;
7293 wxGauge
*arg1
= (wxGauge
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7301 char * kwnames
[] = {
7302 (char *) "self",(char *) "w", NULL
7305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7307 if (!SWIG_IsOK(res1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7310 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7312 if (!SWIG_IsOK(ecode2
)) {
7313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7315 arg2
= static_cast< int >(val2
);
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 (arg1
)->SetBezelFace(arg2
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_Py_Void();
7329 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7330 PyObject
*resultobj
= 0;
7331 wxGauge
*arg1
= (wxGauge
*) 0 ;
7335 PyObject
*swig_obj
[1] ;
7337 if (!args
) SWIG_fail
;
7339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7340 if (!SWIG_IsOK(res1
)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7343 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_From_int(static_cast< int >(result
));
7357 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
= 0;
7359 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7360 SwigValueWrapper
<wxVisualAttributes
> result
;
7363 PyObject
* obj0
= 0 ;
7364 char * kwnames
[] = {
7365 (char *) "variant", NULL
7368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7371 if (!SWIG_IsOK(ecode1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7374 arg1
= static_cast< wxWindowVariant
>(val1
);
7377 if (!wxPyCheckForApp()) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7390 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7393 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7394 return SWIG_Py_Void();
7397 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7398 return SWIG_Python_InitShadowInstance(args
);
7401 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7402 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7407 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7408 PyObject
*pyobj
= 0;
7412 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7414 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7421 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7422 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7427 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7428 PyObject
*pyobj
= 0;
7432 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7434 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7441 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7442 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7447 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7448 PyObject
*pyobj
= 0;
7452 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7454 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7461 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
= 0;
7463 wxWindow
*arg1
= (wxWindow
*) 0 ;
7464 int arg2
= (int) -1 ;
7465 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7466 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7467 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7468 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7469 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7470 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7471 long arg6
= (long) 0 ;
7472 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7473 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7474 wxStaticBox
*result
= 0 ;
7479 bool temp3
= false ;
7484 bool temp7
= false ;
7485 PyObject
* obj0
= 0 ;
7486 PyObject
* obj1
= 0 ;
7487 PyObject
* obj2
= 0 ;
7488 PyObject
* obj3
= 0 ;
7489 PyObject
* obj4
= 0 ;
7490 PyObject
* obj5
= 0 ;
7491 PyObject
* obj6
= 0 ;
7492 char * kwnames
[] = {
7493 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7498 if (!SWIG_IsOK(res1
)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7501 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7504 if (!SWIG_IsOK(ecode2
)) {
7505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7507 arg2
= static_cast< int >(val2
);
7511 arg3
= wxString_in_helper(obj2
);
7512 if (arg3
== NULL
) SWIG_fail
;
7519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7529 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7530 if (!SWIG_IsOK(ecode6
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7533 arg6
= static_cast< long >(val6
);
7537 arg7
= wxString_in_helper(obj6
);
7538 if (arg7
== NULL
) SWIG_fail
;
7543 if (!wxPyCheckForApp()) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7572 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7573 PyObject
*resultobj
= 0;
7574 wxStaticBox
*result
= 0 ;
7576 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7578 if (!wxPyCheckForApp()) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (wxStaticBox
*)new wxStaticBox();
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7591 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
= 0;
7593 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7594 wxWindow
*arg2
= (wxWindow
*) 0 ;
7595 int arg3
= (int) -1 ;
7596 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7598 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7599 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7600 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7601 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7602 long arg7
= (long) 0 ;
7603 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7604 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7612 bool temp4
= false ;
7617 bool temp8
= false ;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7620 PyObject
* obj2
= 0 ;
7621 PyObject
* obj3
= 0 ;
7622 PyObject
* obj4
= 0 ;
7623 PyObject
* obj5
= 0 ;
7624 PyObject
* obj6
= 0 ;
7625 PyObject
* obj7
= 0 ;
7626 char * kwnames
[] = {
7627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7632 if (!SWIG_IsOK(res1
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7635 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7637 if (!SWIG_IsOK(res2
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7643 if (!SWIG_IsOK(ecode3
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7646 arg3
= static_cast< int >(val3
);
7650 arg4
= wxString_in_helper(obj3
);
7651 if (arg4
== NULL
) SWIG_fail
;
7658 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7664 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7668 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7669 if (!SWIG_IsOK(ecode7
)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7672 arg7
= static_cast< long >(val7
);
7676 arg8
= wxString_in_helper(obj7
);
7677 if (arg8
== NULL
) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7712 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
= 0;
7714 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7715 SwigValueWrapper
<wxVisualAttributes
> result
;
7718 PyObject
* obj0
= 0 ;
7719 char * kwnames
[] = {
7720 (char *) "variant", NULL
7723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7726 if (!SWIG_IsOK(ecode1
)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7729 arg1
= static_cast< wxWindowVariant
>(val1
);
7732 if (!wxPyCheckForApp()) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7745 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7748 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7749 return SWIG_Py_Void();
7752 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7753 return SWIG_Python_InitShadowInstance(args
);
7756 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxWindow
*arg1
= (wxWindow
*) 0 ;
7759 int arg2
= (int) -1 ;
7760 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7761 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7762 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7763 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7764 long arg5
= (long) wxLI_HORIZONTAL
;
7765 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7766 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7767 wxStaticLine
*result
= 0 ;
7776 bool temp6
= false ;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7779 PyObject
* obj2
= 0 ;
7780 PyObject
* obj3
= 0 ;
7781 PyObject
* obj4
= 0 ;
7782 PyObject
* obj5
= 0 ;
7783 char * kwnames
[] = {
7784 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7792 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7795 if (!SWIG_IsOK(ecode2
)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7798 arg2
= static_cast< int >(val2
);
7803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7813 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7814 if (!SWIG_IsOK(ecode5
)) {
7815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7817 arg5
= static_cast< long >(val5
);
7821 arg6
= wxString_in_helper(obj5
);
7822 if (arg6
== NULL
) SWIG_fail
;
7827 if (!wxPyCheckForApp()) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7848 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7849 PyObject
*resultobj
= 0;
7850 wxStaticLine
*result
= 0 ;
7852 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7854 if (!wxPyCheckForApp()) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (wxStaticLine
*)new wxStaticLine();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7867 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
= 0;
7869 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7870 wxWindow
*arg2
= (wxWindow
*) 0 ;
7871 int arg3
= (int) -1 ;
7872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7876 long arg6
= (long) wxLI_HORIZONTAL
;
7877 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7878 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7890 bool temp7
= false ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7893 PyObject
* obj2
= 0 ;
7894 PyObject
* obj3
= 0 ;
7895 PyObject
* obj4
= 0 ;
7896 PyObject
* obj5
= 0 ;
7897 PyObject
* obj6
= 0 ;
7898 char * kwnames
[] = {
7899 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7904 if (!SWIG_IsOK(res1
)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7907 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7909 if (!SWIG_IsOK(res2
)) {
7910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7912 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7915 if (!SWIG_IsOK(ecode3
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7918 arg3
= static_cast< int >(val3
);
7923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7933 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7934 if (!SWIG_IsOK(ecode6
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7937 arg6
= static_cast< long >(val6
);
7941 arg7
= wxString_in_helper(obj6
);
7942 if (arg7
== NULL
) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7969 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7970 PyObject
*resultobj
= 0;
7971 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7975 PyObject
*swig_obj
[1] ;
7977 if (!args
) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7983 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7999 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8000 PyObject
*resultobj
= 0;
8003 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (int)wxStaticLine::GetDefaultSize();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 resultobj
= SWIG_From_int(static_cast< int >(result
));
8017 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
= 0;
8019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8020 SwigValueWrapper
<wxVisualAttributes
> result
;
8023 PyObject
* obj0
= 0 ;
8024 char * kwnames
[] = {
8025 (char *) "variant", NULL
8028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8031 if (!SWIG_IsOK(ecode1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8034 arg1
= static_cast< wxWindowVariant
>(val1
);
8037 if (!wxPyCheckForApp()) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8050 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8053 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8054 return SWIG_Py_Void();
8057 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 return SWIG_Python_InitShadowInstance(args
);
8061 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
= 0;
8063 wxWindow
*arg1
= (wxWindow
*) 0 ;
8064 int arg2
= (int) -1 ;
8065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8071 long arg6
= (long) 0 ;
8072 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8074 wxStaticText
*result
= 0 ;
8079 bool temp3
= false ;
8084 bool temp7
= false ;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8087 PyObject
* obj2
= 0 ;
8088 PyObject
* obj3
= 0 ;
8089 PyObject
* obj4
= 0 ;
8090 PyObject
* obj5
= 0 ;
8091 PyObject
* obj6
= 0 ;
8092 char * kwnames
[] = {
8093 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8098 if (!SWIG_IsOK(res1
)) {
8099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8104 if (!SWIG_IsOK(ecode2
)) {
8105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8107 arg2
= static_cast< int >(val2
);
8111 arg3
= wxString_in_helper(obj2
);
8112 if (arg3
== NULL
) SWIG_fail
;
8119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8129 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8130 if (!SWIG_IsOK(ecode6
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8133 arg6
= static_cast< long >(val6
);
8137 arg7
= wxString_in_helper(obj6
);
8138 if (arg7
== NULL
) SWIG_fail
;
8143 if (!wxPyCheckForApp()) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8172 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8173 PyObject
*resultobj
= 0;
8174 wxStaticText
*result
= 0 ;
8176 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8178 if (!wxPyCheckForApp()) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (wxStaticText
*)new wxStaticText();
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8191 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
= 0;
8193 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8194 wxWindow
*arg2
= (wxWindow
*) 0 ;
8195 int arg3
= (int) -1 ;
8196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8198 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8199 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8200 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8201 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8202 long arg7
= (long) 0 ;
8203 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8212 bool temp4
= false ;
8217 bool temp8
= false ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 PyObject
* obj2
= 0 ;
8221 PyObject
* obj3
= 0 ;
8222 PyObject
* obj4
= 0 ;
8223 PyObject
* obj5
= 0 ;
8224 PyObject
* obj6
= 0 ;
8225 PyObject
* obj7
= 0 ;
8226 char * kwnames
[] = {
8227 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8232 if (!SWIG_IsOK(res1
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8235 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8237 if (!SWIG_IsOK(res2
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8243 if (!SWIG_IsOK(ecode3
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8246 arg3
= static_cast< int >(val3
);
8250 arg4
= wxString_in_helper(obj3
);
8251 if (arg4
== NULL
) SWIG_fail
;
8258 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8264 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8268 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8269 if (!SWIG_IsOK(ecode7
)) {
8270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8272 arg7
= static_cast< long >(val7
);
8276 arg8
= wxString_in_helper(obj7
);
8277 if (arg8
== NULL
) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8312 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
= 0;
8314 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8320 PyObject
* obj0
= 0 ;
8321 PyObject
* obj1
= 0 ;
8322 char * kwnames
[] = {
8323 (char *) "self",(char *) "width", NULL
8326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8328 if (!SWIG_IsOK(res1
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8331 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8333 if (!SWIG_IsOK(ecode2
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8336 arg2
= static_cast< int >(val2
);
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_Py_Void();
8350 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
= 0;
8352 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8353 SwigValueWrapper
<wxVisualAttributes
> result
;
8356 PyObject
* obj0
= 0 ;
8357 char * kwnames
[] = {
8358 (char *) "variant", NULL
8361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8363 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8364 if (!SWIG_IsOK(ecode1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8367 arg1
= static_cast< wxWindowVariant
>(val1
);
8370 if (!wxPyCheckForApp()) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8383 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8386 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8387 return SWIG_Py_Void();
8390 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 return SWIG_Python_InitShadowInstance(args
);
8394 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
= 0;
8396 wxWindow
*arg1
= (wxWindow
*) 0 ;
8397 int arg2
= (int) -1 ;
8398 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8399 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8404 long arg6
= (long) 0 ;
8405 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8406 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8407 wxStaticBitmap
*result
= 0 ;
8418 bool temp7
= false ;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8421 PyObject
* obj2
= 0 ;
8422 PyObject
* obj3
= 0 ;
8423 PyObject
* obj4
= 0 ;
8424 PyObject
* obj5
= 0 ;
8425 PyObject
* obj6
= 0 ;
8426 char * kwnames
[] = {
8427 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8432 if (!SWIG_IsOK(res1
)) {
8433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8435 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8438 if (!SWIG_IsOK(ecode2
)) {
8439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8441 arg2
= static_cast< int >(val2
);
8444 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8445 if (!SWIG_IsOK(res3
)) {
8446 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8451 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8466 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8467 if (!SWIG_IsOK(ecode6
)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8470 arg6
= static_cast< long >(val6
);
8474 arg7
= wxString_in_helper(obj6
);
8475 if (arg7
== NULL
) SWIG_fail
;
8480 if (!wxPyCheckForApp()) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8501 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8502 PyObject
*resultobj
= 0;
8503 wxStaticBitmap
*result
= 0 ;
8505 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8507 if (!wxPyCheckForApp()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8520 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= 0;
8522 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8523 wxWindow
*arg2
= (wxWindow
*) 0 ;
8524 int arg3
= (int) -1 ;
8525 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8526 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8531 long arg7
= (long) 0 ;
8532 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8547 bool temp8
= false ;
8548 PyObject
* obj0
= 0 ;
8549 PyObject
* obj1
= 0 ;
8550 PyObject
* obj2
= 0 ;
8551 PyObject
* obj3
= 0 ;
8552 PyObject
* obj4
= 0 ;
8553 PyObject
* obj5
= 0 ;
8554 PyObject
* obj6
= 0 ;
8555 PyObject
* obj7
= 0 ;
8556 char * kwnames
[] = {
8557 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8562 if (!SWIG_IsOK(res1
)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8565 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8567 if (!SWIG_IsOK(res2
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8573 if (!SWIG_IsOK(ecode3
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8576 arg3
= static_cast< int >(val3
);
8579 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8580 if (!SWIG_IsOK(res4
)) {
8581 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8586 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8591 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8597 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8601 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8602 if (!SWIG_IsOK(ecode7
)) {
8603 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8605 arg7
= static_cast< long >(val7
);
8609 arg8
= wxString_in_helper(obj7
);
8610 if (arg8
== NULL
) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8637 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 PyObject
*resultobj
= 0;
8639 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8643 PyObject
*swig_obj
[1] ;
8645 if (!args
) SWIG_fail
;
8647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8648 if (!SWIG_IsOK(res1
)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8651 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (arg1
)->GetBitmap();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8665 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
= 0;
8667 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8668 wxBitmap
*arg2
= 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 char * kwnames
[] = {
8676 (char *) "self",(char *) "bitmap", NULL
8679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8684 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8686 if (!SWIG_IsOK(res2
)) {
8687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8692 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_Py_Void();
8706 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
= 0;
8708 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8716 char * kwnames
[] = {
8717 (char *) "self",(char *) "icon", NULL
8720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8722 if (!SWIG_IsOK(res1
)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8725 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8727 if (!SWIG_IsOK(res2
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8733 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= SWIG_Py_Void();
8747 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
= 0;
8749 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8750 SwigValueWrapper
<wxVisualAttributes
> result
;
8753 PyObject
* obj0
= 0 ;
8754 char * kwnames
[] = {
8755 (char *) "variant", NULL
8758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8761 if (!SWIG_IsOK(ecode1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8764 arg1
= static_cast< wxWindowVariant
>(val1
);
8767 if (!wxPyCheckForApp()) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8780 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8783 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8784 return SWIG_Py_Void();
8787 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8788 return SWIG_Python_InitShadowInstance(args
);
8791 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8792 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8797 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8798 PyObject
*pyobj
= 0;
8802 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8804 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8811 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
= 0;
8813 wxWindow
*arg1
= (wxWindow
*) 0 ;
8814 int arg2
= (int) -1 ;
8815 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8816 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8817 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8818 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8819 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8820 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8821 long arg6
= (long) 0 ;
8822 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8823 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8824 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8826 wxListBox
*result
= 0 ;
8833 bool temp5
= false ;
8838 bool temp8
= false ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8842 PyObject
* obj3
= 0 ;
8843 PyObject
* obj4
= 0 ;
8844 PyObject
* obj5
= 0 ;
8845 PyObject
* obj6
= 0 ;
8846 PyObject
* obj7
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8859 if (!SWIG_IsOK(ecode2
)) {
8860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8862 arg2
= static_cast< int >(val2
);
8867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8878 if (! PySequence_Check(obj4
)) {
8879 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8882 arg5
= new wxArrayString
;
8884 int i
, len
=PySequence_Length(obj4
);
8885 for (i
=0; i
<len
; i
++) {
8886 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8887 wxString
* s
= wxString_in_helper(item
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8896 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8897 if (!SWIG_IsOK(ecode6
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8900 arg6
= static_cast< long >(val6
);
8903 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8904 if (!SWIG_IsOK(res7
)) {
8905 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8910 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8914 arg8
= wxString_in_helper(obj7
);
8915 if (arg8
== NULL
) SWIG_fail
;
8920 if (!wxPyCheckForApp()) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8928 if (temp5
) delete arg5
;
8937 if (temp5
) delete arg5
;
8947 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8948 PyObject
*resultobj
= 0;
8949 wxListBox
*result
= 0 ;
8951 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8953 if (!wxPyCheckForApp()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (wxListBox
*)new wxListBox();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8966 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
= 0;
8968 wxListBox
*arg1
= (wxListBox
*) 0 ;
8969 wxWindow
*arg2
= (wxWindow
*) 0 ;
8970 int arg3
= (int) -1 ;
8971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8975 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8976 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8977 long arg7
= (long) 0 ;
8978 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8979 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8980 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8981 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8991 bool temp6
= false ;
8996 bool temp9
= false ;
8997 PyObject
* obj0
= 0 ;
8998 PyObject
* obj1
= 0 ;
8999 PyObject
* obj2
= 0 ;
9000 PyObject
* obj3
= 0 ;
9001 PyObject
* obj4
= 0 ;
9002 PyObject
* obj5
= 0 ;
9003 PyObject
* obj6
= 0 ;
9004 PyObject
* obj7
= 0 ;
9005 PyObject
* obj8
= 0 ;
9006 char * kwnames
[] = {
9007 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9012 if (!SWIG_IsOK(res1
)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9015 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9017 if (!SWIG_IsOK(res2
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9023 if (!SWIG_IsOK(ecode3
)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9026 arg3
= static_cast< int >(val3
);
9031 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9037 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9042 if (! PySequence_Check(obj5
)) {
9043 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9046 arg6
= new wxArrayString
;
9048 int i
, len
=PySequence_Length(obj5
);
9049 for (i
=0; i
<len
; i
++) {
9050 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9051 wxString
* s
= wxString_in_helper(item
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9060 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9061 if (!SWIG_IsOK(ecode7
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9064 arg7
= static_cast< long >(val7
);
9067 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9068 if (!SWIG_IsOK(res8
)) {
9069 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9074 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9078 arg9
= wxString_in_helper(obj8
);
9079 if (arg9
== NULL
) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9093 if (temp6
) delete arg6
;
9102 if (temp6
) delete arg6
;
9112 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
= 0;
9114 wxListBox
*arg1
= (wxListBox
*) 0 ;
9115 wxString
*arg2
= 0 ;
9117 PyObject
*arg4
= (PyObject
*) NULL
;
9120 bool temp2
= false ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9125 PyObject
* obj2
= 0 ;
9126 PyObject
* obj3
= 0 ;
9127 char * kwnames
[] = {
9128 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9133 if (!SWIG_IsOK(res1
)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9136 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9138 arg2
= wxString_in_helper(obj1
);
9139 if (arg2
== NULL
) SWIG_fail
;
9142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9143 if (!SWIG_IsOK(ecode3
)) {
9144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9146 arg3
= static_cast< int >(val3
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_Py_Void();
9171 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
= 0;
9173 wxListBox
*arg1
= (wxListBox
*) 0 ;
9174 wxArrayString
*arg2
= 0 ;
9178 bool temp2
= false ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9183 PyObject
* obj2
= 0 ;
9184 char * kwnames
[] = {
9185 (char *) "self",(char *) "items",(char *) "pos", NULL
9188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9190 if (!SWIG_IsOK(res1
)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9193 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9195 if (! PySequence_Check(obj1
)) {
9196 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9199 arg2
= new wxArrayString
;
9201 int i
, len
=PySequence_Length(obj1
);
9202 for (i
=0; i
<len
; i
++) {
9203 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9204 wxString
* s
= wxString_in_helper(item
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9211 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9212 if (!SWIG_IsOK(ecode3
)) {
9213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9215 arg3
= static_cast< unsigned int >(val3
);
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= SWIG_Py_Void();
9224 if (temp2
) delete arg2
;
9229 if (temp2
) delete arg2
;
9235 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
= 0;
9237 wxListBox
*arg1
= (wxListBox
*) 0 ;
9238 wxArrayString
*arg2
= 0 ;
9241 bool temp2
= false ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9244 char * kwnames
[] = {
9245 (char *) "self",(char *) "items", NULL
9248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9253 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9255 if (! PySequence_Check(obj1
)) {
9256 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9259 arg2
= new wxArrayString
;
9261 int i
, len
=PySequence_Length(obj1
);
9262 for (i
=0; i
<len
; i
++) {
9263 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9264 wxString
* s
= wxString_in_helper(item
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 (arg1
)->Set((wxArrayString
const &)*arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_Py_Void();
9279 if (temp2
) delete arg2
;
9284 if (temp2
) delete arg2
;
9290 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
= 0;
9292 wxListBox
*arg1
= (wxListBox
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9300 PyObject
* obj1
= 0 ;
9301 char * kwnames
[] = {
9302 (char *) "self",(char *) "n", NULL
9305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9310 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9312 if (!SWIG_IsOK(ecode2
)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9315 arg2
= static_cast< int >(val2
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
= 0;
9333 wxListBox
*arg1
= (wxListBox
*) 0 ;
9335 bool arg3
= (bool) true ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9345 char * kwnames
[] = {
9346 (char *) "self",(char *) "n",(char *) "select", NULL
9349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9351 if (!SWIG_IsOK(res1
)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9354 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9356 if (!SWIG_IsOK(ecode2
)) {
9357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9359 arg2
= static_cast< int >(val2
);
9361 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9362 if (!SWIG_IsOK(ecode3
)) {
9363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9365 arg3
= static_cast< bool >(val3
);
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 (arg1
)->SetSelection(arg2
,arg3
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= SWIG_Py_Void();
9380 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
= 0;
9382 wxListBox
*arg1
= (wxListBox
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 char * kwnames
[] = {
9391 (char *) "self",(char *) "n", NULL
9394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9396 if (!SWIG_IsOK(res1
)) {
9397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9399 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9401 if (!SWIG_IsOK(ecode2
)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9404 arg2
= static_cast< int >(val2
);
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 (arg1
)->Select(arg2
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_Py_Void();
9418 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= 0;
9420 wxListBox
*arg1
= (wxListBox
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9428 char * kwnames
[] = {
9429 (char *) "self",(char *) "n", NULL
9432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9434 if (!SWIG_IsOK(res1
)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9437 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9439 if (!SWIG_IsOK(ecode2
)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9442 arg2
= static_cast< int >(val2
);
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 (arg1
)->Deselect(arg2
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_Py_Void();
9456 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
= 0;
9458 wxListBox
*arg1
= (wxListBox
*) 0 ;
9459 int arg2
= (int) -1 ;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9466 char * kwnames
[] = {
9467 (char *) "self",(char *) "itemToLeaveSelected", NULL
9470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9472 if (!SWIG_IsOK(res1
)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9475 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9478 if (!SWIG_IsOK(ecode2
)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9481 arg2
= static_cast< int >(val2
);
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 (arg1
)->DeselectAll(arg2
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= SWIG_Py_Void();
9496 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
= 0;
9498 wxListBox
*arg1
= (wxListBox
*) 0 ;
9499 wxString
*arg2
= 0 ;
9500 bool arg3
= (bool) true ;
9504 bool temp2
= false ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 PyObject
* obj2
= 0 ;
9510 char * kwnames
[] = {
9511 (char *) "self",(char *) "s",(char *) "select", NULL
9514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9519 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9521 arg2
= wxString_in_helper(obj1
);
9522 if (arg2
== NULL
) SWIG_fail
;
9526 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9527 if (!SWIG_IsOK(ecode3
)) {
9528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9530 arg3
= static_cast< bool >(val3
);
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9555 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9556 PyObject
*resultobj
= 0;
9557 wxListBox
*arg1
= (wxListBox
*) 0 ;
9558 PyObject
*result
= 0 ;
9561 PyObject
*swig_obj
[1] ;
9563 if (!args
) SWIG_fail
;
9565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9566 if (!SWIG_IsOK(res1
)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9569 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9583 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
= 0;
9585 wxListBox
*arg1
= (wxListBox
*) 0 ;
9591 PyObject
* obj0
= 0 ;
9592 PyObject
* obj1
= 0 ;
9593 char * kwnames
[] = {
9594 (char *) "self",(char *) "n", NULL
9597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9599 if (!SWIG_IsOK(res1
)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9602 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9604 if (!SWIG_IsOK(ecode2
)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9607 arg2
= static_cast< int >(val2
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 (arg1
)->SetFirstItem(arg2
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_Py_Void();
9621 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
= 0;
9623 wxListBox
*arg1
= (wxListBox
*) 0 ;
9624 wxString
*arg2
= 0 ;
9627 bool temp2
= false ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "self",(char *) "s", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9639 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9641 arg2
= wxString_in_helper(obj1
);
9642 if (arg2
== NULL
) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
= 0;
9668 wxListBox
*arg1
= (wxListBox
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 char * kwnames
[] = {
9677 (char *) "self",(char *) "n", NULL
9680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9682 if (!SWIG_IsOK(res1
)) {
9683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9685 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9687 if (!SWIG_IsOK(ecode2
)) {
9688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9690 arg2
= static_cast< int >(val2
);
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 (arg1
)->EnsureVisible(arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_Py_Void();
9704 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
= 0;
9706 wxListBox
*arg1
= (wxListBox
*) 0 ;
9707 wxString
*arg2
= 0 ;
9710 bool temp2
= false ;
9711 PyObject
* obj0
= 0 ;
9712 PyObject
* obj1
= 0 ;
9713 char * kwnames
[] = {
9714 (char *) "self",(char *) "s", NULL
9717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9719 if (!SWIG_IsOK(res1
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9722 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9724 arg2
= wxString_in_helper(obj1
);
9725 if (arg2
== NULL
) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_Py_Void();
9749 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9750 PyObject
*resultobj
= 0;
9751 wxListBox
*arg1
= (wxListBox
*) 0 ;
9755 PyObject
*swig_obj
[1] ;
9757 if (!args
) SWIG_fail
;
9759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9760 if (!SWIG_IsOK(res1
)) {
9761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9763 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9779 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
= 0;
9781 wxListBox
*arg1
= (wxListBox
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9789 char * kwnames
[] = {
9790 (char *) "self",(char *) "pt", NULL
9793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9795 if (!SWIG_IsOK(res1
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9798 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9801 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_From_int(static_cast< int >(result
));
9816 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
= 0;
9818 wxListBox
*arg1
= (wxListBox
*) 0 ;
9820 wxColour
*arg3
= 0 ;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 PyObject
* obj2
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "self",(char *) "item",(char *) "c", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9838 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9840 if (!SWIG_IsOK(ecode2
)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9843 arg2
= static_cast< int >(val2
);
9846 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_Py_Void();
9861 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxListBox
*arg1
= (wxListBox
*) 0 ;
9865 wxColour
*arg3
= 0 ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 PyObject
* obj2
= 0 ;
9874 char * kwnames
[] = {
9875 (char *) "self",(char *) "item",(char *) "c", NULL
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9883 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9885 if (!SWIG_IsOK(ecode2
)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9888 arg2
= static_cast< int >(val2
);
9891 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_Py_Void();
9906 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9908 wxListBox
*arg1
= (wxListBox
*) 0 ;
9917 PyObject
* obj0
= 0 ;
9918 PyObject
* obj1
= 0 ;
9919 PyObject
* obj2
= 0 ;
9920 char * kwnames
[] = {
9921 (char *) "self",(char *) "item",(char *) "f", NULL
9924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9926 if (!SWIG_IsOK(res1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9929 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9931 if (!SWIG_IsOK(ecode2
)) {
9932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9934 arg2
= static_cast< int >(val2
);
9935 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9936 if (!SWIG_IsOK(res3
)) {
9937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9942 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_Py_Void();
9956 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
= 0;
9958 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9959 SwigValueWrapper
<wxVisualAttributes
> result
;
9962 PyObject
* obj0
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "variant", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9969 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9970 if (!SWIG_IsOK(ecode1
)) {
9971 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9973 arg1
= static_cast< wxWindowVariant
>(val1
);
9976 if (!wxPyCheckForApp()) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9989 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9991 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9992 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9993 return SWIG_Py_Void();
9996 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9997 return SWIG_Python_InitShadowInstance(args
);
10000 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
= 0;
10002 wxWindow
*arg1
= (wxWindow
*) 0 ;
10003 int arg2
= (int) -1 ;
10004 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10005 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10006 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10007 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10008 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10009 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10010 long arg6
= (long) 0 ;
10011 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10012 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10013 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10014 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10015 wxCheckListBox
*result
= 0 ;
10022 bool temp5
= false ;
10027 bool temp8
= false ;
10028 PyObject
* obj0
= 0 ;
10029 PyObject
* obj1
= 0 ;
10030 PyObject
* obj2
= 0 ;
10031 PyObject
* obj3
= 0 ;
10032 PyObject
* obj4
= 0 ;
10033 PyObject
* obj5
= 0 ;
10034 PyObject
* obj6
= 0 ;
10035 PyObject
* obj7
= 0 ;
10036 char * kwnames
[] = {
10037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10042 if (!SWIG_IsOK(res1
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10048 if (!SWIG_IsOK(ecode2
)) {
10049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10051 arg2
= static_cast< int >(val2
);
10056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10067 if (! PySequence_Check(obj4
)) {
10068 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10071 arg5
= new wxArrayString
;
10073 int i
, len
=PySequence_Length(obj4
);
10074 for (i
=0; i
<len
; i
++) {
10075 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10076 wxString
* s
= wxString_in_helper(item
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10086 if (!SWIG_IsOK(ecode6
)) {
10087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10089 arg6
= static_cast< long >(val6
);
10092 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10093 if (!SWIG_IsOK(res7
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10099 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10103 arg8
= wxString_in_helper(obj7
);
10104 if (arg8
== NULL
) SWIG_fail
;
10109 if (!wxPyCheckForApp()) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10117 if (temp5
) delete arg5
;
10126 if (temp5
) delete arg5
;
10136 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10137 PyObject
*resultobj
= 0;
10138 wxCheckListBox
*result
= 0 ;
10140 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10142 if (!wxPyCheckForApp()) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (wxCheckListBox
*)new wxCheckListBox();
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10155 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
= 0;
10157 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10158 wxWindow
*arg2
= (wxWindow
*) 0 ;
10159 int arg3
= (int) -1 ;
10160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10164 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10165 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10166 long arg7
= (long) 0 ;
10167 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10168 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10169 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10170 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10180 bool temp6
= false ;
10185 bool temp9
= false ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 PyObject
* obj2
= 0 ;
10189 PyObject
* obj3
= 0 ;
10190 PyObject
* obj4
= 0 ;
10191 PyObject
* obj5
= 0 ;
10192 PyObject
* obj6
= 0 ;
10193 PyObject
* obj7
= 0 ;
10194 PyObject
* obj8
= 0 ;
10195 char * kwnames
[] = {
10196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10201 if (!SWIG_IsOK(res1
)) {
10202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10204 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10205 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10206 if (!SWIG_IsOK(res2
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10209 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10212 if (!SWIG_IsOK(ecode3
)) {
10213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10215 arg3
= static_cast< int >(val3
);
10220 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10226 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10231 if (! PySequence_Check(obj5
)) {
10232 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10235 arg6
= new wxArrayString
;
10237 int i
, len
=PySequence_Length(obj5
);
10238 for (i
=0; i
<len
; i
++) {
10239 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10240 wxString
* s
= wxString_in_helper(item
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10250 if (!SWIG_IsOK(ecode7
)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10253 arg7
= static_cast< long >(val7
);
10256 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10257 if (!SWIG_IsOK(res8
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10263 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10267 arg9
= wxString_in_helper(obj8
);
10268 if (arg9
== NULL
) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10282 if (temp6
) delete arg6
;
10291 if (temp6
) delete arg6
;
10301 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
= 0;
10303 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10304 unsigned int arg2
;
10308 unsigned int val2
;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "self",(char *) "index", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10321 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10322 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10323 if (!SWIG_IsOK(ecode2
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10326 arg2
= static_cast< unsigned int >(val2
);
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (bool)(arg1
)->IsChecked(arg2
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10342 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10345 unsigned int arg2
;
10346 int arg3
= (int) true ;
10349 unsigned int val2
;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 char * kwnames
[] = {
10357 (char *) "self",(char *) "index",(char *) "check", NULL
10360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10362 if (!SWIG_IsOK(res1
)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10365 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10366 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10367 if (!SWIG_IsOK(ecode2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10370 arg2
= static_cast< unsigned int >(val2
);
10372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10373 if (!SWIG_IsOK(ecode3
)) {
10374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10376 arg3
= static_cast< int >(val3
);
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->Check(arg2
,arg3
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_Py_Void();
10391 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10392 PyObject
*resultobj
= 0;
10393 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10397 PyObject
*swig_obj
[1] ;
10399 if (!args
) SWIG_fail
;
10400 swig_obj
[0] = args
;
10401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10402 if (!SWIG_IsOK(res1
)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10405 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (int)(arg1
)->GetItemHeight();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_From_int(static_cast< int >(result
));
10419 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10422 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10423 return SWIG_Py_Void();
10426 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10427 return SWIG_Python_InitShadowInstance(args
);
10430 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10431 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10436 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10437 PyObject
*pyobj
= 0;
10441 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10443 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10450 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
= 0;
10452 wxColour
const &arg1_defvalue
= wxNullColour
;
10453 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10454 wxColour
const &arg2_defvalue
= wxNullColour
;
10455 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10456 wxFont
const &arg3_defvalue
= wxNullFont
;
10457 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10458 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10459 wxTextAttr
*result
= 0 ;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 PyObject
* obj2
= 0 ;
10469 PyObject
* obj3
= 0 ;
10470 char * kwnames
[] = {
10471 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10478 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10488 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10489 if (!SWIG_IsOK(res3
)) {
10490 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10495 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10498 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10499 if (!SWIG_IsOK(ecode4
)) {
10500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10502 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10517 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 PyObject
*resultobj
= 0;
10519 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10530 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_Py_Void();
10545 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10558 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_Py_Void();
10572 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
= 0;
10574 wxTextAttr
*arg1
= 0 ;
10575 wxTextAttr
*arg2
= 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 char * kwnames
[] = {
10584 (char *) "base",(char *) "overlay", NULL
10587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10588 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10595 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10597 if (!SWIG_IsOK(res2
)) {
10598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10603 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10617 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= 0;
10619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10620 wxColour
*arg2
= 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char * kwnames
[] = {
10627 (char *) "self",(char *) "colText", NULL
10630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10632 if (!SWIG_IsOK(res1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10635 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10638 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_Py_Void();
10653 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= 0;
10655 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10656 wxColour
*arg2
= 0 ;
10660 PyObject
* obj0
= 0 ;
10661 PyObject
* obj1
= 0 ;
10662 char * kwnames
[] = {
10663 (char *) "self",(char *) "colBack", NULL
10666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10668 if (!SWIG_IsOK(res1
)) {
10669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10671 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10674 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 resultobj
= SWIG_Py_Void();
10689 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
= 0;
10691 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10693 long arg3
= (long) wxTEXT_ATTR_FONT
;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 char * kwnames
[] = {
10704 (char *) "self",(char *) "font",(char *) "flags", NULL
10707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10709 if (!SWIG_IsOK(res1
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10712 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10714 if (!SWIG_IsOK(res2
)) {
10715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10720 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10722 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10723 if (!SWIG_IsOK(ecode3
)) {
10724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10726 arg3
= static_cast< long >(val3
);
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_Py_Void();
10741 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
= 0;
10743 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10744 wxTextAttrAlignment arg2
;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 char * kwnames
[] = {
10752 (char *) "self",(char *) "alignment", NULL
10755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10757 if (!SWIG_IsOK(res1
)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10760 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10762 if (!SWIG_IsOK(ecode2
)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10765 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->SetAlignment(arg2
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= SWIG_Py_Void();
10779 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
= 0;
10781 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10782 wxArrayInt
*arg2
= 0 ;
10785 bool temp2
= false ;
10786 PyObject
* obj0
= 0 ;
10787 PyObject
* obj1
= 0 ;
10788 char * kwnames
[] = {
10789 (char *) "self",(char *) "tabs", NULL
10792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10794 if (!SWIG_IsOK(res1
)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10797 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10799 if (! PySequence_Check(obj1
)) {
10800 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10803 arg2
= new wxArrayInt
;
10805 int i
, len
=PySequence_Length(obj1
);
10806 for (i
=0; i
<len
; i
++) {
10807 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10808 PyObject
* number
= PyNumber_Int(item
);
10809 arg2
->Add(PyInt_AS_LONG(number
));
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_Py_Void();
10822 if (temp2
) delete arg2
;
10827 if (temp2
) delete arg2
;
10833 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
= 0;
10835 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10837 int arg3
= (int) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 PyObject
* obj2
= 0 ;
10847 char * kwnames
[] = {
10848 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10853 if (!SWIG_IsOK(res1
)) {
10854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10856 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10858 if (!SWIG_IsOK(ecode2
)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10861 arg2
= static_cast< int >(val2
);
10863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10864 if (!SWIG_IsOK(ecode3
)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10867 arg3
= static_cast< int >(val3
);
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->SetLeftIndent(arg2
,arg3
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_Py_Void();
10882 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
= 0;
10884 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char * kwnames
[] = {
10893 (char *) "self",(char *) "indent", NULL
10896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10901 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10903 if (!SWIG_IsOK(ecode2
)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10906 arg2
= static_cast< int >(val2
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetRightIndent(arg2
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_Py_Void();
10920 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "flags", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10939 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10941 if (!SWIG_IsOK(ecode2
)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10944 arg2
= static_cast< long >(val2
);
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->SetFlags(arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_Py_Void();
10958 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10959 PyObject
*resultobj
= 0;
10960 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10964 PyObject
*swig_obj
[1] ;
10966 if (!args
) SWIG_fail
;
10967 swig_obj
[0] = args
;
10968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10969 if (!SWIG_IsOK(res1
)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10972 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10988 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10989 PyObject
*resultobj
= 0;
10990 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10994 PyObject
*swig_obj
[1] ;
10996 if (!args
) SWIG_fail
;
10997 swig_obj
[0] = args
;
10998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10999 if (!SWIG_IsOK(res1
)) {
11000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11002 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11019 PyObject
*resultobj
= 0;
11020 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11024 PyObject
*swig_obj
[1] ;
11026 if (!args
) SWIG_fail
;
11027 swig_obj
[0] = args
;
11028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11029 if (!SWIG_IsOK(res1
)) {
11030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11032 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11048 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11049 PyObject
*resultobj
= 0;
11050 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11054 PyObject
*swig_obj
[1] ;
11056 if (!args
) SWIG_fail
;
11057 swig_obj
[0] = args
;
11058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11059 if (!SWIG_IsOK(res1
)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11062 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11079 PyObject
*resultobj
= 0;
11080 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11084 PyObject
*swig_obj
[1] ;
11086 if (!args
) SWIG_fail
;
11087 swig_obj
[0] = args
;
11088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11089 if (!SWIG_IsOK(res1
)) {
11090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11092 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11108 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11109 PyObject
*resultobj
= 0;
11110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11114 PyObject
*swig_obj
[1] ;
11116 if (!args
) SWIG_fail
;
11117 swig_obj
[0] = args
;
11118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11119 if (!SWIG_IsOK(res1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11122 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11139 PyObject
*resultobj
= 0;
11140 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11144 PyObject
*swig_obj
[1] ;
11146 if (!args
) SWIG_fail
;
11147 swig_obj
[0] = args
;
11148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11149 if (!SWIG_IsOK(res1
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11152 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11168 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
= 0;
11170 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 char * kwnames
[] = {
11180 (char *) "self",(char *) "flag", NULL
11183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11185 if (!SWIG_IsOK(res1
)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11188 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11189 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11190 if (!SWIG_IsOK(ecode2
)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11193 arg2
= static_cast< long >(val2
);
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11209 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11210 PyObject
*resultobj
= 0;
11211 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11212 wxColour
*result
= 0 ;
11215 PyObject
*swig_obj
[1] ;
11217 if (!args
) SWIG_fail
;
11218 swig_obj
[0] = args
;
11219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11220 if (!SWIG_IsOK(res1
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11223 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11228 result
= (wxColour
*) &_result_ref
;
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11240 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11241 PyObject
*resultobj
= 0;
11242 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11243 wxColour
*result
= 0 ;
11246 PyObject
*swig_obj
[1] ;
11248 if (!args
) SWIG_fail
;
11249 swig_obj
[0] = args
;
11250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11251 if (!SWIG_IsOK(res1
)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11254 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11259 result
= (wxColour
*) &_result_ref
;
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11271 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11272 PyObject
*resultobj
= 0;
11273 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11274 wxFont
*result
= 0 ;
11277 PyObject
*swig_obj
[1] ;
11279 if (!args
) SWIG_fail
;
11280 swig_obj
[0] = args
;
11281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11285 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11290 result
= (wxFont
*) &_result_ref
;
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11296 wxFont
* resultptr
= new wxFont(*result
);
11297 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11305 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11306 PyObject
*resultobj
= 0;
11307 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11308 wxTextAttrAlignment result
;
11311 PyObject
*swig_obj
[1] ;
11313 if (!args
) SWIG_fail
;
11314 swig_obj
[0] = args
;
11315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11316 if (!SWIG_IsOK(res1
)) {
11317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11319 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_From_int(static_cast< int >(result
));
11333 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11335 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11336 wxArrayInt
*result
= 0 ;
11339 PyObject
*swig_obj
[1] ;
11341 if (!args
) SWIG_fail
;
11342 swig_obj
[0] = args
;
11343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11347 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11352 result
= (wxArrayInt
*) &_result_ref
;
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= PyList_New(0);
11360 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11361 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11362 PyList_Append(resultobj
, val
);
11372 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11373 PyObject
*resultobj
= 0;
11374 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11378 PyObject
*swig_obj
[1] ;
11380 if (!args
) SWIG_fail
;
11381 swig_obj
[0] = args
;
11382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11383 if (!SWIG_IsOK(res1
)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11386 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_From_long(static_cast< long >(result
));
11400 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11401 PyObject
*resultobj
= 0;
11402 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11406 PyObject
*swig_obj
[1] ;
11408 if (!args
) SWIG_fail
;
11409 swig_obj
[0] = args
;
11410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11411 if (!SWIG_IsOK(res1
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11414 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_From_long(static_cast< long >(result
));
11428 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 PyObject
*resultobj
= 0;
11430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11434 PyObject
*swig_obj
[1] ;
11436 if (!args
) SWIG_fail
;
11437 swig_obj
[0] = args
;
11438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11439 if (!SWIG_IsOK(res1
)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11442 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_From_long(static_cast< long >(result
));
11456 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11457 PyObject
*resultobj
= 0;
11458 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11462 PyObject
*swig_obj
[1] ;
11464 if (!args
) SWIG_fail
;
11465 swig_obj
[0] = args
;
11466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11470 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_From_long(static_cast< long >(result
));
11484 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11485 PyObject
*resultobj
= 0;
11486 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11490 PyObject
*swig_obj
[1] ;
11492 if (!args
) SWIG_fail
;
11493 swig_obj
[0] = args
;
11494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11495 if (!SWIG_IsOK(res1
)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11498 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
= 0;
11516 wxTextAttr
*arg1
= 0 ;
11517 wxTextAttr
*arg2
= 0 ;
11518 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 PyObject
* obj2
= 0 ;
11529 char * kwnames
[] = {
11530 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11534 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11535 if (!SWIG_IsOK(res1
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11541 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11543 if (!SWIG_IsOK(res2
)) {
11544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11549 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11550 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11551 if (!SWIG_IsOK(res3
)) {
11552 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11554 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11568 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11571 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11572 return SWIG_Py_Void();
11575 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11576 return SWIG_Python_InitShadowInstance(args
);
11579 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
= 0;
11581 wxWindow
*arg1
= (wxWindow
*) 0 ;
11582 int arg2
= (int) -1 ;
11583 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11589 long arg6
= (long) 0 ;
11590 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11591 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11592 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11593 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11594 wxTextCtrl
*result
= 0 ;
11599 bool temp3
= false ;
11606 bool temp8
= false ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 PyObject
* obj3
= 0 ;
11611 PyObject
* obj4
= 0 ;
11612 PyObject
* obj5
= 0 ;
11613 PyObject
* obj6
= 0 ;
11614 PyObject
* obj7
= 0 ;
11615 char * kwnames
[] = {
11616 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11621 if (!SWIG_IsOK(res1
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11627 if (!SWIG_IsOK(ecode2
)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11630 arg2
= static_cast< int >(val2
);
11634 arg3
= wxString_in_helper(obj2
);
11635 if (arg3
== NULL
) SWIG_fail
;
11642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11652 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11653 if (!SWIG_IsOK(ecode6
)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11656 arg6
= static_cast< long >(val6
);
11659 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11660 if (!SWIG_IsOK(res7
)) {
11661 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11666 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11670 arg8
= wxString_in_helper(obj7
);
11671 if (arg8
== NULL
) SWIG_fail
;
11676 if (!wxPyCheckForApp()) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11705 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11706 PyObject
*resultobj
= 0;
11707 wxTextCtrl
*result
= 0 ;
11709 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11711 if (!wxPyCheckForApp()) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (wxTextCtrl
*)new wxTextCtrl();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11724 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
= 0;
11726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11727 wxWindow
*arg2
= (wxWindow
*) 0 ;
11728 int arg3
= (int) -1 ;
11729 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11730 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11731 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11732 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11733 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11734 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11735 long arg7
= (long) 0 ;
11736 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11737 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11738 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11739 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11747 bool temp4
= false ;
11754 bool temp9
= false ;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 PyObject
* obj2
= 0 ;
11758 PyObject
* obj3
= 0 ;
11759 PyObject
* obj4
= 0 ;
11760 PyObject
* obj5
= 0 ;
11761 PyObject
* obj6
= 0 ;
11762 PyObject
* obj7
= 0 ;
11763 PyObject
* obj8
= 0 ;
11764 char * kwnames
[] = {
11765 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11770 if (!SWIG_IsOK(res1
)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11773 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11775 if (!SWIG_IsOK(res2
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11778 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11781 if (!SWIG_IsOK(ecode3
)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11784 arg3
= static_cast< int >(val3
);
11788 arg4
= wxString_in_helper(obj3
);
11789 if (arg4
== NULL
) SWIG_fail
;
11796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11802 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11806 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11807 if (!SWIG_IsOK(ecode7
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11810 arg7
= static_cast< long >(val7
);
11813 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11814 if (!SWIG_IsOK(res8
)) {
11815 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11820 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11824 arg9
= wxString_in_helper(obj8
);
11825 if (arg9
== NULL
) SWIG_fail
;
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11860 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11861 PyObject
*resultobj
= 0;
11862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11866 PyObject
*swig_obj
[1] ;
11868 if (!args
) SWIG_fail
;
11869 swig_obj
[0] = args
;
11870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11871 if (!SWIG_IsOK(res1
)) {
11872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11874 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11894 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
= 0;
11896 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11897 wxString
*arg2
= 0 ;
11900 bool temp2
= false ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 char * kwnames
[] = {
11904 (char *) "self",(char *) "value", NULL
11907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11912 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11914 arg2
= wxString_in_helper(obj1
);
11915 if (arg2
== NULL
) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->SetValue((wxString
const &)*arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_Py_Void();
11939 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
= 0;
11941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 char * kwnames
[] = {
11955 (char *) "self",(char *) "from",(char *) "to", NULL
11958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11963 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11965 if (!SWIG_IsOK(ecode2
)) {
11966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11968 arg2
= static_cast< long >(val2
);
11969 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11970 if (!SWIG_IsOK(ecode3
)) {
11971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11973 arg3
= static_cast< long >(val3
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11993 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
= 0;
11995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char * kwnames
[] = {
12005 (char *) "self",(char *) "lineNo", NULL
12008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12013 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12014 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12015 if (!SWIG_IsOK(ecode2
)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12018 arg2
= static_cast< long >(val2
);
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_From_int(static_cast< int >(result
));
12032 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
= 0;
12034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 char * kwnames
[] = {
12044 (char *) "self",(char *) "lineNo", NULL
12047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12049 if (!SWIG_IsOK(res1
)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12052 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12054 if (!SWIG_IsOK(ecode2
)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12057 arg2
= static_cast< long >(val2
);
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12077 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12078 PyObject
*resultobj
= 0;
12079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12083 PyObject
*swig_obj
[1] ;
12085 if (!args
) SWIG_fail
;
12086 swig_obj
[0] = args
;
12087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12088 if (!SWIG_IsOK(res1
)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12091 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_From_int(static_cast< int >(result
));
12105 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12111 PyObject
*swig_obj
[1] ;
12113 if (!args
) SWIG_fail
;
12114 swig_obj
[0] = args
;
12115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12119 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12135 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12136 PyObject
*resultobj
= 0;
12137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12141 PyObject
*swig_obj
[1] ;
12143 if (!args
) SWIG_fail
;
12144 swig_obj
[0] = args
;
12145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12165 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12166 PyObject
*resultobj
= 0;
12167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12171 PyObject
*swig_obj
[1] ;
12173 if (!args
) SWIG_fail
;
12174 swig_obj
[0] = args
;
12175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12176 if (!SWIG_IsOK(res1
)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12179 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12195 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12196 PyObject
*resultobj
= 0;
12197 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12201 PyObject
*swig_obj
[1] ;
12203 if (!args
) SWIG_fail
;
12204 swig_obj
[0] = args
;
12205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12206 if (!SWIG_IsOK(res1
)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12209 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12225 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12226 PyObject
*resultobj
= 0;
12227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12228 long *arg2
= (long *) 0 ;
12229 long *arg3
= (long *) 0 ;
12233 int res2
= SWIG_TMPOBJ
;
12235 int res3
= SWIG_TMPOBJ
;
12236 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12246 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_Py_Void();
12254 if (SWIG_IsTmpObj(res2
)) {
12255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12257 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12260 if (SWIG_IsTmpObj(res3
)) {
12261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12263 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12272 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12306 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12311 PyObject
*swig_obj
[1] ;
12313 if (!args
) SWIG_fail
;
12314 swig_obj
[0] = args
;
12315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12319 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_Py_Void();
12333 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
= 0;
12335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12338 wxString
*arg4
= 0 ;
12345 bool temp4
= false ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 PyObject
* obj2
= 0 ;
12349 PyObject
* obj3
= 0 ;
12350 char * kwnames
[] = {
12351 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12356 if (!SWIG_IsOK(res1
)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12359 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12360 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12361 if (!SWIG_IsOK(ecode2
)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12364 arg2
= static_cast< long >(val2
);
12365 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12366 if (!SWIG_IsOK(ecode3
)) {
12367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12369 arg3
= static_cast< long >(val3
);
12371 arg4
= wxString_in_helper(obj3
);
12372 if (arg4
== NULL
) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_Py_Void();
12396 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
= 0;
12398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 PyObject
* obj2
= 0 ;
12410 char * kwnames
[] = {
12411 (char *) "self",(char *) "from",(char *) "to", NULL
12414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12419 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12420 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12421 if (!SWIG_IsOK(ecode2
)) {
12422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12424 arg2
= static_cast< long >(val2
);
12425 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12426 if (!SWIG_IsOK(ecode3
)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12429 arg3
= static_cast< long >(val3
);
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 (arg1
)->Remove(arg2
,arg3
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_Py_Void();
12443 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
= 0;
12445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12446 wxString
*arg2
= 0 ;
12450 bool temp2
= false ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 char * kwnames
[] = {
12454 (char *) "self",(char *) "file", NULL
12457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12459 if (!SWIG_IsOK(res1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12462 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12464 arg2
= wxString_in_helper(obj1
);
12465 if (arg2
== NULL
) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12491 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
= 0;
12493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12494 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12495 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12499 bool temp2
= false ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char * kwnames
[] = {
12503 (char *) "self",(char *) "file", NULL
12506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12511 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12514 arg2
= wxString_in_helper(obj1
);
12515 if (arg2
== NULL
) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12542 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12543 PyObject
*resultobj
= 0;
12544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12547 PyObject
*swig_obj
[1] ;
12549 if (!args
) SWIG_fail
;
12550 swig_obj
[0] = args
;
12551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12552 if (!SWIG_IsOK(res1
)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12555 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->MarkDirty();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_Py_Void();
12569 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12570 PyObject
*resultobj
= 0;
12571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12574 PyObject
*swig_obj
[1] ;
12576 if (!args
) SWIG_fail
;
12577 swig_obj
[0] = args
;
12578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12579 if (!SWIG_IsOK(res1
)) {
12580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12582 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->DiscardEdits();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_Py_Void();
12596 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
= 0;
12598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12599 unsigned long arg2
;
12602 unsigned long val2
;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char * kwnames
[] = {
12607 (char *) "self",(char *) "len", NULL
12610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12612 if (!SWIG_IsOK(res1
)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12615 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12616 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12617 if (!SWIG_IsOK(ecode2
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12620 arg2
= static_cast< unsigned long >(val2
);
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetMaxLength(arg2
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_Py_Void();
12634 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
= 0;
12636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12637 wxString
*arg2
= 0 ;
12640 bool temp2
= false ;
12641 PyObject
* obj0
= 0 ;
12642 PyObject
* obj1
= 0 ;
12643 char * kwnames
[] = {
12644 (char *) "self",(char *) "text", NULL
12647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12649 if (!SWIG_IsOK(res1
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12652 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12654 arg2
= wxString_in_helper(obj1
);
12655 if (arg2
== NULL
) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 (arg1
)->WriteText((wxString
const &)*arg2
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_Py_Void();
12679 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
= 0;
12681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12682 wxString
*arg2
= 0 ;
12685 bool temp2
= false ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char * kwnames
[] = {
12689 (char *) "self",(char *) "text", NULL
12692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12697 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12699 arg2
= wxString_in_helper(obj1
);
12700 if (arg2
== NULL
) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 (arg1
)->AppendText((wxString
const &)*arg2
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= SWIG_Py_Void();
12724 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
= 0;
12726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12727 wxKeyEvent
*arg2
= 0 ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char * kwnames
[] = {
12736 (char *) "self",(char *) "event", NULL
12739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12741 if (!SWIG_IsOK(res1
)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12744 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12746 if (!SWIG_IsOK(res2
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12752 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12768 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= 0;
12770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12773 wxTextAttr
*arg4
= 0 ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 PyObject
* obj2
= 0 ;
12786 PyObject
* obj3
= 0 ;
12787 char * kwnames
[] = {
12788 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12796 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12797 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12798 if (!SWIG_IsOK(ecode2
)) {
12799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12801 arg2
= static_cast< long >(val2
);
12802 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12803 if (!SWIG_IsOK(ecode3
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12806 arg3
= static_cast< long >(val3
);
12807 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12808 if (!SWIG_IsOK(res4
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12814 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12830 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
= 0;
12832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12834 wxTextAttr
*arg3
= 0 ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 PyObject
* obj2
= 0 ;
12845 char * kwnames
[] = {
12846 (char *) "self",(char *) "position",(char *) "style", NULL
12849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12854 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12855 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12856 if (!SWIG_IsOK(ecode2
)) {
12857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12859 arg2
= static_cast< long >(val2
);
12860 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12861 if (!SWIG_IsOK(res3
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12867 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12883 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12886 wxTextAttr
*arg2
= 0 ;
12892 PyObject
* obj0
= 0 ;
12893 PyObject
* obj1
= 0 ;
12894 char * kwnames
[] = {
12895 (char *) "self",(char *) "style", NULL
12898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12900 if (!SWIG_IsOK(res1
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12903 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12905 if (!SWIG_IsOK(res2
)) {
12906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12911 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12927 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12928 PyObject
*resultobj
= 0;
12929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12930 wxTextAttr
*result
= 0 ;
12933 PyObject
*swig_obj
[1] ;
12935 if (!args
) SWIG_fail
;
12936 swig_obj
[0] = args
;
12937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12938 if (!SWIG_IsOK(res1
)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12941 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12946 result
= (wxTextAttr
*) &_result_ref
;
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12958 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= 0;
12960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 PyObject
* obj2
= 0 ;
12973 char * kwnames
[] = {
12974 (char *) "self",(char *) "x",(char *) "y", NULL
12977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12979 if (!SWIG_IsOK(res1
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12982 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12983 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12984 if (!SWIG_IsOK(ecode2
)) {
12985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12987 arg2
= static_cast< long >(val2
);
12988 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12989 if (!SWIG_IsOK(ecode3
)) {
12990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12992 arg3
= static_cast< long >(val3
);
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= SWIG_From_long(static_cast< long >(result
));
13006 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
= 0;
13008 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13010 long *arg3
= (long *) 0 ;
13011 long *arg4
= (long *) 0 ;
13017 int res3
= SWIG_TMPOBJ
;
13019 int res4
= SWIG_TMPOBJ
;
13020 PyObject
* obj0
= 0 ;
13021 PyObject
* obj1
= 0 ;
13022 char * kwnames
[] = {
13023 (char *) "self",(char *) "pos", NULL
13028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13030 if (!SWIG_IsOK(res1
)) {
13031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13033 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13034 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13035 if (!SWIG_IsOK(ecode2
)) {
13036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13038 arg2
= static_cast< long >(val2
);
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_Py_Void();
13046 if (SWIG_IsTmpObj(res3
)) {
13047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13049 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13052 if (SWIG_IsTmpObj(res4
)) {
13053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13055 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13064 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
= 0;
13066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char * kwnames
[] = {
13075 (char *) "self",(char *) "pos", NULL
13078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13080 if (!SWIG_IsOK(res1
)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13083 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13084 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13085 if (!SWIG_IsOK(ecode2
)) {
13086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13088 arg2
= static_cast< long >(val2
);
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 (arg1
)->ShowPosition(arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_Py_Void();
13102 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
= 0;
13104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13105 wxPoint
*arg2
= 0 ;
13106 long *arg3
= (long *) 0 ;
13107 long *arg4
= (long *) 0 ;
13108 wxTextCtrlHitTestResult result
;
13113 int res3
= SWIG_TMPOBJ
;
13115 int res4
= SWIG_TMPOBJ
;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "self",(char *) "pt", NULL
13124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13126 if (!SWIG_IsOK(res1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13129 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= SWIG_From_int(static_cast< int >(result
));
13141 if (SWIG_IsTmpObj(res3
)) {
13142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13144 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13147 if (SWIG_IsTmpObj(res4
)) {
13148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13150 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13159 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
= 0;
13161 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13162 wxPoint
*arg2
= 0 ;
13163 long *arg3
= (long *) 0 ;
13164 wxTextCtrlHitTestResult result
;
13169 int res3
= SWIG_TMPOBJ
;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 char * kwnames
[] = {
13173 (char *) "self",(char *) "pt", NULL
13177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13179 if (!SWIG_IsOK(res1
)) {
13180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13182 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_From_int(static_cast< int >(result
));
13194 if (SWIG_IsTmpObj(res3
)) {
13195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13197 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13206 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13207 PyObject
*resultobj
= 0;
13208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13211 PyObject
*swig_obj
[1] ;
13213 if (!args
) SWIG_fail
;
13214 swig_obj
[0] = args
;
13215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13216 if (!SWIG_IsOK(res1
)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13219 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= SWIG_Py_Void();
13233 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13234 PyObject
*resultobj
= 0;
13235 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13238 PyObject
*swig_obj
[1] ;
13240 if (!args
) SWIG_fail
;
13241 swig_obj
[0] = args
;
13242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13243 if (!SWIG_IsOK(res1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13246 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= SWIG_Py_Void();
13260 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13261 PyObject
*resultobj
= 0;
13262 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13265 PyObject
*swig_obj
[1] ;
13267 if (!args
) SWIG_fail
;
13268 swig_obj
[0] = args
;
13269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13270 if (!SWIG_IsOK(res1
)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13273 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 resultobj
= SWIG_Py_Void();
13287 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13288 PyObject
*resultobj
= 0;
13289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13293 PyObject
*swig_obj
[1] ;
13295 if (!args
) SWIG_fail
;
13296 swig_obj
[0] = args
;
13297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13298 if (!SWIG_IsOK(res1
)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13301 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13317 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 PyObject
*resultobj
= 0;
13319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13323 PyObject
*swig_obj
[1] ;
13325 if (!args
) SWIG_fail
;
13326 swig_obj
[0] = args
;
13327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13328 if (!SWIG_IsOK(res1
)) {
13329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13331 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13347 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13348 PyObject
*resultobj
= 0;
13349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13353 PyObject
*swig_obj
[1] ;
13355 if (!args
) SWIG_fail
;
13356 swig_obj
[0] = args
;
13357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13358 if (!SWIG_IsOK(res1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13361 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13377 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13378 PyObject
*resultobj
= 0;
13379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13382 PyObject
*swig_obj
[1] ;
13384 if (!args
) SWIG_fail
;
13385 swig_obj
[0] = args
;
13386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13387 if (!SWIG_IsOK(res1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13390 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_Py_Void();
13404 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13405 PyObject
*resultobj
= 0;
13406 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13409 PyObject
*swig_obj
[1] ;
13411 if (!args
) SWIG_fail
;
13412 swig_obj
[0] = args
;
13413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13414 if (!SWIG_IsOK(res1
)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13417 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_Py_Void();
13431 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13432 PyObject
*resultobj
= 0;
13433 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13437 PyObject
*swig_obj
[1] ;
13439 if (!args
) SWIG_fail
;
13440 swig_obj
[0] = args
;
13441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13442 if (!SWIG_IsOK(res1
)) {
13443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13445 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13461 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13462 PyObject
*resultobj
= 0;
13463 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13467 PyObject
*swig_obj
[1] ;
13469 if (!args
) SWIG_fail
;
13470 swig_obj
[0] = args
;
13471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13472 if (!SWIG_IsOK(res1
)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13475 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13491 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
= 0;
13493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char * kwnames
[] = {
13502 (char *) "self",(char *) "pos", NULL
13505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13510 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13511 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13512 if (!SWIG_IsOK(ecode2
)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13515 arg2
= static_cast< long >(val2
);
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 (arg1
)->SetInsertionPoint(arg2
);
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= SWIG_Py_Void();
13529 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13530 PyObject
*resultobj
= 0;
13531 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13534 PyObject
*swig_obj
[1] ;
13536 if (!args
) SWIG_fail
;
13537 swig_obj
[0] = args
;
13538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13539 if (!SWIG_IsOK(res1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13542 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 (arg1
)->SetInsertionPointEnd();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_Py_Void();
13556 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 PyObject
*resultobj
= 0;
13558 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13562 PyObject
*swig_obj
[1] ;
13564 if (!args
) SWIG_fail
;
13565 swig_obj
[0] = args
;
13566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_From_long(static_cast< long >(result
));
13584 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13590 PyObject
*swig_obj
[1] ;
13592 if (!args
) SWIG_fail
;
13593 swig_obj
[0] = args
;
13594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13598 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_From_long(static_cast< long >(result
));
13612 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
= 0;
13614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj2
= 0 ;
13626 char * kwnames
[] = {
13627 (char *) "self",(char *) "from",(char *) "to", NULL
13630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13632 if (!SWIG_IsOK(res1
)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13635 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13636 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13637 if (!SWIG_IsOK(ecode2
)) {
13638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13640 arg2
= static_cast< long >(val2
);
13641 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13642 if (!SWIG_IsOK(ecode3
)) {
13643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13645 arg3
= static_cast< long >(val3
);
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 (arg1
)->SetSelection(arg2
,arg3
);
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= SWIG_Py_Void();
13659 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13660 PyObject
*resultobj
= 0;
13661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13664 PyObject
*swig_obj
[1] ;
13666 if (!args
) SWIG_fail
;
13667 swig_obj
[0] = args
;
13668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13669 if (!SWIG_IsOK(res1
)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13672 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->SelectAll();
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_Py_Void();
13686 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
= 0;
13688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 char * kwnames
[] = {
13697 (char *) "self",(char *) "editable", NULL
13700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13702 if (!SWIG_IsOK(res1
)) {
13703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13705 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13707 if (!SWIG_IsOK(ecode2
)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13710 arg2
= static_cast< bool >(val2
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->SetEditable(arg2
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_Py_Void();
13724 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
= 0;
13726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13727 wxString
*arg2
= 0 ;
13730 bool temp2
= false ;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 char * kwnames
[] = {
13734 (char *) "self",(char *) "text", NULL
13737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13739 if (!SWIG_IsOK(res1
)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13742 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13744 arg2
= wxString_in_helper(obj1
);
13745 if (arg2
== NULL
) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_Py_Void();
13769 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
= 0;
13771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13781 PyObject
* obj0
= 0 ;
13782 PyObject
* obj1
= 0 ;
13783 PyObject
* obj2
= 0 ;
13784 char * kwnames
[] = {
13785 (char *) "self",(char *) "from",(char *) "to", NULL
13788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13790 if (!SWIG_IsOK(res1
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13793 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13794 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13795 if (!SWIG_IsOK(ecode2
)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13798 arg2
= static_cast< long >(val2
);
13799 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13800 if (!SWIG_IsOK(ecode3
)) {
13801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13803 arg3
= static_cast< long >(val3
);
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13823 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
= 0;
13825 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13826 SwigValueWrapper
<wxVisualAttributes
> result
;
13829 PyObject
* obj0
= 0 ;
13830 char * kwnames
[] = {
13831 (char *) "variant", NULL
13834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13836 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13837 if (!SWIG_IsOK(ecode1
)) {
13838 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13840 arg1
= static_cast< wxWindowVariant
>(val1
);
13843 if (!wxPyCheckForApp()) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13856 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13859 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13860 return SWIG_Py_Void();
13863 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13864 return SWIG_Python_InitShadowInstance(args
);
13867 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
= 0;
13870 wxMouseEvent
*arg2
= 0 ;
13873 wxTextUrlEvent
*result
= 0 ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 PyObject
* obj2
= 0 ;
13885 PyObject
* obj3
= 0 ;
13886 char * kwnames
[] = {
13887 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13891 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13892 if (!SWIG_IsOK(ecode1
)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13895 arg1
= static_cast< int >(val1
);
13896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13897 if (!SWIG_IsOK(res2
)) {
13898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13903 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13904 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13905 if (!SWIG_IsOK(ecode3
)) {
13906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13908 arg3
= static_cast< long >(val3
);
13909 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13910 if (!SWIG_IsOK(ecode4
)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13913 arg4
= static_cast< long >(val4
);
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13927 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13928 PyObject
*resultobj
= 0;
13929 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13930 wxMouseEvent
*result
= 0 ;
13933 PyObject
*swig_obj
[1] ;
13935 if (!args
) SWIG_fail
;
13936 swig_obj
[0] = args
;
13937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13938 if (!SWIG_IsOK(res1
)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13941 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13946 result
= (wxMouseEvent
*) &_result_ref
;
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13958 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13959 PyObject
*resultobj
= 0;
13960 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13964 PyObject
*swig_obj
[1] ;
13966 if (!args
) SWIG_fail
;
13967 swig_obj
[0] = args
;
13968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13972 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= SWIG_From_long(static_cast< long >(result
));
13986 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13987 PyObject
*resultobj
= 0;
13988 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13992 PyObject
*swig_obj
[1] ;
13994 if (!args
) SWIG_fail
;
13995 swig_obj
[0] = args
;
13996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13997 if (!SWIG_IsOK(res1
)) {
13998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14000 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_From_long(static_cast< long >(result
));
14014 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14017 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14018 return SWIG_Py_Void();
14021 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14022 return SWIG_Python_InitShadowInstance(args
);
14025 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14026 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14031 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14032 PyObject
*pyobj
= 0;
14036 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14038 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14045 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
= 0;
14047 wxWindow
*arg1
= (wxWindow
*) 0 ;
14048 int arg2
= (int) -1 ;
14049 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14050 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14051 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14052 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14053 long arg5
= (long) wxSB_HORIZONTAL
;
14054 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14055 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14056 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14058 wxScrollBar
*result
= 0 ;
14069 bool temp7
= false ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 PyObject
* obj2
= 0 ;
14073 PyObject
* obj3
= 0 ;
14074 PyObject
* obj4
= 0 ;
14075 PyObject
* obj5
= 0 ;
14076 PyObject
* obj6
= 0 ;
14077 char * kwnames
[] = {
14078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14083 if (!SWIG_IsOK(res1
)) {
14084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14089 if (!SWIG_IsOK(ecode2
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14092 arg2
= static_cast< int >(val2
);
14097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14107 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14108 if (!SWIG_IsOK(ecode5
)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14111 arg5
= static_cast< long >(val5
);
14114 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14115 if (!SWIG_IsOK(res6
)) {
14116 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14121 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14125 arg7
= wxString_in_helper(obj6
);
14126 if (arg7
== NULL
) SWIG_fail
;
14131 if (!wxPyCheckForApp()) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14152 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14153 PyObject
*resultobj
= 0;
14154 wxScrollBar
*result
= 0 ;
14156 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14158 if (!wxPyCheckForApp()) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (wxScrollBar
*)new wxScrollBar();
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14171 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= 0;
14173 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14174 wxWindow
*arg2
= (wxWindow
*) 0 ;
14175 int arg3
= (int) -1 ;
14176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14180 long arg6
= (long) wxSB_HORIZONTAL
;
14181 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14182 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14183 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14184 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14198 bool temp8
= false ;
14199 PyObject
* obj0
= 0 ;
14200 PyObject
* obj1
= 0 ;
14201 PyObject
* obj2
= 0 ;
14202 PyObject
* obj3
= 0 ;
14203 PyObject
* obj4
= 0 ;
14204 PyObject
* obj5
= 0 ;
14205 PyObject
* obj6
= 0 ;
14206 PyObject
* obj7
= 0 ;
14207 char * kwnames
[] = {
14208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14213 if (!SWIG_IsOK(res1
)) {
14214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14216 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14218 if (!SWIG_IsOK(res2
)) {
14219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14224 if (!SWIG_IsOK(ecode3
)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14227 arg3
= static_cast< int >(val3
);
14232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14242 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14243 if (!SWIG_IsOK(ecode6
)) {
14244 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14246 arg6
= static_cast< long >(val6
);
14249 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14250 if (!SWIG_IsOK(res7
)) {
14251 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14256 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14260 arg8
= wxString_in_helper(obj7
);
14261 if (arg8
== NULL
) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14288 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14289 PyObject
*resultobj
= 0;
14290 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14294 PyObject
*swig_obj
[1] ;
14296 if (!args
) SWIG_fail
;
14297 swig_obj
[0] = args
;
14298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14299 if (!SWIG_IsOK(res1
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14302 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= SWIG_From_int(static_cast< int >(result
));
14316 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14317 PyObject
*resultobj
= 0;
14318 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14322 PyObject
*swig_obj
[1] ;
14324 if (!args
) SWIG_fail
;
14325 swig_obj
[0] = args
;
14326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14327 if (!SWIG_IsOK(res1
)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14330 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_From_int(static_cast< int >(result
));
14344 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14345 PyObject
*resultobj
= 0;
14346 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14350 PyObject
*swig_obj
[1] ;
14352 if (!args
) SWIG_fail
;
14353 swig_obj
[0] = args
;
14354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14355 if (!SWIG_IsOK(res1
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14358 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_From_int(static_cast< int >(result
));
14372 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14373 PyObject
*resultobj
= 0;
14374 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14378 PyObject
*swig_obj
[1] ;
14380 if (!args
) SWIG_fail
;
14381 swig_obj
[0] = args
;
14382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14383 if (!SWIG_IsOK(res1
)) {
14384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14386 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= SWIG_From_int(static_cast< int >(result
));
14400 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(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_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14414 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14430 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
= 0;
14432 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 PyObject
* obj1
= 0 ;
14440 char * kwnames
[] = {
14441 (char *) "self",(char *) "viewStart", NULL
14444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14446 if (!SWIG_IsOK(res1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14449 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14451 if (!SWIG_IsOK(ecode2
)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14454 arg2
= static_cast< int >(val2
);
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 (arg1
)->SetThumbPosition(arg2
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_Py_Void();
14468 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
= 0;
14470 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14471 SwigValueWrapper
<wxVisualAttributes
> result
;
14474 PyObject
* obj0
= 0 ;
14475 char * kwnames
[] = {
14476 (char *) "variant", NULL
14479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14481 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14482 if (!SWIG_IsOK(ecode1
)) {
14483 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14485 arg1
= static_cast< wxWindowVariant
>(val1
);
14488 if (!wxPyCheckForApp()) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14501 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14504 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14505 return SWIG_Py_Void();
14508 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14509 return SWIG_Python_InitShadowInstance(args
);
14512 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14513 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14518 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14519 PyObject
*pyobj
= 0;
14523 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14525 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14532 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14533 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14538 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14539 PyObject
*pyobj
= 0;
14543 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14545 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14552 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
= 0;
14554 wxWindow
*arg1
= (wxWindow
*) 0 ;
14555 int arg2
= (int) -1 ;
14556 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14557 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14558 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14559 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14560 long arg5
= (long) wxSP_HORIZONTAL
;
14561 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14562 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14563 wxSpinButton
*result
= 0 ;
14572 bool temp6
= false ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 PyObject
* obj2
= 0 ;
14576 PyObject
* obj3
= 0 ;
14577 PyObject
* obj4
= 0 ;
14578 PyObject
* obj5
= 0 ;
14579 char * kwnames
[] = {
14580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14585 if (!SWIG_IsOK(res1
)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14591 if (!SWIG_IsOK(ecode2
)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14594 arg2
= static_cast< int >(val2
);
14599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14609 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14610 if (!SWIG_IsOK(ecode5
)) {
14611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14613 arg5
= static_cast< long >(val5
);
14617 arg6
= wxString_in_helper(obj5
);
14618 if (arg6
== NULL
) SWIG_fail
;
14623 if (!wxPyCheckForApp()) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14644 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14645 PyObject
*resultobj
= 0;
14646 wxSpinButton
*result
= 0 ;
14648 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14650 if (!wxPyCheckForApp()) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (wxSpinButton
*)new wxSpinButton();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14663 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
= 0;
14665 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14666 wxWindow
*arg2
= (wxWindow
*) 0 ;
14667 int arg3
= (int) -1 ;
14668 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14669 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14670 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14671 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14672 long arg6
= (long) wxSP_HORIZONTAL
;
14673 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14674 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14686 bool temp7
= false ;
14687 PyObject
* obj0
= 0 ;
14688 PyObject
* obj1
= 0 ;
14689 PyObject
* obj2
= 0 ;
14690 PyObject
* obj3
= 0 ;
14691 PyObject
* obj4
= 0 ;
14692 PyObject
* obj5
= 0 ;
14693 PyObject
* obj6
= 0 ;
14694 char * kwnames
[] = {
14695 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14700 if (!SWIG_IsOK(res1
)) {
14701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14703 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14705 if (!SWIG_IsOK(res2
)) {
14706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14711 if (!SWIG_IsOK(ecode3
)) {
14712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14714 arg3
= static_cast< int >(val3
);
14719 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14725 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14729 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14730 if (!SWIG_IsOK(ecode6
)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14733 arg6
= static_cast< long >(val6
);
14737 arg7
= wxString_in_helper(obj6
);
14738 if (arg7
== NULL
) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14765 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14766 PyObject
*resultobj
= 0;
14767 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14771 PyObject
*swig_obj
[1] ;
14773 if (!args
) SWIG_fail
;
14774 swig_obj
[0] = args
;
14775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14779 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_From_int(static_cast< int >(result
));
14793 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14794 PyObject
*resultobj
= 0;
14795 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14799 PyObject
*swig_obj
[1] ;
14801 if (!args
) SWIG_fail
;
14802 swig_obj
[0] = args
;
14803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14804 if (!SWIG_IsOK(res1
)) {
14805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14807 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= SWIG_From_int(static_cast< int >(result
));
14821 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14822 PyObject
*resultobj
= 0;
14823 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14827 PyObject
*swig_obj
[1] ;
14829 if (!args
) SWIG_fail
;
14830 swig_obj
[0] = args
;
14831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14832 if (!SWIG_IsOK(res1
)) {
14833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14835 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= SWIG_From_int(static_cast< int >(result
));
14849 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
= 0;
14851 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 char * kwnames
[] = {
14860 (char *) "self",(char *) "val", NULL
14863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14865 if (!SWIG_IsOK(res1
)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14868 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14870 if (!SWIG_IsOK(ecode2
)) {
14871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14873 arg2
= static_cast< int >(val2
);
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 (arg1
)->SetValue(arg2
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= SWIG_Py_Void();
14887 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
= 0;
14889 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char * kwnames
[] = {
14898 (char *) "self",(char *) "minVal", NULL
14901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14903 if (!SWIG_IsOK(res1
)) {
14904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14906 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14908 if (!SWIG_IsOK(ecode2
)) {
14909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14911 arg2
= static_cast< int >(val2
);
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 (arg1
)->SetMin(arg2
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_Py_Void();
14925 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
= 0;
14927 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 PyObject
* obj1
= 0 ;
14935 char * kwnames
[] = {
14936 (char *) "self",(char *) "maxVal", NULL
14939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14944 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14946 if (!SWIG_IsOK(ecode2
)) {
14947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14949 arg2
= static_cast< int >(val2
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 (arg1
)->SetMax(arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_Py_Void();
14963 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
= 0;
14965 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 PyObject
* obj2
= 0 ;
14977 char * kwnames
[] = {
14978 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14983 if (!SWIG_IsOK(res1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14986 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14988 if (!SWIG_IsOK(ecode2
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14991 arg2
= static_cast< int >(val2
);
14992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14993 if (!SWIG_IsOK(ecode3
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14996 arg3
= static_cast< int >(val3
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 (arg1
)->SetRange(arg2
,arg3
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= SWIG_Py_Void();
15010 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15011 PyObject
*resultobj
= 0;
15012 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15016 PyObject
*swig_obj
[1] ;
15018 if (!args
) SWIG_fail
;
15019 swig_obj
[0] = args
;
15020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15024 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15040 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
= 0;
15042 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15043 SwigValueWrapper
<wxVisualAttributes
> result
;
15046 PyObject
* obj0
= 0 ;
15047 char * kwnames
[] = {
15048 (char *) "variant", NULL
15051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15053 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15054 if (!SWIG_IsOK(ecode1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15057 arg1
= static_cast< wxWindowVariant
>(val1
);
15060 if (!wxPyCheckForApp()) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15073 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15076 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15077 return SWIG_Py_Void();
15080 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15081 return SWIG_Python_InitShadowInstance(args
);
15084 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
= 0;
15086 wxWindow
*arg1
= (wxWindow
*) 0 ;
15087 int arg2
= (int) -1 ;
15088 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15089 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15094 long arg6
= (long) wxSP_ARROW_KEYS
;
15095 int arg7
= (int) 0 ;
15096 int arg8
= (int) 100 ;
15097 int arg9
= (int) 0 ;
15098 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15099 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15100 wxSpinCtrl
*result
= 0 ;
15105 bool temp3
= false ;
15116 bool temp10
= false ;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 PyObject
* obj2
= 0 ;
15120 PyObject
* obj3
= 0 ;
15121 PyObject
* obj4
= 0 ;
15122 PyObject
* obj5
= 0 ;
15123 PyObject
* obj6
= 0 ;
15124 PyObject
* obj7
= 0 ;
15125 PyObject
* obj8
= 0 ;
15126 PyObject
* obj9
= 0 ;
15127 char * kwnames
[] = {
15128 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15136 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15139 if (!SWIG_IsOK(ecode2
)) {
15140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15142 arg2
= static_cast< int >(val2
);
15146 arg3
= wxString_in_helper(obj2
);
15147 if (arg3
== NULL
) SWIG_fail
;
15154 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15160 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15164 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15165 if (!SWIG_IsOK(ecode6
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15168 arg6
= static_cast< long >(val6
);
15171 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15172 if (!SWIG_IsOK(ecode7
)) {
15173 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15175 arg7
= static_cast< int >(val7
);
15178 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15179 if (!SWIG_IsOK(ecode8
)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15182 arg8
= static_cast< int >(val8
);
15185 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15186 if (!SWIG_IsOK(ecode9
)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15189 arg9
= static_cast< int >(val9
);
15193 arg10
= wxString_in_helper(obj9
);
15194 if (arg10
== NULL
) SWIG_fail
;
15199 if (!wxPyCheckForApp()) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15228 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15229 PyObject
*resultobj
= 0;
15230 wxSpinCtrl
*result
= 0 ;
15232 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15234 if (!wxPyCheckForApp()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15247 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
= 0;
15249 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15250 wxWindow
*arg2
= (wxWindow
*) 0 ;
15251 int arg3
= (int) -1 ;
15252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15254 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15255 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15256 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15257 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15258 long arg7
= (long) wxSP_ARROW_KEYS
;
15259 int arg8
= (int) 0 ;
15260 int arg9
= (int) 100 ;
15261 int arg10
= (int) 0 ;
15262 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15263 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15271 bool temp4
= false ;
15282 bool temp11
= false ;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 PyObject
* obj2
= 0 ;
15286 PyObject
* obj3
= 0 ;
15287 PyObject
* obj4
= 0 ;
15288 PyObject
* obj5
= 0 ;
15289 PyObject
* obj6
= 0 ;
15290 PyObject
* obj7
= 0 ;
15291 PyObject
* obj8
= 0 ;
15292 PyObject
* obj9
= 0 ;
15293 PyObject
* obj10
= 0 ;
15294 char * kwnames
[] = {
15295 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15300 if (!SWIG_IsOK(res1
)) {
15301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15303 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15305 if (!SWIG_IsOK(res2
)) {
15306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15311 if (!SWIG_IsOK(ecode3
)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15314 arg3
= static_cast< int >(val3
);
15318 arg4
= wxString_in_helper(obj3
);
15319 if (arg4
== NULL
) SWIG_fail
;
15326 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15332 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15336 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15337 if (!SWIG_IsOK(ecode7
)) {
15338 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15340 arg7
= static_cast< long >(val7
);
15343 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15344 if (!SWIG_IsOK(ecode8
)) {
15345 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15347 arg8
= static_cast< int >(val8
);
15350 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15351 if (!SWIG_IsOK(ecode9
)) {
15352 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15354 arg9
= static_cast< int >(val9
);
15357 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15358 if (!SWIG_IsOK(ecode10
)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15361 arg10
= static_cast< int >(val10
);
15365 arg11
= wxString_in_helper(obj10
);
15366 if (arg11
== NULL
) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15401 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15402 PyObject
*resultobj
= 0;
15403 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15407 PyObject
*swig_obj
[1] ;
15409 if (!args
) SWIG_fail
;
15410 swig_obj
[0] = args
;
15411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15412 if (!SWIG_IsOK(res1
)) {
15413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15415 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_From_int(static_cast< int >(result
));
15429 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
= 0;
15431 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char * kwnames
[] = {
15440 (char *) "self",(char *) "value", NULL
15443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15445 if (!SWIG_IsOK(res1
)) {
15446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15448 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15450 if (!SWIG_IsOK(ecode2
)) {
15451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15453 arg2
= static_cast< int >(val2
);
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 (arg1
)->SetValue(arg2
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_Py_Void();
15467 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
= 0;
15469 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15470 wxString
*arg2
= 0 ;
15473 bool temp2
= false ;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 char * kwnames
[] = {
15477 (char *) "self",(char *) "text", NULL
15480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15482 if (!SWIG_IsOK(res1
)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15485 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15487 arg2
= wxString_in_helper(obj1
);
15488 if (arg2
== NULL
) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 (arg1
)->SetValue((wxString
const &)*arg2
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_Py_Void();
15512 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
= 0;
15514 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 PyObject
* obj2
= 0 ;
15526 char * kwnames
[] = {
15527 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15532 if (!SWIG_IsOK(res1
)) {
15533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15535 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15537 if (!SWIG_IsOK(ecode2
)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15540 arg2
= static_cast< int >(val2
);
15541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15542 if (!SWIG_IsOK(ecode3
)) {
15543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15545 arg3
= static_cast< int >(val3
);
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 (arg1
)->SetRange(arg2
,arg3
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_Py_Void();
15559 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15560 PyObject
*resultobj
= 0;
15561 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15565 PyObject
*swig_obj
[1] ;
15567 if (!args
) SWIG_fail
;
15568 swig_obj
[0] = args
;
15569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15570 if (!SWIG_IsOK(res1
)) {
15571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15573 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= SWIG_From_int(static_cast< int >(result
));
15587 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15588 PyObject
*resultobj
= 0;
15589 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15593 PyObject
*swig_obj
[1] ;
15595 if (!args
) SWIG_fail
;
15596 swig_obj
[0] = args
;
15597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15598 if (!SWIG_IsOK(res1
)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15601 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_From_int(static_cast< int >(result
));
15615 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
= 0;
15617 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15626 PyObject
* obj0
= 0 ;
15627 PyObject
* obj1
= 0 ;
15628 PyObject
* obj2
= 0 ;
15629 char * kwnames
[] = {
15630 (char *) "self",(char *) "from",(char *) "to", NULL
15633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15635 if (!SWIG_IsOK(res1
)) {
15636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15638 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15639 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15640 if (!SWIG_IsOK(ecode2
)) {
15641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15643 arg2
= static_cast< long >(val2
);
15644 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15645 if (!SWIG_IsOK(ecode3
)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15648 arg3
= static_cast< long >(val3
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 (arg1
)->SetSelection(arg2
,arg3
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_Py_Void();
15662 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
= 0;
15664 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15665 SwigValueWrapper
<wxVisualAttributes
> result
;
15668 PyObject
* obj0
= 0 ;
15669 char * kwnames
[] = {
15670 (char *) "variant", NULL
15673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15675 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15676 if (!SWIG_IsOK(ecode1
)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15679 arg1
= static_cast< wxWindowVariant
>(val1
);
15682 if (!wxPyCheckForApp()) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15695 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15698 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15699 return SWIG_Py_Void();
15702 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15703 return SWIG_Python_InitShadowInstance(args
);
15706 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15709 int arg2
= (int) 0 ;
15710 wxSpinEvent
*result
= 0 ;
15715 PyObject
* obj0
= 0 ;
15716 PyObject
* obj1
= 0 ;
15717 char * kwnames
[] = {
15718 (char *) "commandType",(char *) "winid", NULL
15721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15724 if (!SWIG_IsOK(ecode1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15727 arg1
= static_cast< wxEventType
>(val1
);
15730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15731 if (!SWIG_IsOK(ecode2
)) {
15732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15734 arg2
= static_cast< int >(val2
);
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15749 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15750 PyObject
*resultobj
= 0;
15751 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15755 PyObject
*swig_obj
[1] ;
15757 if (!args
) SWIG_fail
;
15758 swig_obj
[0] = args
;
15759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15760 if (!SWIG_IsOK(res1
)) {
15761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15763 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15770 resultobj
= SWIG_From_int(static_cast< int >(result
));
15777 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
= 0;
15779 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15785 PyObject
* obj0
= 0 ;
15786 PyObject
* obj1
= 0 ;
15787 char * kwnames
[] = {
15788 (char *) "self",(char *) "pos", NULL
15791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15793 if (!SWIG_IsOK(res1
)) {
15794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15796 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15798 if (!SWIG_IsOK(ecode2
)) {
15799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15801 arg2
= static_cast< int >(val2
);
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 (arg1
)->SetPosition(arg2
);
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= SWIG_Py_Void();
15815 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15818 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15819 return SWIG_Py_Void();
15822 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15823 return SWIG_Python_InitShadowInstance(args
);
15826 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15827 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15832 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15833 PyObject
*pyobj
= 0;
15837 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15839 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15846 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15847 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15852 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15853 PyObject
*pyobj
= 0;
15857 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15859 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15866 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
= 0;
15868 wxWindow
*arg1
= (wxWindow
*) 0 ;
15869 int arg2
= (int) -1 ;
15870 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15871 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15876 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15877 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15878 int arg7
= (int) 0 ;
15879 long arg8
= (long) wxRA_HORIZONTAL
;
15880 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15881 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15882 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15883 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15884 wxRadioBox
*result
= 0 ;
15889 bool temp3
= false ;
15892 bool temp6
= false ;
15899 bool temp10
= false ;
15900 PyObject
* obj0
= 0 ;
15901 PyObject
* obj1
= 0 ;
15902 PyObject
* obj2
= 0 ;
15903 PyObject
* obj3
= 0 ;
15904 PyObject
* obj4
= 0 ;
15905 PyObject
* obj5
= 0 ;
15906 PyObject
* obj6
= 0 ;
15907 PyObject
* obj7
= 0 ;
15908 PyObject
* obj8
= 0 ;
15909 PyObject
* obj9
= 0 ;
15910 char * kwnames
[] = {
15911 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15916 if (!SWIG_IsOK(res1
)) {
15917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15919 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15922 if (!SWIG_IsOK(ecode2
)) {
15923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15925 arg2
= static_cast< int >(val2
);
15929 arg3
= wxString_in_helper(obj2
);
15930 if (arg3
== NULL
) SWIG_fail
;
15937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15948 if (! PySequence_Check(obj5
)) {
15949 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15952 arg6
= new wxArrayString
;
15954 int i
, len
=PySequence_Length(obj5
);
15955 for (i
=0; i
<len
; i
++) {
15956 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15957 wxString
* s
= wxString_in_helper(item
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15966 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15967 if (!SWIG_IsOK(ecode7
)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15970 arg7
= static_cast< int >(val7
);
15973 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15974 if (!SWIG_IsOK(ecode8
)) {
15975 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15977 arg8
= static_cast< long >(val8
);
15980 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15981 if (!SWIG_IsOK(res9
)) {
15982 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15987 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15991 arg10
= wxString_in_helper(obj9
);
15992 if (arg10
== NULL
) SWIG_fail
;
15997 if (!wxPyCheckForApp()) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 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
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16009 if (temp6
) delete arg6
;
16022 if (temp6
) delete arg6
;
16032 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16033 PyObject
*resultobj
= 0;
16034 wxRadioBox
*result
= 0 ;
16036 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16038 if (!wxPyCheckForApp()) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 result
= (wxRadioBox
*)new wxRadioBox();
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16051 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
= 0;
16053 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16054 wxWindow
*arg2
= (wxWindow
*) 0 ;
16055 int arg3
= (int) -1 ;
16056 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16057 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16058 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16059 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16060 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16061 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16062 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16063 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16064 int arg8
= (int) 0 ;
16065 long arg9
= (long) wxRA_HORIZONTAL
;
16066 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16067 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16068 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16069 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16077 bool temp4
= false ;
16080 bool temp7
= false ;
16087 bool temp11
= false ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 PyObject
* obj2
= 0 ;
16091 PyObject
* obj3
= 0 ;
16092 PyObject
* obj4
= 0 ;
16093 PyObject
* obj5
= 0 ;
16094 PyObject
* obj6
= 0 ;
16095 PyObject
* obj7
= 0 ;
16096 PyObject
* obj8
= 0 ;
16097 PyObject
* obj9
= 0 ;
16098 PyObject
* obj10
= 0 ;
16099 char * kwnames
[] = {
16100 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16105 if (!SWIG_IsOK(res1
)) {
16106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16108 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16110 if (!SWIG_IsOK(res2
)) {
16111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16113 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16116 if (!SWIG_IsOK(ecode3
)) {
16117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16119 arg3
= static_cast< int >(val3
);
16123 arg4
= wxString_in_helper(obj3
);
16124 if (arg4
== NULL
) SWIG_fail
;
16131 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16137 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16142 if (! PySequence_Check(obj6
)) {
16143 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16146 arg7
= new wxArrayString
;
16148 int i
, len
=PySequence_Length(obj6
);
16149 for (i
=0; i
<len
; i
++) {
16150 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16151 wxString
* s
= wxString_in_helper(item
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16160 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16161 if (!SWIG_IsOK(ecode8
)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16164 arg8
= static_cast< int >(val8
);
16167 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16168 if (!SWIG_IsOK(ecode9
)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16171 arg9
= static_cast< long >(val9
);
16174 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16175 if (!SWIG_IsOK(res10
)) {
16176 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16181 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16185 arg11
= wxString_in_helper(obj10
);
16186 if (arg11
== NULL
) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 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
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16204 if (temp7
) delete arg7
;
16217 if (temp7
) delete arg7
;
16227 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
= 0;
16229 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 char * kwnames
[] = {
16238 (char *) "self",(char *) "n", NULL
16241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16246 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16248 if (!SWIG_IsOK(ecode2
)) {
16249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16251 arg2
= static_cast< int >(val2
);
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 (arg1
)->SetSelection(arg2
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= SWIG_Py_Void();
16265 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16266 PyObject
*resultobj
= 0;
16267 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16271 PyObject
*swig_obj
[1] ;
16273 if (!args
) SWIG_fail
;
16274 swig_obj
[0] = args
;
16275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16276 if (!SWIG_IsOK(res1
)) {
16277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16279 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= SWIG_From_int(static_cast< int >(result
));
16293 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16294 PyObject
*resultobj
= 0;
16295 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16299 PyObject
*swig_obj
[1] ;
16301 if (!args
) SWIG_fail
;
16302 swig_obj
[0] = args
;
16303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16304 if (!SWIG_IsOK(res1
)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16307 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16327 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
= 0;
16329 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16330 wxString
*arg2
= 0 ;
16334 bool temp2
= false ;
16335 PyObject
* obj0
= 0 ;
16336 PyObject
* obj1
= 0 ;
16337 char * kwnames
[] = {
16338 (char *) "self",(char *) "s", NULL
16341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16346 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16348 arg2
= wxString_in_helper(obj1
);
16349 if (arg2
== NULL
) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16376 PyObject
*resultobj
= 0;
16377 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16381 PyObject
*swig_obj
[1] ;
16383 if (!args
) SWIG_fail
;
16384 swig_obj
[0] = args
;
16385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16386 if (!SWIG_IsOK(res1
)) {
16387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16389 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16403 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
= 0;
16405 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16406 wxString
*arg2
= 0 ;
16410 bool temp2
= false ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char * kwnames
[] = {
16414 (char *) "self",(char *) "s", NULL
16417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16419 if (!SWIG_IsOK(res1
)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16422 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16424 arg2
= wxString_in_helper(obj1
);
16425 if (arg2
== NULL
) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= SWIG_From_int(static_cast< int >(result
));
16449 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
= 0;
16451 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 PyObject
* obj1
= 0 ;
16460 char * kwnames
[] = {
16461 (char *) "self",(char *) "n", NULL
16464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16466 if (!SWIG_IsOK(res1
)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16469 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16471 if (!SWIG_IsOK(ecode2
)) {
16472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16474 arg2
= static_cast< int >(val2
);
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16494 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
= 0;
16496 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16498 wxString
*arg3
= 0 ;
16503 bool temp3
= false ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 PyObject
* obj2
= 0 ;
16507 char * kwnames
[] = {
16508 (char *) "self",(char *) "n",(char *) "label", NULL
16511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16513 if (!SWIG_IsOK(res1
)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16516 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16518 if (!SWIG_IsOK(ecode2
)) {
16519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16521 arg2
= static_cast< int >(val2
);
16523 arg3
= wxString_in_helper(obj2
);
16524 if (arg3
== NULL
) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_Py_Void();
16548 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
= 0;
16550 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16551 unsigned int arg2
;
16552 bool arg3
= (bool) true ;
16555 unsigned int val2
;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 PyObject
* obj2
= 0 ;
16562 char * kwnames
[] = {
16563 (char *) "self",(char *) "n",(char *) "enable", NULL
16566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16568 if (!SWIG_IsOK(res1
)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16571 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16572 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16573 if (!SWIG_IsOK(ecode2
)) {
16574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16576 arg2
= static_cast< unsigned int >(val2
);
16578 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16579 if (!SWIG_IsOK(ecode3
)) {
16580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16582 arg3
= static_cast< bool >(val3
);
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 (arg1
)->Enable(arg2
,arg3
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= SWIG_Py_Void();
16597 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
= 0;
16599 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16600 unsigned int arg2
;
16601 bool arg3
= (bool) true ;
16604 unsigned int val2
;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 PyObject
* obj2
= 0 ;
16611 char * kwnames
[] = {
16612 (char *) "self",(char *) "n",(char *) "show", NULL
16615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16617 if (!SWIG_IsOK(res1
)) {
16618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16620 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16621 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16622 if (!SWIG_IsOK(ecode2
)) {
16623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16625 arg2
= static_cast< unsigned int >(val2
);
16627 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16628 if (!SWIG_IsOK(ecode3
)) {
16629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16631 arg3
= static_cast< bool >(val3
);
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 (arg1
)->Show(arg2
,arg3
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= SWIG_Py_Void();
16646 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
= 0;
16648 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16649 unsigned int arg2
;
16653 unsigned int val2
;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 char * kwnames
[] = {
16658 (char *) "self",(char *) "n", NULL
16661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16663 if (!SWIG_IsOK(res1
)) {
16664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16666 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16667 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16668 if (!SWIG_IsOK(ecode2
)) {
16669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16671 arg2
= static_cast< unsigned int >(val2
);
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= 0;
16689 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16690 unsigned int arg2
;
16694 unsigned int val2
;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 char * kwnames
[] = {
16699 (char *) "self",(char *) "n", NULL
16702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16704 if (!SWIG_IsOK(res1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16707 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16708 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16709 if (!SWIG_IsOK(ecode2
)) {
16710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16712 arg2
= static_cast< unsigned int >(val2
);
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16728 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16729 PyObject
*resultobj
= 0;
16730 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16731 unsigned int result
;
16734 PyObject
*swig_obj
[1] ;
16736 if (!args
) SWIG_fail
;
16737 swig_obj
[0] = args
;
16738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16739 if (!SWIG_IsOK(res1
)) {
16740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16742 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16756 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16757 PyObject
*resultobj
= 0;
16758 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16759 unsigned int result
;
16762 PyObject
*swig_obj
[1] ;
16764 if (!args
) SWIG_fail
;
16765 swig_obj
[0] = args
;
16766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16767 if (!SWIG_IsOK(res1
)) {
16768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16770 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16784 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
= 0;
16786 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 PyObject
* obj3
= 0 ;
16803 char * kwnames
[] = {
16804 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16809 if (!SWIG_IsOK(res1
)) {
16810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16812 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16814 if (!SWIG_IsOK(ecode2
)) {
16815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16817 arg2
= static_cast< int >(val2
);
16818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16819 if (!SWIG_IsOK(ecode3
)) {
16820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16822 arg3
= static_cast< wxDirection
>(val3
);
16823 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16824 if (!SWIG_IsOK(ecode4
)) {
16825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16827 arg4
= static_cast< long >(val4
);
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= SWIG_From_int(static_cast< int >(result
));
16841 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16844 unsigned int arg2
;
16845 wxString
*arg3
= 0 ;
16848 unsigned int val2
;
16850 bool temp3
= false ;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 PyObject
* obj2
= 0 ;
16854 char * kwnames
[] = {
16855 (char *) "self",(char *) "item",(char *) "text", NULL
16858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16860 if (!SWIG_IsOK(res1
)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16863 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16864 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16865 if (!SWIG_IsOK(ecode2
)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16868 arg2
= static_cast< unsigned int >(val2
);
16870 arg3
= wxString_in_helper(obj2
);
16871 if (arg3
== NULL
) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= SWIG_Py_Void();
16895 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
= 0;
16897 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16898 unsigned int arg2
;
16899 wxToolTip
*result
= 0 ;
16902 unsigned int val2
;
16904 PyObject
* obj0
= 0 ;
16905 PyObject
* obj1
= 0 ;
16906 char * kwnames
[] = {
16907 (char *) "self",(char *) "item", NULL
16910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16912 if (!SWIG_IsOK(res1
)) {
16913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16915 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16916 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16917 if (!SWIG_IsOK(ecode2
)) {
16918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16920 arg2
= static_cast< unsigned int >(val2
);
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16936 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= 0;
16938 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16939 unsigned int arg2
;
16940 wxString
*arg3
= 0 ;
16943 unsigned int val2
;
16945 bool temp3
= false ;
16946 PyObject
* obj0
= 0 ;
16947 PyObject
* obj1
= 0 ;
16948 PyObject
* obj2
= 0 ;
16949 char * kwnames
[] = {
16950 (char *) "self",(char *) "n",(char *) "helpText", NULL
16953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16955 if (!SWIG_IsOK(res1
)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16958 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16959 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16960 if (!SWIG_IsOK(ecode2
)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16963 arg2
= static_cast< unsigned int >(val2
);
16965 arg3
= wxString_in_helper(obj2
);
16966 if (arg3
== NULL
) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= SWIG_Py_Void();
16990 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
= 0;
16992 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16993 unsigned int arg2
;
16997 unsigned int val2
;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 char * kwnames
[] = {
17002 (char *) "self",(char *) "n", NULL
17005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17007 if (!SWIG_IsOK(res1
)) {
17008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17010 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17011 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17012 if (!SWIG_IsOK(ecode2
)) {
17013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17015 arg2
= static_cast< unsigned int >(val2
);
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17035 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
= 0;
17037 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17038 SwigValueWrapper
<wxVisualAttributes
> result
;
17041 PyObject
* obj0
= 0 ;
17042 char * kwnames
[] = {
17043 (char *) "variant", NULL
17046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17049 if (!SWIG_IsOK(ecode1
)) {
17050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17052 arg1
= static_cast< wxWindowVariant
>(val1
);
17055 if (!wxPyCheckForApp()) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17068 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17071 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17072 return SWIG_Py_Void();
17075 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17076 return SWIG_Python_InitShadowInstance(args
);
17079 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
= 0;
17081 wxWindow
*arg1
= (wxWindow
*) 0 ;
17082 int arg2
= (int) -1 ;
17083 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17084 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17089 long arg6
= (long) 0 ;
17090 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17091 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17092 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17094 wxRadioButton
*result
= 0 ;
17099 bool temp3
= false ;
17106 bool temp8
= false ;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 PyObject
* obj2
= 0 ;
17110 PyObject
* obj3
= 0 ;
17111 PyObject
* obj4
= 0 ;
17112 PyObject
* obj5
= 0 ;
17113 PyObject
* obj6
= 0 ;
17114 PyObject
* obj7
= 0 ;
17115 char * kwnames
[] = {
17116 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17121 if (!SWIG_IsOK(res1
)) {
17122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17124 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17127 if (!SWIG_IsOK(ecode2
)) {
17128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17130 arg2
= static_cast< int >(val2
);
17134 arg3
= wxString_in_helper(obj2
);
17135 if (arg3
== NULL
) SWIG_fail
;
17142 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17148 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17152 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17153 if (!SWIG_IsOK(ecode6
)) {
17154 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17156 arg6
= static_cast< long >(val6
);
17159 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17160 if (!SWIG_IsOK(res7
)) {
17161 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17166 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17170 arg8
= wxString_in_helper(obj7
);
17171 if (arg8
== NULL
) SWIG_fail
;
17176 if (!wxPyCheckForApp()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17205 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17206 PyObject
*resultobj
= 0;
17207 wxRadioButton
*result
= 0 ;
17209 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17211 if (!wxPyCheckForApp()) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (wxRadioButton
*)new wxRadioButton();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17224 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
= 0;
17226 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17227 wxWindow
*arg2
= (wxWindow
*) 0 ;
17228 int arg3
= (int) -1 ;
17229 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17230 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17231 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17232 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17233 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17234 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17235 long arg7
= (long) 0 ;
17236 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17237 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17238 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17239 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17247 bool temp4
= false ;
17254 bool temp9
= false ;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 PyObject
* obj2
= 0 ;
17258 PyObject
* obj3
= 0 ;
17259 PyObject
* obj4
= 0 ;
17260 PyObject
* obj5
= 0 ;
17261 PyObject
* obj6
= 0 ;
17262 PyObject
* obj7
= 0 ;
17263 PyObject
* obj8
= 0 ;
17264 char * kwnames
[] = {
17265 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17270 if (!SWIG_IsOK(res1
)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17273 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17275 if (!SWIG_IsOK(res2
)) {
17276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17278 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17281 if (!SWIG_IsOK(ecode3
)) {
17282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17284 arg3
= static_cast< int >(val3
);
17288 arg4
= wxString_in_helper(obj3
);
17289 if (arg4
== NULL
) SWIG_fail
;
17296 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17302 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17306 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17307 if (!SWIG_IsOK(ecode7
)) {
17308 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17310 arg7
= static_cast< long >(val7
);
17313 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17314 if (!SWIG_IsOK(res8
)) {
17315 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17320 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17324 arg9
= wxString_in_helper(obj8
);
17325 if (arg9
== NULL
) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17360 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17361 PyObject
*resultobj
= 0;
17362 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17366 PyObject
*swig_obj
[1] ;
17368 if (!args
) SWIG_fail
;
17369 swig_obj
[0] = args
;
17370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17371 if (!SWIG_IsOK(res1
)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17374 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (bool)(arg1
)->GetValue();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17390 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
= 0;
17392 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 char * kwnames
[] = {
17401 (char *) "self",(char *) "value", NULL
17404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17406 if (!SWIG_IsOK(res1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17409 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17410 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17411 if (!SWIG_IsOK(ecode2
)) {
17412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17414 arg2
= static_cast< bool >(val2
);
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 (arg1
)->SetValue(arg2
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_Py_Void();
17428 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
= 0;
17430 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17431 SwigValueWrapper
<wxVisualAttributes
> result
;
17434 PyObject
* obj0
= 0 ;
17435 char * kwnames
[] = {
17436 (char *) "variant", NULL
17439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17442 if (!SWIG_IsOK(ecode1
)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17445 arg1
= static_cast< wxWindowVariant
>(val1
);
17448 if (!wxPyCheckForApp()) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17461 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17464 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17465 return SWIG_Py_Void();
17468 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17469 return SWIG_Python_InitShadowInstance(args
);
17472 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17473 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17478 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17479 PyObject
*pyobj
= 0;
17483 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17485 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17492 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
= 0;
17494 wxWindow
*arg1
= (wxWindow
*) 0 ;
17495 int arg2
= (int) -1 ;
17496 int arg3
= (int) 0 ;
17497 int arg4
= (int) 0 ;
17498 int arg5
= (int) 100 ;
17499 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17500 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17501 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17502 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17503 long arg8
= (long) wxSL_HORIZONTAL
;
17504 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17505 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17506 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17507 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17508 wxSlider
*result
= 0 ;
17525 bool temp10
= false ;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 PyObject
* obj2
= 0 ;
17529 PyObject
* obj3
= 0 ;
17530 PyObject
* obj4
= 0 ;
17531 PyObject
* obj5
= 0 ;
17532 PyObject
* obj6
= 0 ;
17533 PyObject
* obj7
= 0 ;
17534 PyObject
* obj8
= 0 ;
17535 PyObject
* obj9
= 0 ;
17536 char * kwnames
[] = {
17537 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17542 if (!SWIG_IsOK(res1
)) {
17543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17548 if (!SWIG_IsOK(ecode2
)) {
17549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17551 arg2
= static_cast< int >(val2
);
17554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17555 if (!SWIG_IsOK(ecode3
)) {
17556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17558 arg3
= static_cast< int >(val3
);
17561 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17562 if (!SWIG_IsOK(ecode4
)) {
17563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17565 arg4
= static_cast< int >(val4
);
17568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17569 if (!SWIG_IsOK(ecode5
)) {
17570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17572 arg5
= static_cast< int >(val5
);
17577 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17583 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17587 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17588 if (!SWIG_IsOK(ecode8
)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17591 arg8
= static_cast< long >(val8
);
17594 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17595 if (!SWIG_IsOK(res9
)) {
17596 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17601 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17605 arg10
= wxString_in_helper(obj9
);
17606 if (arg10
== NULL
) SWIG_fail
;
17611 if (!wxPyCheckForApp()) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17632 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17633 PyObject
*resultobj
= 0;
17634 wxSlider
*result
= 0 ;
17636 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17638 if (!wxPyCheckForApp()) SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= (wxSlider
*)new wxSlider();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17651 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
= 0;
17653 wxSlider
*arg1
= (wxSlider
*) 0 ;
17654 wxWindow
*arg2
= (wxWindow
*) 0 ;
17655 int arg3
= (int) -1 ;
17656 int arg4
= (int) 0 ;
17657 int arg5
= (int) 0 ;
17658 int arg6
= (int) 100 ;
17659 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17660 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17661 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17662 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17663 long arg9
= (long) wxSL_HORIZONTAL
;
17664 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17665 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17666 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17667 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17687 bool temp11
= false ;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 PyObject
* obj2
= 0 ;
17691 PyObject
* obj3
= 0 ;
17692 PyObject
* obj4
= 0 ;
17693 PyObject
* obj5
= 0 ;
17694 PyObject
* obj6
= 0 ;
17695 PyObject
* obj7
= 0 ;
17696 PyObject
* obj8
= 0 ;
17697 PyObject
* obj9
= 0 ;
17698 PyObject
* obj10
= 0 ;
17699 char * kwnames
[] = {
17700 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17705 if (!SWIG_IsOK(res1
)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17708 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17710 if (!SWIG_IsOK(res2
)) {
17711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17716 if (!SWIG_IsOK(ecode3
)) {
17717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17719 arg3
= static_cast< int >(val3
);
17722 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17723 if (!SWIG_IsOK(ecode4
)) {
17724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17726 arg4
= static_cast< int >(val4
);
17729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17730 if (!SWIG_IsOK(ecode5
)) {
17731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17733 arg5
= static_cast< int >(val5
);
17736 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17737 if (!SWIG_IsOK(ecode6
)) {
17738 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17740 arg6
= static_cast< int >(val6
);
17745 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17751 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17755 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17756 if (!SWIG_IsOK(ecode9
)) {
17757 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17759 arg9
= static_cast< long >(val9
);
17762 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17763 if (!SWIG_IsOK(res10
)) {
17764 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17769 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17773 arg11
= wxString_in_helper(obj10
);
17774 if (arg11
== NULL
) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17801 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17802 PyObject
*resultobj
= 0;
17803 wxSlider
*arg1
= (wxSlider
*) 0 ;
17807 PyObject
*swig_obj
[1] ;
17809 if (!args
) SWIG_fail
;
17810 swig_obj
[0] = args
;
17811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17812 if (!SWIG_IsOK(res1
)) {
17813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17815 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= SWIG_From_int(static_cast< int >(result
));
17829 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
= 0;
17831 wxSlider
*arg1
= (wxSlider
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char * kwnames
[] = {
17840 (char *) "self",(char *) "value", NULL
17843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17845 if (!SWIG_IsOK(res1
)) {
17846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17848 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17850 if (!SWIG_IsOK(ecode2
)) {
17851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17853 arg2
= static_cast< int >(val2
);
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->SetValue(arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= SWIG_Py_Void();
17867 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
= 0;
17869 wxSlider
*arg1
= (wxSlider
*) 0 ;
17878 PyObject
* obj0
= 0 ;
17879 PyObject
* obj1
= 0 ;
17880 PyObject
* obj2
= 0 ;
17881 char * kwnames
[] = {
17882 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17887 if (!SWIG_IsOK(res1
)) {
17888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17890 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17892 if (!SWIG_IsOK(ecode2
)) {
17893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17895 arg2
= static_cast< int >(val2
);
17896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17897 if (!SWIG_IsOK(ecode3
)) {
17898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17900 arg3
= static_cast< int >(val3
);
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 (arg1
)->SetRange(arg2
,arg3
);
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= SWIG_Py_Void();
17914 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17915 PyObject
*resultobj
= 0;
17916 wxSlider
*arg1
= (wxSlider
*) 0 ;
17920 PyObject
*swig_obj
[1] ;
17922 if (!args
) SWIG_fail
;
17923 swig_obj
[0] = args
;
17924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17925 if (!SWIG_IsOK(res1
)) {
17926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17928 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_From_int(static_cast< int >(result
));
17942 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17943 PyObject
*resultobj
= 0;
17944 wxSlider
*arg1
= (wxSlider
*) 0 ;
17948 PyObject
*swig_obj
[1] ;
17950 if (!args
) SWIG_fail
;
17951 swig_obj
[0] = args
;
17952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17953 if (!SWIG_IsOK(res1
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17956 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_From_int(static_cast< int >(result
));
17970 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
= 0;
17972 wxSlider
*arg1
= (wxSlider
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 PyObject
* obj1
= 0 ;
17980 char * kwnames
[] = {
17981 (char *) "self",(char *) "minValue", NULL
17984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17986 if (!SWIG_IsOK(res1
)) {
17987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17989 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17991 if (!SWIG_IsOK(ecode2
)) {
17992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17994 arg2
= static_cast< int >(val2
);
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 (arg1
)->SetMin(arg2
);
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_Py_Void();
18008 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
= 0;
18010 wxSlider
*arg1
= (wxSlider
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char * kwnames
[] = {
18019 (char *) "self",(char *) "maxValue", NULL
18022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18024 if (!SWIG_IsOK(res1
)) {
18025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18027 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18029 if (!SWIG_IsOK(ecode2
)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18032 arg2
= static_cast< int >(val2
);
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 (arg1
)->SetMax(arg2
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= SWIG_Py_Void();
18046 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
= 0;
18048 wxSlider
*arg1
= (wxSlider
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 char * kwnames
[] = {
18057 (char *) "self",(char *) "lineSize", NULL
18060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18062 if (!SWIG_IsOK(res1
)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18065 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18067 if (!SWIG_IsOK(ecode2
)) {
18068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18070 arg2
= static_cast< int >(val2
);
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 (arg1
)->SetLineSize(arg2
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_Py_Void();
18084 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
= 0;
18086 wxSlider
*arg1
= (wxSlider
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 char * kwnames
[] = {
18095 (char *) "self",(char *) "pageSize", NULL
18098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18100 if (!SWIG_IsOK(res1
)) {
18101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18103 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18105 if (!SWIG_IsOK(ecode2
)) {
18106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18108 arg2
= static_cast< int >(val2
);
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 (arg1
)->SetPageSize(arg2
);
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 resultobj
= SWIG_Py_Void();
18122 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18123 PyObject
*resultobj
= 0;
18124 wxSlider
*arg1
= (wxSlider
*) 0 ;
18128 PyObject
*swig_obj
[1] ;
18130 if (!args
) SWIG_fail
;
18131 swig_obj
[0] = args
;
18132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18136 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= SWIG_From_int(static_cast< int >(result
));
18150 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18151 PyObject
*resultobj
= 0;
18152 wxSlider
*arg1
= (wxSlider
*) 0 ;
18156 PyObject
*swig_obj
[1] ;
18158 if (!args
) SWIG_fail
;
18159 swig_obj
[0] = args
;
18160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18164 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= SWIG_From_int(static_cast< int >(result
));
18178 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
= 0;
18180 wxSlider
*arg1
= (wxSlider
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char * kwnames
[] = {
18189 (char *) "self",(char *) "lenPixels", NULL
18192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18194 if (!SWIG_IsOK(res1
)) {
18195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18197 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18199 if (!SWIG_IsOK(ecode2
)) {
18200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18202 arg2
= static_cast< int >(val2
);
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 (arg1
)->SetThumbLength(arg2
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_Py_Void();
18216 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18217 PyObject
*resultobj
= 0;
18218 wxSlider
*arg1
= (wxSlider
*) 0 ;
18222 PyObject
*swig_obj
[1] ;
18224 if (!args
) SWIG_fail
;
18225 swig_obj
[0] = args
;
18226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18227 if (!SWIG_IsOK(res1
)) {
18228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18230 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_From_int(static_cast< int >(result
));
18244 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
= 0;
18246 wxSlider
*arg1
= (wxSlider
*) 0 ;
18248 int arg3
= (int) 1 ;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 PyObject
* obj2
= 0 ;
18258 char * kwnames
[] = {
18259 (char *) "self",(char *) "n",(char *) "pos", NULL
18262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18264 if (!SWIG_IsOK(res1
)) {
18265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18267 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18269 if (!SWIG_IsOK(ecode2
)) {
18270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18272 arg2
= static_cast< int >(val2
);
18274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18275 if (!SWIG_IsOK(ecode3
)) {
18276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18278 arg3
= static_cast< int >(val3
);
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->SetTickFreq(arg2
,arg3
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_Py_Void();
18293 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18294 PyObject
*resultobj
= 0;
18295 wxSlider
*arg1
= (wxSlider
*) 0 ;
18299 PyObject
*swig_obj
[1] ;
18301 if (!args
) SWIG_fail
;
18302 swig_obj
[0] = args
;
18303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18304 if (!SWIG_IsOK(res1
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18307 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= SWIG_From_int(static_cast< int >(result
));
18321 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18322 PyObject
*resultobj
= 0;
18323 wxSlider
*arg1
= (wxSlider
*) 0 ;
18326 PyObject
*swig_obj
[1] ;
18328 if (!args
) SWIG_fail
;
18329 swig_obj
[0] = args
;
18330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18331 if (!SWIG_IsOK(res1
)) {
18332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18334 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->ClearTicks();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_Py_Void();
18348 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
= 0;
18350 wxSlider
*arg1
= (wxSlider
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char * kwnames
[] = {
18359 (char *) "self",(char *) "tickPos", NULL
18362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18367 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18369 if (!SWIG_IsOK(ecode2
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18372 arg2
= static_cast< int >(val2
);
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->SetTick(arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= SWIG_Py_Void();
18386 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18387 PyObject
*resultobj
= 0;
18388 wxSlider
*arg1
= (wxSlider
*) 0 ;
18391 PyObject
*swig_obj
[1] ;
18393 if (!args
) SWIG_fail
;
18394 swig_obj
[0] = args
;
18395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18396 if (!SWIG_IsOK(res1
)) {
18397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18399 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 (arg1
)->ClearSel();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= SWIG_Py_Void();
18413 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18414 PyObject
*resultobj
= 0;
18415 wxSlider
*arg1
= (wxSlider
*) 0 ;
18419 PyObject
*swig_obj
[1] ;
18421 if (!args
) SWIG_fail
;
18422 swig_obj
[0] = args
;
18423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18424 if (!SWIG_IsOK(res1
)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18427 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= SWIG_From_int(static_cast< int >(result
));
18441 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18442 PyObject
*resultobj
= 0;
18443 wxSlider
*arg1
= (wxSlider
*) 0 ;
18447 PyObject
*swig_obj
[1] ;
18449 if (!args
) SWIG_fail
;
18450 swig_obj
[0] = args
;
18451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18452 if (!SWIG_IsOK(res1
)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18455 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_From_int(static_cast< int >(result
));
18469 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
= 0;
18471 wxSlider
*arg1
= (wxSlider
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 PyObject
* obj2
= 0 ;
18483 char * kwnames
[] = {
18484 (char *) "self",(char *) "min",(char *) "max", NULL
18487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18489 if (!SWIG_IsOK(res1
)) {
18490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18492 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18494 if (!SWIG_IsOK(ecode2
)) {
18495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18497 arg2
= static_cast< int >(val2
);
18498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18499 if (!SWIG_IsOK(ecode3
)) {
18500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18502 arg3
= static_cast< int >(val3
);
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->SetSelection(arg2
,arg3
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_Py_Void();
18516 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
= 0;
18518 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18519 SwigValueWrapper
<wxVisualAttributes
> result
;
18522 PyObject
* obj0
= 0 ;
18523 char * kwnames
[] = {
18524 (char *) "variant", NULL
18527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18530 if (!SWIG_IsOK(ecode1
)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18533 arg1
= static_cast< wxWindowVariant
>(val1
);
18536 if (!wxPyCheckForApp()) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18549 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18552 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18553 return SWIG_Py_Void();
18556 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18557 return SWIG_Python_InitShadowInstance(args
);
18560 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18561 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18566 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18567 PyObject
*pyobj
= 0;
18571 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18573 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18580 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
= 0;
18582 wxWindow
*arg1
= (wxWindow
*) 0 ;
18583 int arg2
= (int) -1 ;
18584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18586 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18587 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18588 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18589 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18590 long arg6
= (long) 0 ;
18591 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18592 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18593 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18594 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18595 wxToggleButton
*result
= 0 ;
18600 bool temp3
= false ;
18607 bool temp8
= false ;
18608 PyObject
* obj0
= 0 ;
18609 PyObject
* obj1
= 0 ;
18610 PyObject
* obj2
= 0 ;
18611 PyObject
* obj3
= 0 ;
18612 PyObject
* obj4
= 0 ;
18613 PyObject
* obj5
= 0 ;
18614 PyObject
* obj6
= 0 ;
18615 PyObject
* obj7
= 0 ;
18616 char * kwnames
[] = {
18617 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18622 if (!SWIG_IsOK(res1
)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18625 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18628 if (!SWIG_IsOK(ecode2
)) {
18629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18631 arg2
= static_cast< int >(val2
);
18635 arg3
= wxString_in_helper(obj2
);
18636 if (arg3
== NULL
) SWIG_fail
;
18643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18653 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18654 if (!SWIG_IsOK(ecode6
)) {
18655 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18657 arg6
= static_cast< long >(val6
);
18660 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18661 if (!SWIG_IsOK(res7
)) {
18662 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18667 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18671 arg8
= wxString_in_helper(obj7
);
18672 if (arg8
== NULL
) SWIG_fail
;
18677 if (!wxPyCheckForApp()) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18706 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18707 PyObject
*resultobj
= 0;
18708 wxToggleButton
*result
= 0 ;
18710 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18712 if (!wxPyCheckForApp()) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (wxToggleButton
*)new wxToggleButton();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18725 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
= 0;
18727 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18728 wxWindow
*arg2
= (wxWindow
*) 0 ;
18729 int arg3
= (int) -1 ;
18730 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18731 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18732 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18733 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18734 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18735 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18736 long arg7
= (long) 0 ;
18737 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18738 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18739 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18740 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18748 bool temp4
= false ;
18755 bool temp9
= false ;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 PyObject
* obj2
= 0 ;
18759 PyObject
* obj3
= 0 ;
18760 PyObject
* obj4
= 0 ;
18761 PyObject
* obj5
= 0 ;
18762 PyObject
* obj6
= 0 ;
18763 PyObject
* obj7
= 0 ;
18764 PyObject
* obj8
= 0 ;
18765 char * kwnames
[] = {
18766 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18774 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18776 if (!SWIG_IsOK(res2
)) {
18777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18782 if (!SWIG_IsOK(ecode3
)) {
18783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18785 arg3
= static_cast< int >(val3
);
18789 arg4
= wxString_in_helper(obj3
);
18790 if (arg4
== NULL
) SWIG_fail
;
18797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18803 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18807 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18808 if (!SWIG_IsOK(ecode7
)) {
18809 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18811 arg7
= static_cast< long >(val7
);
18814 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18815 if (!SWIG_IsOK(res8
)) {
18816 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18821 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18825 arg9
= wxString_in_helper(obj8
);
18826 if (arg9
== NULL
) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18861 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
= 0;
18863 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 char * kwnames
[] = {
18872 (char *) "self",(char *) "value", NULL
18875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18877 if (!SWIG_IsOK(res1
)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18880 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18882 if (!SWIG_IsOK(ecode2
)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18885 arg2
= static_cast< bool >(val2
);
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 (arg1
)->SetValue(arg2
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= SWIG_Py_Void();
18899 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18900 PyObject
*resultobj
= 0;
18901 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18905 PyObject
*swig_obj
[1] ;
18907 if (!args
) SWIG_fail
;
18908 swig_obj
[0] = args
;
18909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18910 if (!SWIG_IsOK(res1
)) {
18911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18913 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18929 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= 0;
18931 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18932 SwigValueWrapper
<wxVisualAttributes
> result
;
18935 PyObject
* obj0
= 0 ;
18936 char * kwnames
[] = {
18937 (char *) "variant", NULL
18940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18942 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18943 if (!SWIG_IsOK(ecode1
)) {
18944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18946 arg1
= static_cast< wxWindowVariant
>(val1
);
18949 if (!wxPyCheckForApp()) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18962 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18965 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18966 return SWIG_Py_Void();
18969 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18970 return SWIG_Python_InitShadowInstance(args
);
18973 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18974 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18979 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18980 PyObject
*pyobj
= 0;
18984 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18986 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18993 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18994 PyObject
*resultobj
= 0;
18995 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18999 PyObject
*swig_obj
[1] ;
19001 if (!args
) SWIG_fail
;
19002 swig_obj
[0] = args
;
19003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19004 if (!SWIG_IsOK(res1
)) {
19005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19007 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19021 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
= 0;
19023 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19025 wxWindow
*result
= 0 ;
19030 PyObject
* obj0
= 0 ;
19031 PyObject
* obj1
= 0 ;
19032 char * kwnames
[] = {
19033 (char *) "self",(char *) "n", NULL
19036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19038 if (!SWIG_IsOK(res1
)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19041 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19042 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19043 if (!SWIG_IsOK(ecode2
)) {
19044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19046 arg2
= static_cast< size_t >(val2
);
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= wxPyMake_wxObject(result
, 0);
19062 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19063 PyObject
*resultobj
= 0;
19064 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19065 wxWindow
*result
= 0 ;
19068 PyObject
*swig_obj
[1] ;
19070 if (!args
) SWIG_fail
;
19071 swig_obj
[0] = args
;
19072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19073 if (!SWIG_IsOK(res1
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19076 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= wxPyMake_wxObject(result
, 0);
19092 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19093 PyObject
*resultobj
= 0;
19094 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19098 PyObject
*swig_obj
[1] ;
19100 if (!args
) SWIG_fail
;
19101 swig_obj
[0] = args
;
19102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19103 if (!SWIG_IsOK(res1
)) {
19104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19106 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= SWIG_From_int(static_cast< int >(result
));
19120 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
= 0;
19122 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19124 wxString
*arg3
= 0 ;
19130 bool temp3
= false ;
19131 PyObject
* obj0
= 0 ;
19132 PyObject
* obj1
= 0 ;
19133 PyObject
* obj2
= 0 ;
19134 char * kwnames
[] = {
19135 (char *) "self",(char *) "n",(char *) "strText", NULL
19138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19140 if (!SWIG_IsOK(res1
)) {
19141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19143 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19144 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19145 if (!SWIG_IsOK(ecode2
)) {
19146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19148 arg2
= static_cast< size_t >(val2
);
19150 arg3
= wxString_in_helper(obj2
);
19151 if (arg3
== NULL
) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19177 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
= 0;
19179 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char * kwnames
[] = {
19189 (char *) "self",(char *) "n", NULL
19192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19194 if (!SWIG_IsOK(res1
)) {
19195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19197 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19198 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19199 if (!SWIG_IsOK(ecode2
)) {
19200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19202 arg2
= static_cast< size_t >(val2
);
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19222 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= 0;
19224 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19225 wxImageList
*arg2
= (wxImageList
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char * kwnames
[] = {
19233 (char *) "self",(char *) "imageList", NULL
19236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19238 if (!SWIG_IsOK(res1
)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19241 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19242 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19243 if (!SWIG_IsOK(res2
)) {
19244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19246 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 (arg1
)->SetImageList(arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= SWIG_Py_Void();
19260 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
= 0;
19262 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19263 wxImageList
*arg2
= (wxImageList
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 char * kwnames
[] = {
19270 (char *) "self",(char *) "imageList", NULL
19273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19275 if (!SWIG_IsOK(res1
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19278 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19279 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19280 if (!SWIG_IsOK(res2
)) {
19281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 (arg1
)->AssignImageList(arg2
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= SWIG_Py_Void();
19296 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19297 PyObject
*resultobj
= 0;
19298 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19299 wxImageList
*result
= 0 ;
19302 PyObject
*swig_obj
[1] ;
19304 if (!args
) SWIG_fail
;
19305 swig_obj
[0] = args
;
19306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19307 if (!SWIG_IsOK(res1
)) {
19308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19310 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19326 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
= 0;
19328 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 PyObject
* obj1
= 0 ;
19337 char * kwnames
[] = {
19338 (char *) "self",(char *) "n", NULL
19341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19343 if (!SWIG_IsOK(res1
)) {
19344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19346 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19347 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19348 if (!SWIG_IsOK(ecode2
)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19351 arg2
= static_cast< size_t >(val2
);
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 resultobj
= SWIG_From_int(static_cast< int >(result
));
19365 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
= 0;
19367 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 PyObject
* obj2
= 0 ;
19380 char * kwnames
[] = {
19381 (char *) "self",(char *) "n",(char *) "imageId", NULL
19384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19389 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19390 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19391 if (!SWIG_IsOK(ecode2
)) {
19392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19394 arg2
= static_cast< size_t >(val2
);
19395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19396 if (!SWIG_IsOK(ecode3
)) {
19397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19399 arg3
= static_cast< int >(val3
);
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19415 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
= 0;
19417 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char * kwnames
[] = {
19425 (char *) "self",(char *) "size", NULL
19428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19430 if (!SWIG_IsOK(res1
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19433 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_Py_Void();
19451 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char * kwnames
[] = {
19462 (char *) "self",(char *) "sizePage", NULL
19465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19467 if (!SWIG_IsOK(res1
)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19470 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19488 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19489 PyObject
*resultobj
= 0;
19490 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19491 unsigned int result
;
19494 PyObject
*swig_obj
[1] ;
19496 if (!args
) SWIG_fail
;
19497 swig_obj
[0] = args
;
19498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19499 if (!SWIG_IsOK(res1
)) {
19500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19502 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19509 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19516 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
= 0;
19518 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19519 unsigned int arg2
;
19522 unsigned int val2
;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 char * kwnames
[] = {
19527 (char *) "self",(char *) "internalBorder", NULL
19530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19532 if (!SWIG_IsOK(res1
)) {
19533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19535 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19536 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19537 if (!SWIG_IsOK(ecode2
)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19540 arg2
= static_cast< unsigned int >(val2
);
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->SetInternalBorder(arg2
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_Py_Void();
19554 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19555 PyObject
*resultobj
= 0;
19556 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19560 PyObject
*swig_obj
[1] ;
19562 if (!args
) SWIG_fail
;
19563 swig_obj
[0] = args
;
19564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19565 if (!SWIG_IsOK(res1
)) {
19566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19568 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19584 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
= 0;
19586 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char * kwnames
[] = {
19595 (char *) "self",(char *) "margin", NULL
19598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19600 if (!SWIG_IsOK(res1
)) {
19601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19603 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19605 if (!SWIG_IsOK(ecode2
)) {
19606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19608 arg2
= static_cast< int >(val2
);
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 (arg1
)->SetControlMargin(arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_Py_Void();
19622 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19623 PyObject
*resultobj
= 0;
19624 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19628 PyObject
*swig_obj
[1] ;
19630 if (!args
) SWIG_fail
;
19631 swig_obj
[0] = args
;
19632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19633 if (!SWIG_IsOK(res1
)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19636 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_From_int(static_cast< int >(result
));
19650 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
= 0;
19652 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 char * kwnames
[] = {
19661 (char *) "self",(char *) "fit", NULL
19664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19666 if (!SWIG_IsOK(res1
)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19669 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19670 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19671 if (!SWIG_IsOK(ecode2
)) {
19672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19674 arg2
= static_cast< bool >(val2
);
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 (arg1
)->SetFitToCurrentPage(arg2
);
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19681 resultobj
= SWIG_Py_Void();
19688 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19689 PyObject
*resultobj
= 0;
19690 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19694 PyObject
*swig_obj
[1] ;
19696 if (!args
) SWIG_fail
;
19697 swig_obj
[0] = args
;
19698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19699 if (!SWIG_IsOK(res1
)) {
19700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19702 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19718 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19719 PyObject
*resultobj
= 0;
19720 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19721 wxSizer
*result
= 0 ;
19724 PyObject
*swig_obj
[1] ;
19726 if (!args
) SWIG_fail
;
19727 swig_obj
[0] = args
;
19728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19732 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19748 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
= 0;
19750 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 PyObject
* obj1
= 0 ;
19759 char * kwnames
[] = {
19760 (char *) "self",(char *) "n", NULL
19763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19765 if (!SWIG_IsOK(res1
)) {
19766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19768 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19769 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19770 if (!SWIG_IsOK(ecode2
)) {
19771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19773 arg2
= static_cast< size_t >(val2
);
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 result
= (bool)(arg1
)->DeletePage(arg2
);
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19789 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
= 0;
19791 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 PyObject
* obj1
= 0 ;
19800 char * kwnames
[] = {
19801 (char *) "self",(char *) "n", NULL
19804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19806 if (!SWIG_IsOK(res1
)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19809 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19810 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19811 if (!SWIG_IsOK(ecode2
)) {
19812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19814 arg2
= static_cast< size_t >(val2
);
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 result
= (bool)(arg1
)->RemovePage(arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19830 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19831 PyObject
*resultobj
= 0;
19832 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 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_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19844 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 result
= (bool)(arg1
)->DeleteAllPages();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19860 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
= 0;
19862 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19863 wxWindow
*arg2
= (wxWindow
*) 0 ;
19864 wxString
*arg3
= 0 ;
19865 bool arg4
= (bool) false ;
19866 int arg5
= (int) -1 ;
19872 bool temp3
= false ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 PyObject
* obj2
= 0 ;
19880 PyObject
* obj3
= 0 ;
19881 PyObject
* obj4
= 0 ;
19882 char * kwnames
[] = {
19883 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19888 if (!SWIG_IsOK(res1
)) {
19889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19891 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19893 if (!SWIG_IsOK(res2
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19896 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19898 arg3
= wxString_in_helper(obj2
);
19899 if (arg3
== NULL
) SWIG_fail
;
19903 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19904 if (!SWIG_IsOK(ecode4
)) {
19905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19907 arg4
= static_cast< bool >(val4
);
19910 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19911 if (!SWIG_IsOK(ecode5
)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19914 arg5
= static_cast< int >(val5
);
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19939 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
= 0;
19941 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19943 wxWindow
*arg3
= (wxWindow
*) 0 ;
19944 wxString
*arg4
= 0 ;
19945 bool arg5
= (bool) false ;
19946 int arg6
= (int) -1 ;
19954 bool temp4
= false ;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 PyObject
* obj2
= 0 ;
19962 PyObject
* obj3
= 0 ;
19963 PyObject
* obj4
= 0 ;
19964 PyObject
* obj5
= 0 ;
19965 char * kwnames
[] = {
19966 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19971 if (!SWIG_IsOK(res1
)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19974 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19975 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19976 if (!SWIG_IsOK(ecode2
)) {
19977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19979 arg2
= static_cast< size_t >(val2
);
19980 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19981 if (!SWIG_IsOK(res3
)) {
19982 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19984 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19986 arg4
= wxString_in_helper(obj3
);
19987 if (arg4
== NULL
) SWIG_fail
;
19991 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19992 if (!SWIG_IsOK(ecode5
)) {
19993 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19995 arg5
= static_cast< bool >(val5
);
19998 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19999 if (!SWIG_IsOK(ecode6
)) {
20000 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20002 arg6
= static_cast< int >(val6
);
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20027 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= 0;
20029 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 PyObject
* obj1
= 0 ;
20038 char * kwnames
[] = {
20039 (char *) "self",(char *) "n", NULL
20042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20044 if (!SWIG_IsOK(res1
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20047 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20048 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20049 if (!SWIG_IsOK(ecode2
)) {
20050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20052 arg2
= static_cast< size_t >(val2
);
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= (int)(arg1
)->SetSelection(arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= SWIG_From_int(static_cast< int >(result
));
20066 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
= 0;
20068 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20069 bool arg2
= (bool) true ;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 char * kwnames
[] = {
20077 (char *) "self",(char *) "forward", NULL
20080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20082 if (!SWIG_IsOK(res1
)) {
20083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20085 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20088 if (!SWIG_IsOK(ecode2
)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20091 arg2
= static_cast< bool >(val2
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 (arg1
)->AdvanceSelection(arg2
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_Py_Void();
20106 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
= 0;
20108 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20109 wxPoint
*arg2
= 0 ;
20110 long *arg3
= (long *) 0 ;
20116 int res3
= SWIG_TMPOBJ
;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char * kwnames
[] = {
20120 (char *) "self",(char *) "pt", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20126 if (!SWIG_IsOK(res1
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20129 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_From_int(static_cast< int >(result
));
20141 if (SWIG_IsTmpObj(res3
)) {
20142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20144 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20153 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
= 0;
20155 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20156 SwigValueWrapper
<wxVisualAttributes
> result
;
20159 PyObject
* obj0
= 0 ;
20160 char * kwnames
[] = {
20161 (char *) "variant", NULL
20164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20167 if (!SWIG_IsOK(ecode1
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20170 arg1
= static_cast< wxWindowVariant
>(val1
);
20173 if (!wxPyCheckForApp()) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20186 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20189 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20190 return SWIG_Py_Void();
20193 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
= 0;
20195 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20196 int arg2
= (int) 0 ;
20197 int arg3
= (int) -1 ;
20198 int arg4
= (int) -1 ;
20199 wxBookCtrlBaseEvent
*result
= 0 ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 PyObject
* obj2
= 0 ;
20211 PyObject
* obj3
= 0 ;
20212 char * kwnames
[] = {
20213 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20219 if (!SWIG_IsOK(ecode1
)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20222 arg1
= static_cast< wxEventType
>(val1
);
20225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20226 if (!SWIG_IsOK(ecode2
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20229 arg2
= static_cast< int >(val2
);
20232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20233 if (!SWIG_IsOK(ecode3
)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20236 arg3
= static_cast< int >(val3
);
20239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20240 if (!SWIG_IsOK(ecode4
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20243 arg4
= static_cast< int >(val4
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20258 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20259 PyObject
*resultobj
= 0;
20260 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20264 PyObject
*swig_obj
[1] ;
20266 if (!args
) SWIG_fail
;
20267 swig_obj
[0] = args
;
20268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20269 if (!SWIG_IsOK(res1
)) {
20270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20272 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_From_int(static_cast< int >(result
));
20286 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
= 0;
20288 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 char * kwnames
[] = {
20297 (char *) "self",(char *) "nSel", NULL
20300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20302 if (!SWIG_IsOK(res1
)) {
20303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20305 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20307 if (!SWIG_IsOK(ecode2
)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20310 arg2
= static_cast< int >(val2
);
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 (arg1
)->SetSelection(arg2
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= SWIG_Py_Void();
20324 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20325 PyObject
*resultobj
= 0;
20326 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20330 PyObject
*swig_obj
[1] ;
20332 if (!args
) SWIG_fail
;
20333 swig_obj
[0] = args
;
20334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20335 if (!SWIG_IsOK(res1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20338 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_From_int(static_cast< int >(result
));
20352 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
= 0;
20354 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 char * kwnames
[] = {
20363 (char *) "self",(char *) "nOldSel", NULL
20366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20368 if (!SWIG_IsOK(res1
)) {
20369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20371 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20373 if (!SWIG_IsOK(ecode2
)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20376 arg2
= static_cast< int >(val2
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 (arg1
)->SetOldSelection(arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_Py_Void();
20390 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20393 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20394 return SWIG_Py_Void();
20397 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20398 return SWIG_Python_InitShadowInstance(args
);
20401 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
= 0;
20403 wxWindow
*arg1
= (wxWindow
*) 0 ;
20404 int arg2
= (int) -1 ;
20405 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20406 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20407 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20408 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20409 long arg5
= (long) 0 ;
20410 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20411 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20412 wxNotebook
*result
= 0 ;
20421 bool temp6
= false ;
20422 PyObject
* obj0
= 0 ;
20423 PyObject
* obj1
= 0 ;
20424 PyObject
* obj2
= 0 ;
20425 PyObject
* obj3
= 0 ;
20426 PyObject
* obj4
= 0 ;
20427 PyObject
* obj5
= 0 ;
20428 char * kwnames
[] = {
20429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20434 if (!SWIG_IsOK(res1
)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20440 if (!SWIG_IsOK(ecode2
)) {
20441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20443 arg2
= static_cast< int >(val2
);
20448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20454 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20458 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20459 if (!SWIG_IsOK(ecode5
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20462 arg5
= static_cast< long >(val5
);
20466 arg6
= wxString_in_helper(obj5
);
20467 if (arg6
== NULL
) SWIG_fail
;
20472 if (!wxPyCheckForApp()) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20493 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20494 PyObject
*resultobj
= 0;
20495 wxNotebook
*result
= 0 ;
20497 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20499 if (!wxPyCheckForApp()) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= (wxNotebook
*)new wxNotebook();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20512 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
= 0;
20514 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20515 wxWindow
*arg2
= (wxWindow
*) 0 ;
20516 int arg3
= (int) -1 ;
20517 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20518 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20519 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20520 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20521 long arg6
= (long) 0 ;
20522 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20523 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20535 bool temp7
= false ;
20536 PyObject
* obj0
= 0 ;
20537 PyObject
* obj1
= 0 ;
20538 PyObject
* obj2
= 0 ;
20539 PyObject
* obj3
= 0 ;
20540 PyObject
* obj4
= 0 ;
20541 PyObject
* obj5
= 0 ;
20542 PyObject
* obj6
= 0 ;
20543 char * kwnames
[] = {
20544 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20549 if (!SWIG_IsOK(res1
)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20552 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20554 if (!SWIG_IsOK(res2
)) {
20555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20557 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20560 if (!SWIG_IsOK(ecode3
)) {
20561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20563 arg3
= static_cast< int >(val3
);
20568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20578 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20579 if (!SWIG_IsOK(ecode6
)) {
20580 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20582 arg6
= static_cast< long >(val6
);
20586 arg7
= wxString_in_helper(obj6
);
20587 if (arg7
== NULL
) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20614 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20615 PyObject
*resultobj
= 0;
20616 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20620 PyObject
*swig_obj
[1] ;
20622 if (!args
) SWIG_fail
;
20623 swig_obj
[0] = args
;
20624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20625 if (!SWIG_IsOK(res1
)) {
20626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20628 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_From_int(static_cast< int >(result
));
20642 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char * kwnames
[] = {
20652 (char *) "self",(char *) "padding", NULL
20655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20657 if (!SWIG_IsOK(res1
)) {
20658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20660 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20663 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_Py_Void();
20678 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20679 PyObject
*resultobj
= 0;
20680 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20687 char * kwnames
[] = {
20688 (char *) "self",(char *) "sz", NULL
20691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20693 if (!SWIG_IsOK(res1
)) {
20694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20696 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20699 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= SWIG_Py_Void();
20714 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20715 PyObject
*resultobj
= 0;
20716 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20720 PyObject
*swig_obj
[1] ;
20722 if (!args
) SWIG_fail
;
20723 swig_obj
[0] = args
;
20724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20725 if (!SWIG_IsOK(res1
)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20728 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20742 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
= 0;
20744 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20745 SwigValueWrapper
<wxVisualAttributes
> result
;
20748 PyObject
* obj0
= 0 ;
20749 char * kwnames
[] = {
20750 (char *) "variant", NULL
20753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20756 if (!SWIG_IsOK(ecode1
)) {
20757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20759 arg1
= static_cast< wxWindowVariant
>(val1
);
20762 if (!wxPyCheckForApp()) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20775 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20778 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20779 return SWIG_Py_Void();
20782 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20783 return SWIG_Python_InitShadowInstance(args
);
20786 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
= 0;
20788 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20789 int arg2
= (int) 0 ;
20790 int arg3
= (int) -1 ;
20791 int arg4
= (int) -1 ;
20792 wxNotebookEvent
*result
= 0 ;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 PyObject
* obj2
= 0 ;
20804 PyObject
* obj3
= 0 ;
20805 char * kwnames
[] = {
20806 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20812 if (!SWIG_IsOK(ecode1
)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20815 arg1
= static_cast< wxEventType
>(val1
);
20818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20819 if (!SWIG_IsOK(ecode2
)) {
20820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20822 arg2
= static_cast< int >(val2
);
20825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20826 if (!SWIG_IsOK(ecode3
)) {
20827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20829 arg3
= static_cast< int >(val3
);
20832 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20833 if (!SWIG_IsOK(ecode4
)) {
20834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20836 arg4
= static_cast< int >(val4
);
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20851 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20854 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20855 return SWIG_Py_Void();
20858 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20859 return SWIG_Python_InitShadowInstance(args
);
20862 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
= 0;
20864 wxWindow
*arg1
= (wxWindow
*) 0 ;
20865 int arg2
= (int) -1 ;
20866 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20867 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20868 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20869 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20870 long arg5
= (long) 0 ;
20871 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20872 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20873 wxListbook
*result
= 0 ;
20882 bool temp6
= false ;
20883 PyObject
* obj0
= 0 ;
20884 PyObject
* obj1
= 0 ;
20885 PyObject
* obj2
= 0 ;
20886 PyObject
* obj3
= 0 ;
20887 PyObject
* obj4
= 0 ;
20888 PyObject
* obj5
= 0 ;
20889 char * kwnames
[] = {
20890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20898 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20901 if (!SWIG_IsOK(ecode2
)) {
20902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20904 arg2
= static_cast< int >(val2
);
20909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20915 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20919 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20920 if (!SWIG_IsOK(ecode5
)) {
20921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20923 arg5
= static_cast< long >(val5
);
20927 arg6
= wxString_in_helper(obj5
);
20928 if (arg6
== NULL
) SWIG_fail
;
20933 if (!wxPyCheckForApp()) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20954 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20955 PyObject
*resultobj
= 0;
20956 wxListbook
*result
= 0 ;
20958 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20960 if (!wxPyCheckForApp()) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (wxListbook
*)new wxListbook();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20973 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
= 0;
20975 wxListbook
*arg1
= (wxListbook
*) 0 ;
20976 wxWindow
*arg2
= (wxWindow
*) 0 ;
20977 int arg3
= (int) -1 ;
20978 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20979 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20980 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20981 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20982 long arg6
= (long) 0 ;
20983 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20984 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20996 bool temp7
= false ;
20997 PyObject
* obj0
= 0 ;
20998 PyObject
* obj1
= 0 ;
20999 PyObject
* obj2
= 0 ;
21000 PyObject
* obj3
= 0 ;
21001 PyObject
* obj4
= 0 ;
21002 PyObject
* obj5
= 0 ;
21003 PyObject
* obj6
= 0 ;
21004 char * kwnames
[] = {
21005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21013 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21015 if (!SWIG_IsOK(res2
)) {
21016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21021 if (!SWIG_IsOK(ecode3
)) {
21022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21024 arg3
= static_cast< int >(val3
);
21029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21035 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21039 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21040 if (!SWIG_IsOK(ecode6
)) {
21041 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21043 arg6
= static_cast< long >(val6
);
21047 arg7
= wxString_in_helper(obj6
);
21048 if (arg7
== NULL
) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21075 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21076 PyObject
*resultobj
= 0;
21077 wxListbook
*arg1
= (wxListbook
*) 0 ;
21078 wxListView
*result
= 0 ;
21081 PyObject
*swig_obj
[1] ;
21083 if (!args
) SWIG_fail
;
21084 swig_obj
[0] = args
;
21085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21086 if (!SWIG_IsOK(res1
)) {
21087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21089 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (wxListView
*)(arg1
)->GetListView();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21103 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21106 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21107 return SWIG_Py_Void();
21110 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21111 return SWIG_Python_InitShadowInstance(args
);
21114 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
= 0;
21116 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21117 int arg2
= (int) 0 ;
21118 int arg3
= (int) -1 ;
21119 int arg4
= (int) -1 ;
21120 wxListbookEvent
*result
= 0 ;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 PyObject
* obj2
= 0 ;
21132 PyObject
* obj3
= 0 ;
21133 char * kwnames
[] = {
21134 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21139 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21140 if (!SWIG_IsOK(ecode1
)) {
21141 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21143 arg1
= static_cast< wxEventType
>(val1
);
21146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21147 if (!SWIG_IsOK(ecode2
)) {
21148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21150 arg2
= static_cast< int >(val2
);
21153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21154 if (!SWIG_IsOK(ecode3
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21157 arg3
= static_cast< int >(val3
);
21160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21161 if (!SWIG_IsOK(ecode4
)) {
21162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21164 arg4
= static_cast< int >(val4
);
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21179 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21182 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21183 return SWIG_Py_Void();
21186 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21187 return SWIG_Python_InitShadowInstance(args
);
21190 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
= 0;
21192 wxWindow
*arg1
= (wxWindow
*) 0 ;
21194 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21195 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21196 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21197 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21198 long arg5
= (long) 0 ;
21199 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21200 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21201 wxChoicebook
*result
= 0 ;
21210 bool temp6
= false ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 PyObject
* obj2
= 0 ;
21214 PyObject
* obj3
= 0 ;
21215 PyObject
* obj4
= 0 ;
21216 PyObject
* obj5
= 0 ;
21217 char * kwnames
[] = {
21218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21223 if (!SWIG_IsOK(res1
)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21226 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21228 if (!SWIG_IsOK(ecode2
)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21231 arg2
= static_cast< int >(val2
);
21235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21241 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21245 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21246 if (!SWIG_IsOK(ecode5
)) {
21247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21249 arg5
= static_cast< long >(val5
);
21253 arg6
= wxString_in_helper(obj5
);
21254 if (arg6
== NULL
) SWIG_fail
;
21259 if (!wxPyCheckForApp()) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21280 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21281 PyObject
*resultobj
= 0;
21282 wxChoicebook
*result
= 0 ;
21284 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21286 if (!wxPyCheckForApp()) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (wxChoicebook
*)new wxChoicebook();
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21299 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
= 0;
21301 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21302 wxWindow
*arg2
= (wxWindow
*) 0 ;
21304 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21305 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21306 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21307 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21308 long arg6
= (long) 0 ;
21309 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21310 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21322 bool temp7
= 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 PyObject
* obj6
= 0 ;
21330 char * kwnames
[] = {
21331 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21336 if (!SWIG_IsOK(res1
)) {
21337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21339 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21340 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21341 if (!SWIG_IsOK(res2
)) {
21342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21344 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21346 if (!SWIG_IsOK(ecode3
)) {
21347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21349 arg3
= static_cast< int >(val3
);
21353 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21359 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21363 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21364 if (!SWIG_IsOK(ecode6
)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21367 arg6
= static_cast< long >(val6
);
21371 arg7
= wxString_in_helper(obj6
);
21372 if (arg7
== NULL
) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21399 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21400 PyObject
*resultobj
= 0;
21401 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21402 wxChoice
*result
= 0 ;
21405 PyObject
*swig_obj
[1] ;
21407 if (!args
) SWIG_fail
;
21408 swig_obj
[0] = args
;
21409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21410 if (!SWIG_IsOK(res1
)) {
21411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21413 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21427 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21430 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21431 return SWIG_Py_Void();
21434 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21435 return SWIG_Python_InitShadowInstance(args
);
21438 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= 0;
21440 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21441 int arg2
= (int) 0 ;
21442 int arg3
= (int) -1 ;
21443 int arg4
= (int) -1 ;
21444 wxChoicebookEvent
*result
= 0 ;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 PyObject
* obj2
= 0 ;
21456 PyObject
* obj3
= 0 ;
21457 char * kwnames
[] = {
21458 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21463 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21464 if (!SWIG_IsOK(ecode1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21467 arg1
= static_cast< wxEventType
>(val1
);
21470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21471 if (!SWIG_IsOK(ecode2
)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21474 arg2
= static_cast< int >(val2
);
21477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21478 if (!SWIG_IsOK(ecode3
)) {
21479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21481 arg3
= static_cast< int >(val3
);
21484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21485 if (!SWIG_IsOK(ecode4
)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21488 arg4
= static_cast< int >(val4
);
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21503 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21506 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21507 return SWIG_Py_Void();
21510 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21511 return SWIG_Python_InitShadowInstance(args
);
21514 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
= 0;
21516 wxWindow
*arg1
= (wxWindow
*) 0 ;
21518 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21519 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21520 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21521 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21522 long arg5
= (long) wxBK_DEFAULT
;
21523 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21524 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21525 wxTreebook
*result
= 0 ;
21534 bool temp6
= false ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 PyObject
* obj2
= 0 ;
21538 PyObject
* obj3
= 0 ;
21539 PyObject
* obj4
= 0 ;
21540 PyObject
* obj5
= 0 ;
21541 char * kwnames
[] = {
21542 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21547 if (!SWIG_IsOK(res1
)) {
21548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21552 if (!SWIG_IsOK(ecode2
)) {
21553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21555 arg2
= static_cast< int >(val2
);
21559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21565 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21569 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21570 if (!SWIG_IsOK(ecode5
)) {
21571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21573 arg5
= static_cast< long >(val5
);
21577 arg6
= wxString_in_helper(obj5
);
21578 if (arg6
== NULL
) SWIG_fail
;
21583 if (!wxPyCheckForApp()) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21604 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21605 PyObject
*resultobj
= 0;
21606 wxTreebook
*result
= 0 ;
21608 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21610 if (!wxPyCheckForApp()) SWIG_fail
;
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (wxTreebook
*)new wxTreebook();
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21623 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
= 0;
21625 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21626 wxWindow
*arg2
= (wxWindow
*) 0 ;
21628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21632 long arg6
= (long) wxBK_DEFAULT
;
21633 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21634 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21646 bool temp7
= 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 PyObject
* obj6
= 0 ;
21654 char * kwnames
[] = {
21655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21660 if (!SWIG_IsOK(res1
)) {
21661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21663 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21665 if (!SWIG_IsOK(res2
)) {
21666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21670 if (!SWIG_IsOK(ecode3
)) {
21671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21673 arg3
= static_cast< int >(val3
);
21677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21687 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21688 if (!SWIG_IsOK(ecode6
)) {
21689 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21691 arg6
= static_cast< long >(val6
);
21695 arg7
= wxString_in_helper(obj6
);
21696 if (arg7
== NULL
) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21723 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
= 0;
21725 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21727 wxWindow
*arg3
= (wxWindow
*) 0 ;
21728 wxString
*arg4
= 0 ;
21729 bool arg5
= (bool) false ;
21730 int arg6
= (int) wxNOT_FOUND
;
21738 bool temp4
= false ;
21743 PyObject
* obj0
= 0 ;
21744 PyObject
* obj1
= 0 ;
21745 PyObject
* obj2
= 0 ;
21746 PyObject
* obj3
= 0 ;
21747 PyObject
* obj4
= 0 ;
21748 PyObject
* obj5
= 0 ;
21749 char * kwnames
[] = {
21750 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21755 if (!SWIG_IsOK(res1
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21758 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21759 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21760 if (!SWIG_IsOK(ecode2
)) {
21761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21763 arg2
= static_cast< size_t >(val2
);
21764 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21765 if (!SWIG_IsOK(res3
)) {
21766 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21768 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21770 arg4
= wxString_in_helper(obj3
);
21771 if (arg4
== NULL
) SWIG_fail
;
21775 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21776 if (!SWIG_IsOK(ecode5
)) {
21777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21779 arg5
= static_cast< bool >(val5
);
21782 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21783 if (!SWIG_IsOK(ecode6
)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21786 arg6
= static_cast< int >(val6
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21811 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
= 0;
21813 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21814 wxWindow
*arg2
= (wxWindow
*) 0 ;
21815 wxString
*arg3
= 0 ;
21816 bool arg4
= (bool) false ;
21817 int arg5
= (int) wxNOT_FOUND
;
21823 bool temp3
= false ;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 PyObject
* obj2
= 0 ;
21831 PyObject
* obj3
= 0 ;
21832 PyObject
* obj4
= 0 ;
21833 char * kwnames
[] = {
21834 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21839 if (!SWIG_IsOK(res1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21842 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21844 if (!SWIG_IsOK(res2
)) {
21845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21847 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21849 arg3
= wxString_in_helper(obj2
);
21850 if (arg3
== NULL
) SWIG_fail
;
21854 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21855 if (!SWIG_IsOK(ecode4
)) {
21856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21858 arg4
= static_cast< bool >(val4
);
21861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21862 if (!SWIG_IsOK(ecode5
)) {
21863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21865 arg5
= static_cast< int >(val5
);
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21890 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
= 0;
21892 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21899 PyObject
* obj0
= 0 ;
21900 PyObject
* obj1
= 0 ;
21901 char * kwnames
[] = {
21902 (char *) "self",(char *) "pos", NULL
21905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21907 if (!SWIG_IsOK(res1
)) {
21908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21910 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21911 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21912 if (!SWIG_IsOK(ecode2
)) {
21913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21915 arg2
= static_cast< size_t >(val2
);
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21931 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
= 0;
21933 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21935 bool arg3
= (bool) true ;
21943 PyObject
* obj0
= 0 ;
21944 PyObject
* obj1
= 0 ;
21945 PyObject
* obj2
= 0 ;
21946 char * kwnames
[] = {
21947 (char *) "self",(char *) "pos",(char *) "expand", NULL
21950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21952 if (!SWIG_IsOK(res1
)) {
21953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21955 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21956 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21957 if (!SWIG_IsOK(ecode2
)) {
21958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21960 arg2
= static_cast< size_t >(val2
);
21962 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21963 if (!SWIG_IsOK(ecode3
)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21966 arg3
= static_cast< bool >(val3
);
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21983 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
= 0;
21985 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 char * kwnames
[] = {
21995 (char *) "self",(char *) "pos", NULL
21998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22000 if (!SWIG_IsOK(res1
)) {
22001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22003 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22004 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22005 if (!SWIG_IsOK(ecode2
)) {
22006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22008 arg2
= static_cast< size_t >(val2
);
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (bool)(arg1
)->CollapseNode(arg2
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22024 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
= 0;
22026 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char * kwnames
[] = {
22036 (char *) "self",(char *) "pos", NULL
22039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22041 if (!SWIG_IsOK(res1
)) {
22042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22044 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22045 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22046 if (!SWIG_IsOK(ecode2
)) {
22047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22049 arg2
= static_cast< size_t >(val2
);
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= SWIG_From_int(static_cast< int >(result
));
22063 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22064 PyObject
*resultobj
= 0;
22065 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22066 wxTreeCtrl
*result
= 0 ;
22069 PyObject
*swig_obj
[1] ;
22071 if (!args
) SWIG_fail
;
22072 swig_obj
[0] = args
;
22073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22074 if (!SWIG_IsOK(res1
)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22077 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22091 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22094 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22095 return SWIG_Py_Void();
22098 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 return SWIG_Python_InitShadowInstance(args
);
22102 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
= 0;
22104 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22105 int arg2
= (int) 0 ;
22106 int arg3
= (int) wxNOT_FOUND
;
22107 int arg4
= (int) wxNOT_FOUND
;
22108 wxTreebookEvent
*result
= 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 PyObject
* obj2
= 0 ;
22120 PyObject
* obj3
= 0 ;
22121 char * kwnames
[] = {
22122 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22127 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22128 if (!SWIG_IsOK(ecode1
)) {
22129 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22131 arg1
= static_cast< wxEventType
>(val1
);
22134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22135 if (!SWIG_IsOK(ecode2
)) {
22136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22138 arg2
= static_cast< int >(val2
);
22141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22142 if (!SWIG_IsOK(ecode3
)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22145 arg3
= static_cast< int >(val3
);
22148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22149 if (!SWIG_IsOK(ecode4
)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22152 arg4
= static_cast< int >(val4
);
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22167 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22170 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22171 return SWIG_Py_Void();
22174 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22175 return SWIG_Python_InitShadowInstance(args
);
22178 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
= 0;
22180 wxWindow
*arg1
= (wxWindow
*) 0 ;
22182 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22183 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22184 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22185 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22186 long arg5
= (long) wxBK_DEFAULT
;
22187 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22188 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22189 wxToolbook
*result
= 0 ;
22198 bool temp6
= false ;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 PyObject
* obj2
= 0 ;
22202 PyObject
* obj3
= 0 ;
22203 PyObject
* obj4
= 0 ;
22204 PyObject
* obj5
= 0 ;
22205 char * kwnames
[] = {
22206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22211 if (!SWIG_IsOK(res1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22214 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22216 if (!SWIG_IsOK(ecode2
)) {
22217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22219 arg2
= static_cast< int >(val2
);
22223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22233 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22234 if (!SWIG_IsOK(ecode5
)) {
22235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22237 arg5
= static_cast< long >(val5
);
22241 arg6
= wxString_in_helper(obj5
);
22242 if (arg6
== NULL
) SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22267 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22268 PyObject
*resultobj
= 0;
22269 wxToolbook
*result
= 0 ;
22271 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (wxToolbook
*)new wxToolbook();
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22285 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= 0;
22287 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22288 wxWindow
*arg2
= (wxWindow
*) 0 ;
22290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22294 long arg6
= (long) 0 ;
22295 wxString
const &arg7_defvalue
= wxEmptyString
;
22296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22308 bool temp7
= false ;
22309 PyObject
* obj0
= 0 ;
22310 PyObject
* obj1
= 0 ;
22311 PyObject
* obj2
= 0 ;
22312 PyObject
* obj3
= 0 ;
22313 PyObject
* obj4
= 0 ;
22314 PyObject
* obj5
= 0 ;
22315 PyObject
* obj6
= 0 ;
22316 char * kwnames
[] = {
22317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22322 if (!SWIG_IsOK(res1
)) {
22323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22325 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22327 if (!SWIG_IsOK(res2
)) {
22328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22330 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22332 if (!SWIG_IsOK(ecode3
)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22335 arg3
= static_cast< int >(val3
);
22339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22349 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22350 if (!SWIG_IsOK(ecode6
)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22353 arg6
= static_cast< long >(val6
);
22357 arg7
= wxString_in_helper(obj6
);
22358 if (arg7
== NULL
) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22385 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22386 PyObject
*resultobj
= 0;
22387 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22388 wxToolBarBase
*result
= 0 ;
22391 PyObject
*swig_obj
[1] ;
22393 if (!args
) SWIG_fail
;
22394 swig_obj
[0] = args
;
22395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22396 if (!SWIG_IsOK(res1
)) {
22397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22399 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22415 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 PyObject
*resultobj
= 0;
22417 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22420 PyObject
*swig_obj
[1] ;
22422 if (!args
) SWIG_fail
;
22423 swig_obj
[0] = args
;
22424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22428 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= SWIG_Py_Void();
22442 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22445 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22446 return SWIG_Py_Void();
22449 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22450 return SWIG_Python_InitShadowInstance(args
);
22453 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
= 0;
22455 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22456 int arg2
= (int) 0 ;
22457 int arg3
= (int) wxNOT_FOUND
;
22458 int arg4
= (int) wxNOT_FOUND
;
22459 wxToolbookEvent
*result
= 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 PyObject
* obj2
= 0 ;
22471 PyObject
* obj3
= 0 ;
22472 char * kwnames
[] = {
22473 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22478 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22479 if (!SWIG_IsOK(ecode1
)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22482 arg1
= static_cast< wxEventType
>(val1
);
22485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22486 if (!SWIG_IsOK(ecode2
)) {
22487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22489 arg2
= static_cast< int >(val2
);
22492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22493 if (!SWIG_IsOK(ecode3
)) {
22494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22496 arg3
= static_cast< int >(val3
);
22499 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22500 if (!SWIG_IsOK(ecode4
)) {
22501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22503 arg4
= static_cast< int >(val4
);
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22518 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22521 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22522 return SWIG_Py_Void();
22525 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22526 return SWIG_Python_InitShadowInstance(args
);
22529 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22530 PyObject
*resultobj
= 0;
22531 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22535 PyObject
*swig_obj
[1] ;
22537 if (!args
) SWIG_fail
;
22538 swig_obj
[0] = args
;
22539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22540 if (!SWIG_IsOK(res1
)) {
22541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22543 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (int)(arg1
)->GetId();
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= SWIG_From_int(static_cast< int >(result
));
22557 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22558 PyObject
*resultobj
= 0;
22559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22560 wxControl
*result
= 0 ;
22563 PyObject
*swig_obj
[1] ;
22565 if (!args
) SWIG_fail
;
22566 swig_obj
[0] = args
;
22567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22568 if (!SWIG_IsOK(res1
)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22571 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= (wxControl
*)(arg1
)->GetControl();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= wxPyMake_wxObject(result
, 0);
22587 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22588 PyObject
*resultobj
= 0;
22589 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22590 wxToolBarBase
*result
= 0 ;
22593 PyObject
*swig_obj
[1] ;
22595 if (!args
) SWIG_fail
;
22596 swig_obj
[0] = args
;
22597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22601 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22617 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22618 PyObject
*resultobj
= 0;
22619 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22623 PyObject
*swig_obj
[1] ;
22625 if (!args
) SWIG_fail
;
22626 swig_obj
[0] = args
;
22627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22628 if (!SWIG_IsOK(res1
)) {
22629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22631 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= (int)(arg1
)->IsButton();
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= SWIG_From_int(static_cast< int >(result
));
22645 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22646 PyObject
*resultobj
= 0;
22647 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22651 PyObject
*swig_obj
[1] ;
22653 if (!args
) SWIG_fail
;
22654 swig_obj
[0] = args
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22659 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= (int)(arg1
)->IsControl();
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_From_int(static_cast< int >(result
));
22673 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22674 PyObject
*resultobj
= 0;
22675 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22679 PyObject
*swig_obj
[1] ;
22681 if (!args
) SWIG_fail
;
22682 swig_obj
[0] = args
;
22683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22684 if (!SWIG_IsOK(res1
)) {
22685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22687 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= (int)(arg1
)->IsSeparator();
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 resultobj
= SWIG_From_int(static_cast< int >(result
));
22701 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22702 PyObject
*resultobj
= 0;
22703 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22707 PyObject
*swig_obj
[1] ;
22709 if (!args
) SWIG_fail
;
22710 swig_obj
[0] = args
;
22711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22712 if (!SWIG_IsOK(res1
)) {
22713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22715 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 result
= (int)(arg1
)->GetStyle();
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_From_int(static_cast< int >(result
));
22729 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(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_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22743 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (wxItemKind
)(arg1
)->GetKind();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_From_int(static_cast< int >(result
));
22757 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(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_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22771 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (bool)(arg1
)->IsEnabled();
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22787 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22788 PyObject
*resultobj
= 0;
22789 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22793 PyObject
*swig_obj
[1] ;
22795 if (!args
) SWIG_fail
;
22796 swig_obj
[0] = args
;
22797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22798 if (!SWIG_IsOK(res1
)) {
22799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22801 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= (bool)(arg1
)->IsToggled();
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22817 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22818 PyObject
*resultobj
= 0;
22819 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22823 PyObject
*swig_obj
[1] ;
22825 if (!args
) SWIG_fail
;
22826 swig_obj
[0] = args
;
22827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22828 if (!SWIG_IsOK(res1
)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22831 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (bool)(arg1
)->CanBeToggled();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22847 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22848 PyObject
*resultobj
= 0;
22849 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22850 wxBitmap
*result
= 0 ;
22853 PyObject
*swig_obj
[1] ;
22855 if (!args
) SWIG_fail
;
22856 swig_obj
[0] = args
;
22857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22861 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22866 result
= (wxBitmap
*) &_result_ref
;
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22872 wxBitmap
* resultptr
= new wxBitmap(*result
);
22873 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22881 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22884 wxBitmap
*result
= 0 ;
22887 PyObject
*swig_obj
[1] ;
22889 if (!args
) SWIG_fail
;
22890 swig_obj
[0] = args
;
22891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22892 if (!SWIG_IsOK(res1
)) {
22893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22895 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22900 result
= (wxBitmap
*) &_result_ref
;
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22906 wxBitmap
* resultptr
= new wxBitmap(*result
);
22907 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22915 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22916 PyObject
*resultobj
= 0;
22917 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22921 PyObject
*swig_obj
[1] ;
22923 if (!args
) SWIG_fail
;
22924 swig_obj
[0] = args
;
22925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22929 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (arg1
)->GetBitmap();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22943 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22944 PyObject
*resultobj
= 0;
22945 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22949 PyObject
*swig_obj
[1] ;
22951 if (!args
) SWIG_fail
;
22952 swig_obj
[0] = args
;
22953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22954 if (!SWIG_IsOK(res1
)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22957 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (arg1
)->GetLabel();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22977 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 PyObject
*resultobj
= 0;
22979 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22983 PyObject
*swig_obj
[1] ;
22985 if (!args
) SWIG_fail
;
22986 swig_obj
[0] = args
;
22987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22991 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (arg1
)->GetShortHelp();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23011 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23012 PyObject
*resultobj
= 0;
23013 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23017 PyObject
*swig_obj
[1] ;
23019 if (!args
) SWIG_fail
;
23020 swig_obj
[0] = args
;
23021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23022 if (!SWIG_IsOK(res1
)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23025 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 result
= (arg1
)->GetLongHelp();
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23045 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
= 0;
23047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 char * kwnames
[] = {
23057 (char *) "self",(char *) "enable", NULL
23060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23062 if (!SWIG_IsOK(res1
)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23065 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23066 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23067 if (!SWIG_IsOK(ecode2
)) {
23068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23070 arg2
= static_cast< bool >(val2
);
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (bool)(arg1
)->Enable(arg2
);
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23086 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23087 PyObject
*resultobj
= 0;
23088 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23091 PyObject
*swig_obj
[1] ;
23093 if (!args
) SWIG_fail
;
23094 swig_obj
[0] = args
;
23095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23096 if (!SWIG_IsOK(res1
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23099 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_Py_Void();
23113 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
= 0;
23115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char * kwnames
[] = {
23125 (char *) "self",(char *) "toggle", NULL
23128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23130 if (!SWIG_IsOK(res1
)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23133 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23134 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23135 if (!SWIG_IsOK(ecode2
)) {
23136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23138 arg2
= static_cast< bool >(val2
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (bool)(arg1
)->SetToggle(arg2
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23154 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
= 0;
23156 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23157 wxString
*arg2
= 0 ;
23161 bool temp2
= false ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 char * kwnames
[] = {
23165 (char *) "self",(char *) "help", NULL
23168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23170 if (!SWIG_IsOK(res1
)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23173 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23175 arg2
= wxString_in_helper(obj1
);
23176 if (arg2
== NULL
) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23202 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
= 0;
23204 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23205 wxString
*arg2
= 0 ;
23209 bool temp2
= false ;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 char * kwnames
[] = {
23213 (char *) "self",(char *) "help", NULL
23216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23221 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23223 arg2
= wxString_in_helper(obj1
);
23224 if (arg2
== NULL
) SWIG_fail
;
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23250 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
= 0;
23252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23253 wxBitmap
*arg2
= 0 ;
23258 PyObject
* obj0
= 0 ;
23259 PyObject
* obj1
= 0 ;
23260 char * kwnames
[] = {
23261 (char *) "self",(char *) "bmp", NULL
23264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23266 if (!SWIG_IsOK(res1
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23269 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23271 if (!SWIG_IsOK(res2
)) {
23272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23277 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= SWIG_Py_Void();
23291 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
= 0;
23293 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23294 wxBitmap
*arg2
= 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char * kwnames
[] = {
23302 (char *) "self",(char *) "bmp", NULL
23305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23307 if (!SWIG_IsOK(res1
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23310 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23312 if (!SWIG_IsOK(res2
)) {
23313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23318 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_Py_Void();
23332 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
= 0;
23334 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23335 wxString
*arg2
= 0 ;
23338 bool temp2
= false ;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char * kwnames
[] = {
23342 (char *) "self",(char *) "label", NULL
23345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23347 if (!SWIG_IsOK(res1
)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23350 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23352 arg2
= wxString_in_helper(obj1
);
23353 if (arg2
== NULL
) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 (arg1
)->SetLabel((wxString
const &)*arg2
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= SWIG_Py_Void();
23377 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23378 PyObject
*resultobj
= 0;
23379 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23382 PyObject
*swig_obj
[1] ;
23384 if (!args
) SWIG_fail
;
23385 swig_obj
[0] = args
;
23386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23387 if (!SWIG_IsOK(res1
)) {
23388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23390 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= SWIG_Py_Void();
23404 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
= 0;
23406 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23407 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 char * kwnames
[] = {
23415 (char *) "self",(char *) "tbar", NULL
23418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23420 if (!SWIG_IsOK(res1
)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23423 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23425 if (!SWIG_IsOK(res2
)) {
23426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23428 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 (arg1
)->Attach(arg2
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= SWIG_Py_Void();
23442 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23443 PyObject
*resultobj
= 0;
23444 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23445 PyObject
*result
= 0 ;
23448 PyObject
*swig_obj
[1] ;
23450 if (!args
) SWIG_fail
;
23451 swig_obj
[0] = args
;
23452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23453 if (!SWIG_IsOK(res1
)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23456 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= result
;
23470 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
= 0;
23472 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23473 PyObject
*arg2
= (PyObject
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char * kwnames
[] = {
23479 (char *) "self",(char *) "clientData", NULL
23482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23484 if (!SWIG_IsOK(res1
)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23487 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_Py_Void();
23502 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23505 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23506 return SWIG_Py_Void();
23509 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
= 0;
23511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23513 wxString
*arg3
= 0 ;
23514 wxBitmap
*arg4
= 0 ;
23515 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23516 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23517 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23518 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23519 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23520 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23521 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23522 PyObject
*arg9
= (PyObject
*) NULL
;
23523 wxToolBarToolBase
*result
= 0 ;
23528 bool temp3
= false ;
23535 bool temp7
= false ;
23536 bool temp8
= false ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 PyObject
* obj2
= 0 ;
23540 PyObject
* obj3
= 0 ;
23541 PyObject
* obj4
= 0 ;
23542 PyObject
* obj5
= 0 ;
23543 PyObject
* obj6
= 0 ;
23544 PyObject
* obj7
= 0 ;
23545 PyObject
* obj8
= 0 ;
23546 char * kwnames
[] = {
23547 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23555 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23557 if (!SWIG_IsOK(ecode2
)) {
23558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23560 arg2
= static_cast< int >(val2
);
23562 arg3
= wxString_in_helper(obj2
);
23563 if (arg3
== NULL
) SWIG_fail
;
23566 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23567 if (!SWIG_IsOK(res4
)) {
23568 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23573 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23575 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23576 if (!SWIG_IsOK(res5
)) {
23577 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23582 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23585 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23586 if (!SWIG_IsOK(ecode6
)) {
23587 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23589 arg6
= static_cast< wxItemKind
>(val6
);
23593 arg7
= wxString_in_helper(obj6
);
23594 if (arg7
== NULL
) SWIG_fail
;
23600 arg8
= wxString_in_helper(obj7
);
23601 if (arg8
== NULL
) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23647 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
= 0;
23649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23652 wxString
*arg4
= 0 ;
23653 wxBitmap
*arg5
= 0 ;
23654 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23655 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23656 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23657 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23658 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23659 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23660 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23661 PyObject
*arg10
= (PyObject
*) NULL
;
23662 wxToolBarToolBase
*result
= 0 ;
23669 bool temp4
= false ;
23676 bool temp8
= false ;
23677 bool temp9
= false ;
23678 PyObject
* obj0
= 0 ;
23679 PyObject
* obj1
= 0 ;
23680 PyObject
* obj2
= 0 ;
23681 PyObject
* obj3
= 0 ;
23682 PyObject
* obj4
= 0 ;
23683 PyObject
* obj5
= 0 ;
23684 PyObject
* obj6
= 0 ;
23685 PyObject
* obj7
= 0 ;
23686 PyObject
* obj8
= 0 ;
23687 PyObject
* obj9
= 0 ;
23688 char * kwnames
[] = {
23689 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23694 if (!SWIG_IsOK(res1
)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23697 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23698 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23699 if (!SWIG_IsOK(ecode2
)) {
23700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23702 arg2
= static_cast< size_t >(val2
);
23703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23704 if (!SWIG_IsOK(ecode3
)) {
23705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23707 arg3
= static_cast< int >(val3
);
23709 arg4
= wxString_in_helper(obj3
);
23710 if (arg4
== NULL
) SWIG_fail
;
23713 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23714 if (!SWIG_IsOK(res5
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23720 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23722 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23723 if (!SWIG_IsOK(res6
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23729 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23732 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23733 if (!SWIG_IsOK(ecode7
)) {
23734 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23736 arg7
= static_cast< wxItemKind
>(val7
);
23740 arg8
= wxString_in_helper(obj7
);
23741 if (arg8
== NULL
) SWIG_fail
;
23747 arg9
= wxString_in_helper(obj8
);
23748 if (arg9
== NULL
) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23762 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23794 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
= 0;
23796 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23797 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23798 wxToolBarToolBase
*result
= 0 ;
23803 PyObject
* obj0
= 0 ;
23804 PyObject
* obj1
= 0 ;
23805 char * kwnames
[] = {
23806 (char *) "self",(char *) "tool", NULL
23809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23811 if (!SWIG_IsOK(res1
)) {
23812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23814 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23816 if (!SWIG_IsOK(res2
)) {
23817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23819 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23835 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
= 0;
23837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23839 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23840 wxToolBarToolBase
*result
= 0 ;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 PyObject
* obj2
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "self",(char *) "pos",(char *) "tool", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23859 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23860 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23861 if (!SWIG_IsOK(ecode2
)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23864 arg2
= static_cast< size_t >(val2
);
23865 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23866 if (!SWIG_IsOK(res3
)) {
23867 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23869 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23885 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23887 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23888 wxControl
*arg2
= (wxControl
*) 0 ;
23889 wxToolBarToolBase
*result
= 0 ;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23896 char * kwnames
[] = {
23897 (char *) "self",(char *) "control", NULL
23900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23905 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23907 if (!SWIG_IsOK(res2
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23910 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23926 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
= 0;
23928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23930 wxControl
*arg3
= (wxControl
*) 0 ;
23931 wxToolBarToolBase
*result
= 0 ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 PyObject
* obj2
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "pos",(char *) "control", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23950 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23951 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23952 if (!SWIG_IsOK(ecode2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23955 arg2
= static_cast< size_t >(val2
);
23956 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23957 if (!SWIG_IsOK(res3
)) {
23958 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23960 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23976 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23980 wxControl
*result
= 0 ;
23985 PyObject
* obj0
= 0 ;
23986 PyObject
* obj1
= 0 ;
23987 char * kwnames
[] = {
23988 (char *) "self",(char *) "id", NULL
23991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23993 if (!SWIG_IsOK(res1
)) {
23994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23996 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23998 if (!SWIG_IsOK(ecode2
)) {
23999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24001 arg2
= static_cast< int >(val2
);
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= wxPyMake_wxObject(result
, 0);
24017 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24018 PyObject
*resultobj
= 0;
24019 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24020 wxToolBarToolBase
*result
= 0 ;
24023 PyObject
*swig_obj
[1] ;
24025 if (!args
) SWIG_fail
;
24026 swig_obj
[0] = args
;
24027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24047 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
= 0;
24049 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24051 wxToolBarToolBase
*result
= 0 ;
24056 PyObject
* obj0
= 0 ;
24057 PyObject
* obj1
= 0 ;
24058 char * kwnames
[] = {
24059 (char *) "self",(char *) "pos", NULL
24062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24064 if (!SWIG_IsOK(res1
)) {
24065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24067 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24068 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24069 if (!SWIG_IsOK(ecode2
)) {
24070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24072 arg2
= static_cast< size_t >(val2
);
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24088 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
= 0;
24090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24092 wxToolBarToolBase
*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_RemoveTool",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_RemoveTool" "', 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_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24113 arg2
= static_cast< int >(val2
);
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24129 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
= 0;
24131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char * kwnames
[] = {
24141 (char *) "self",(char *) "pos", NULL
24144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24149 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24150 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24151 if (!SWIG_IsOK(ecode2
)) {
24152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24154 arg2
= static_cast< size_t >(val2
);
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24170 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= 0;
24172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char * kwnames
[] = {
24182 (char *) "self",(char *) "id", NULL
24185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24187 if (!SWIG_IsOK(res1
)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24190 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24192 if (!SWIG_IsOK(ecode2
)) {
24193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24195 arg2
= static_cast< int >(val2
);
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (bool)(arg1
)->DeleteTool(arg2
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24211 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24212 PyObject
*resultobj
= 0;
24213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24216 PyObject
*swig_obj
[1] ;
24218 if (!args
) SWIG_fail
;
24219 swig_obj
[0] = args
;
24220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24221 if (!SWIG_IsOK(res1
)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24224 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->ClearTools();
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_Py_Void();
24238 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24239 PyObject
*resultobj
= 0;
24240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24244 PyObject
*swig_obj
[1] ;
24246 if (!args
) SWIG_fail
;
24247 swig_obj
[0] = args
;
24248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24249 if (!SWIG_IsOK(res1
)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24252 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= (bool)(arg1
)->Realize();
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24268 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
= 0;
24270 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 PyObject
* obj2
= 0 ;
24282 char * kwnames
[] = {
24283 (char *) "self",(char *) "id",(char *) "enable", NULL
24286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24288 if (!SWIG_IsOK(res1
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24291 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24293 if (!SWIG_IsOK(ecode2
)) {
24294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24296 arg2
= static_cast< int >(val2
);
24297 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24298 if (!SWIG_IsOK(ecode3
)) {
24299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24301 arg3
= static_cast< bool >(val3
);
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 (arg1
)->EnableTool(arg2
,arg3
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_Py_Void();
24315 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
= 0;
24317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 PyObject
* obj2
= 0 ;
24329 char * kwnames
[] = {
24330 (char *) "self",(char *) "id",(char *) "toggle", NULL
24333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24335 if (!SWIG_IsOK(res1
)) {
24336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24338 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24340 if (!SWIG_IsOK(ecode2
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24343 arg2
= static_cast< int >(val2
);
24344 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24345 if (!SWIG_IsOK(ecode3
)) {
24346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24348 arg3
= static_cast< bool >(val3
);
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 (arg1
)->ToggleTool(arg2
,arg3
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 resultobj
= SWIG_Py_Void();
24362 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
= 0;
24364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24373 PyObject
* obj0
= 0 ;
24374 PyObject
* obj1
= 0 ;
24375 PyObject
* obj2
= 0 ;
24376 char * kwnames
[] = {
24377 (char *) "self",(char *) "id",(char *) "toggle", NULL
24380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24382 if (!SWIG_IsOK(res1
)) {
24383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24385 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24387 if (!SWIG_IsOK(ecode2
)) {
24388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24390 arg2
= static_cast< int >(val2
);
24391 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24392 if (!SWIG_IsOK(ecode3
)) {
24393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24395 arg3
= static_cast< bool >(val3
);
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 (arg1
)->SetToggle(arg2
,arg3
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24402 resultobj
= SWIG_Py_Void();
24409 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
= 0;
24411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24413 PyObject
*result
= 0 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char * kwnames
[] = {
24421 (char *) "self",(char *) "id", NULL
24424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24426 if (!SWIG_IsOK(res1
)) {
24427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24429 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24431 if (!SWIG_IsOK(ecode2
)) {
24432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24434 arg2
= static_cast< int >(val2
);
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= result
;
24448 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
= 0;
24450 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24452 PyObject
*arg3
= (PyObject
*) 0 ;
24457 PyObject
* obj0
= 0 ;
24458 PyObject
* obj1
= 0 ;
24459 PyObject
* obj2
= 0 ;
24460 char * kwnames
[] = {
24461 (char *) "self",(char *) "id",(char *) "clientData", NULL
24464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24466 if (!SWIG_IsOK(res1
)) {
24467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24469 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24471 if (!SWIG_IsOK(ecode2
)) {
24472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24474 arg2
= static_cast< int >(val2
);
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= SWIG_Py_Void();
24489 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= 0;
24491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24498 PyObject
* obj0
= 0 ;
24499 PyObject
* obj1
= 0 ;
24500 char * kwnames
[] = {
24501 (char *) "self",(char *) "id", NULL
24504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24506 if (!SWIG_IsOK(res1
)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24509 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24511 if (!SWIG_IsOK(ecode2
)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24514 arg2
= static_cast< int >(val2
);
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_From_int(static_cast< int >(result
));
24528 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
= 0;
24530 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24537 PyObject
* obj0
= 0 ;
24538 PyObject
* obj1
= 0 ;
24539 char * kwnames
[] = {
24540 (char *) "self",(char *) "id", NULL
24543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24545 if (!SWIG_IsOK(res1
)) {
24546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24548 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24550 if (!SWIG_IsOK(ecode2
)) {
24551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24553 arg2
= static_cast< int >(val2
);
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 result
= (bool)(arg1
)->GetToolState(arg2
);
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24569 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char * kwnames
[] = {
24581 (char *) "self",(char *) "id", NULL
24584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24586 if (!SWIG_IsOK(res1
)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24589 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24591 if (!SWIG_IsOK(ecode2
)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24594 arg2
= static_cast< int >(val2
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24610 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
= 0;
24612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24614 wxString
*arg3
= 0 ;
24619 bool temp3
= false ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 PyObject
* obj2
= 0 ;
24623 char * kwnames
[] = {
24624 (char *) "self",(char *) "id",(char *) "helpString", NULL
24627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24632 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24634 if (!SWIG_IsOK(ecode2
)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24637 arg2
= static_cast< int >(val2
);
24639 arg3
= wxString_in_helper(obj2
);
24640 if (arg3
== NULL
) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_Py_Void();
24664 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
= 0;
24666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 char * kwnames
[] = {
24676 (char *) "self",(char *) "id", NULL
24679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24681 if (!SWIG_IsOK(res1
)) {
24682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24684 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24686 if (!SWIG_IsOK(ecode2
)) {
24687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24689 arg2
= static_cast< int >(val2
);
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (arg1
)->GetToolShortHelp(arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24709 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
= 0;
24711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24713 wxString
*arg3
= 0 ;
24718 bool temp3
= false ;
24719 PyObject
* obj0
= 0 ;
24720 PyObject
* obj1
= 0 ;
24721 PyObject
* obj2
= 0 ;
24722 char * kwnames
[] = {
24723 (char *) "self",(char *) "id",(char *) "helpString", NULL
24726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24728 if (!SWIG_IsOK(res1
)) {
24729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24731 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24733 if (!SWIG_IsOK(ecode2
)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24736 arg2
= static_cast< int >(val2
);
24738 arg3
= wxString_in_helper(obj2
);
24739 if (arg3
== NULL
) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_Py_Void();
24763 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
= 0;
24765 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 char * kwnames
[] = {
24775 (char *) "self",(char *) "id", NULL
24778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24783 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24785 if (!SWIG_IsOK(ecode2
)) {
24786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24788 arg2
= static_cast< int >(val2
);
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (arg1
)->GetToolLongHelp(arg2
);
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24808 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
= 0;
24810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 PyObject
* obj1
= 0 ;
24821 PyObject
* obj2
= 0 ;
24822 char * kwnames
[] = {
24823 (char *) "self",(char *) "x",(char *) "y", NULL
24826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24831 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24833 if (!SWIG_IsOK(ecode2
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24836 arg2
= static_cast< int >(val2
);
24837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24838 if (!SWIG_IsOK(ecode3
)) {
24839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24841 arg3
= static_cast< int >(val3
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 (arg1
)->SetMargins(arg2
,arg3
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= SWIG_Py_Void();
24855 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
= 0;
24857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char * kwnames
[] = {
24865 (char *) "self",(char *) "size", NULL
24868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24873 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24876 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_Py_Void();
24891 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= 0;
24893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char * kwnames
[] = {
24902 (char *) "self",(char *) "packing", NULL
24905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24907 if (!SWIG_IsOK(res1
)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24910 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24912 if (!SWIG_IsOK(ecode2
)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24915 arg2
= static_cast< int >(val2
);
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetToolPacking(arg2
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_Py_Void();
24929 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
= 0;
24931 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24937 PyObject
* obj0
= 0 ;
24938 PyObject
* obj1
= 0 ;
24939 char * kwnames
[] = {
24940 (char *) "self",(char *) "separation", NULL
24943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24945 if (!SWIG_IsOK(res1
)) {
24946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24948 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24950 if (!SWIG_IsOK(ecode2
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24953 arg2
= static_cast< int >(val2
);
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 (arg1
)->SetToolSeparation(arg2
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= SWIG_Py_Void();
24967 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24968 PyObject
*resultobj
= 0;
24969 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24973 PyObject
*swig_obj
[1] ;
24975 if (!args
) SWIG_fail
;
24976 swig_obj
[0] = args
;
24977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24978 if (!SWIG_IsOK(res1
)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24981 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (arg1
)->GetToolMargins();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24995 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24996 PyObject
*resultobj
= 0;
24997 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25001 PyObject
*swig_obj
[1] ;
25003 if (!args
) SWIG_fail
;
25004 swig_obj
[0] = args
;
25005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25006 if (!SWIG_IsOK(res1
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25009 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (arg1
)->GetMargins();
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25023 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25024 PyObject
*resultobj
= 0;
25025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25029 PyObject
*swig_obj
[1] ;
25031 if (!args
) SWIG_fail
;
25032 swig_obj
[0] = args
;
25033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25034 if (!SWIG_IsOK(res1
)) {
25035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25037 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25040 result
= (int)(arg1
)->GetToolPacking();
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= SWIG_From_int(static_cast< int >(result
));
25051 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25052 PyObject
*resultobj
= 0;
25053 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25057 PyObject
*swig_obj
[1] ;
25059 if (!args
) SWIG_fail
;
25060 swig_obj
[0] = args
;
25061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25062 if (!SWIG_IsOK(res1
)) {
25063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25065 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (int)(arg1
)->GetToolSeparation();
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25072 resultobj
= SWIG_From_int(static_cast< int >(result
));
25079 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
= 0;
25081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 char * kwnames
[] = {
25090 (char *) "self",(char *) "nRows", NULL
25093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25095 if (!SWIG_IsOK(res1
)) {
25096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25098 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25100 if (!SWIG_IsOK(ecode2
)) {
25101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25103 arg2
= static_cast< int >(val2
);
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 (arg1
)->SetRows(arg2
);
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_Py_Void();
25117 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
= 0;
25119 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 PyObject
* obj2
= 0 ;
25131 char * kwnames
[] = {
25132 (char *) "self",(char *) "rows",(char *) "cols", NULL
25135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25137 if (!SWIG_IsOK(res1
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25140 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25142 if (!SWIG_IsOK(ecode2
)) {
25143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25145 arg2
= static_cast< int >(val2
);
25146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25147 if (!SWIG_IsOK(ecode3
)) {
25148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25150 arg3
= static_cast< int >(val3
);
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_Py_Void();
25164 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25165 PyObject
*resultobj
= 0;
25166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25170 PyObject
*swig_obj
[1] ;
25172 if (!args
) SWIG_fail
;
25173 swig_obj
[0] = args
;
25174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25175 if (!SWIG_IsOK(res1
)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25178 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (int)(arg1
)->GetMaxRows();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_From_int(static_cast< int >(result
));
25192 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 PyObject
*resultobj
= 0;
25194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25198 PyObject
*swig_obj
[1] ;
25200 if (!args
) SWIG_fail
;
25201 swig_obj
[0] = args
;
25202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25206 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (int)(arg1
)->GetMaxCols();
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_From_int(static_cast< int >(result
));
25220 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
= 0;
25222 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 char * kwnames
[] = {
25230 (char *) "self",(char *) "size", NULL
25233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25238 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25241 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= SWIG_Py_Void();
25256 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25257 PyObject
*resultobj
= 0;
25258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25262 PyObject
*swig_obj
[1] ;
25264 if (!args
) SWIG_fail
;
25265 swig_obj
[0] = args
;
25266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25267 if (!SWIG_IsOK(res1
)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25270 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (arg1
)->GetToolBitmapSize();
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25284 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25285 PyObject
*resultobj
= 0;
25286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25290 PyObject
*swig_obj
[1] ;
25292 if (!args
) SWIG_fail
;
25293 swig_obj
[0] = args
;
25294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25295 if (!SWIG_IsOK(res1
)) {
25296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25298 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (arg1
)->GetToolSize();
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25312 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
= 0;
25314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25317 wxToolBarToolBase
*result
= 0 ;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 PyObject
* obj2
= 0 ;
25327 char * kwnames
[] = {
25328 (char *) "self",(char *) "x",(char *) "y", NULL
25331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25336 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25338 if (!SWIG_IsOK(ecode2
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25341 arg2
= static_cast< int >(val2
);
25342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25343 if (!SWIG_IsOK(ecode3
)) {
25344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25346 arg3
= static_cast< int >(val3
);
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25362 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
= 0;
25364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25366 wxToolBarToolBase
*result
= 0 ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char * kwnames
[] = {
25374 (char *) "self",(char *) "toolid", NULL
25377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25379 if (!SWIG_IsOK(res1
)) {
25380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25382 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25384 if (!SWIG_IsOK(ecode2
)) {
25385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25387 arg2
= static_cast< int >(val2
);
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25403 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25404 PyObject
*resultobj
= 0;
25405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25409 PyObject
*swig_obj
[1] ;
25411 if (!args
) SWIG_fail
;
25412 swig_obj
[0] = args
;
25413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25417 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (bool)(arg1
)->IsVertical();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25433 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25434 PyObject
*resultobj
= 0;
25435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25439 PyObject
*swig_obj
[1] ;
25441 if (!args
) SWIG_fail
;
25442 swig_obj
[0] = args
;
25443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25444 if (!SWIG_IsOK(res1
)) {
25445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25447 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25461 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25464 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25465 return SWIG_Py_Void();
25468 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
= 0;
25470 wxWindow
*arg1
= (wxWindow
*) 0 ;
25471 int arg2
= (int) -1 ;
25472 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25473 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25474 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25475 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25476 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25477 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25478 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25479 wxToolBar
*result
= 0 ;
25488 bool temp6
= false ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 PyObject
* obj2
= 0 ;
25492 PyObject
* obj3
= 0 ;
25493 PyObject
* obj4
= 0 ;
25494 PyObject
* obj5
= 0 ;
25495 char * kwnames
[] = {
25496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25501 if (!SWIG_IsOK(res1
)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25507 if (!SWIG_IsOK(ecode2
)) {
25508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25510 arg2
= static_cast< int >(val2
);
25515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25521 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25525 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25526 if (!SWIG_IsOK(ecode5
)) {
25527 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25529 arg5
= static_cast< long >(val5
);
25533 arg6
= wxString_in_helper(obj5
);
25534 if (arg6
== NULL
) SWIG_fail
;
25539 if (!wxPyCheckForApp()) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25560 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25561 PyObject
*resultobj
= 0;
25562 wxToolBar
*result
= 0 ;
25564 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25566 if (!wxPyCheckForApp()) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (wxToolBar
*)new wxToolBar();
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25579 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
= 0;
25581 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25582 wxWindow
*arg2
= (wxWindow
*) 0 ;
25583 int arg3
= (int) -1 ;
25584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25588 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25589 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25590 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25602 bool temp7
= false ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 PyObject
* obj2
= 0 ;
25606 PyObject
* obj3
= 0 ;
25607 PyObject
* obj4
= 0 ;
25608 PyObject
* obj5
= 0 ;
25609 PyObject
* obj6
= 0 ;
25610 char * kwnames
[] = {
25611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25616 if (!SWIG_IsOK(res1
)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25619 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25621 if (!SWIG_IsOK(res2
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25624 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25627 if (!SWIG_IsOK(ecode3
)) {
25628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25630 arg3
= static_cast< int >(val3
);
25635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25645 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25646 if (!SWIG_IsOK(ecode6
)) {
25647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25649 arg6
= static_cast< long >(val6
);
25653 arg7
= wxString_in_helper(obj6
);
25654 if (arg7
== NULL
) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25681 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
= 0;
25683 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25684 SwigValueWrapper
<wxVisualAttributes
> result
;
25687 PyObject
* obj0
= 0 ;
25688 char * kwnames
[] = {
25689 (char *) "variant", NULL
25692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25695 if (!SWIG_IsOK(ecode1
)) {
25696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25698 arg1
= static_cast< wxWindowVariant
>(val1
);
25701 if (!wxPyCheckForApp()) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25714 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25717 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25718 return SWIG_Py_Void();
25721 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25722 return SWIG_Python_InitShadowInstance(args
);
25725 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25726 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25731 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25732 PyObject
*pyobj
= 0;
25736 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25738 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25745 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
= 0;
25747 wxColour
const &arg1_defvalue
= wxNullColour
;
25748 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25749 wxColour
const &arg2_defvalue
= wxNullColour
;
25750 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25751 wxFont
const &arg3_defvalue
= wxNullFont
;
25752 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25753 wxListItemAttr
*result
= 0 ;
25758 PyObject
* obj0
= 0 ;
25759 PyObject
* obj1
= 0 ;
25760 PyObject
* obj2
= 0 ;
25761 char * kwnames
[] = {
25762 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25769 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25775 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25779 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25780 if (!SWIG_IsOK(res3
)) {
25781 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25786 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25801 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25802 PyObject
*resultobj
= 0;
25803 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25806 PyObject
*swig_obj
[1] ;
25808 if (!args
) SWIG_fail
;
25809 swig_obj
[0] = args
;
25810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25811 if (!SWIG_IsOK(res1
)) {
25812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25814 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_Py_Void();
25829 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
= 0;
25831 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25832 wxColour
*arg2
= 0 ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 char * kwnames
[] = {
25839 (char *) "self",(char *) "colText", NULL
25842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25844 if (!SWIG_IsOK(res1
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25847 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= SWIG_Py_Void();
25865 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
= 0;
25867 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25868 wxColour
*arg2
= 0 ;
25872 PyObject
* obj0
= 0 ;
25873 PyObject
* obj1
= 0 ;
25874 char * kwnames
[] = {
25875 (char *) "self",(char *) "colBack", NULL
25878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25880 if (!SWIG_IsOK(res1
)) {
25881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25883 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25886 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_Py_Void();
25901 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= 0;
25903 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char * kwnames
[] = {
25912 (char *) "self",(char *) "font", NULL
25915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25917 if (!SWIG_IsOK(res1
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25920 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25922 if (!SWIG_IsOK(res2
)) {
25923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25928 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 (arg1
)->SetFont((wxFont
const &)*arg2
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_Py_Void();
25942 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 PyObject
*resultobj
= 0;
25944 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25948 PyObject
*swig_obj
[1] ;
25950 if (!args
) SWIG_fail
;
25951 swig_obj
[0] = args
;
25952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25956 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= (bool)(arg1
)->HasTextColour();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25972 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25973 PyObject
*resultobj
= 0;
25974 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25978 PyObject
*swig_obj
[1] ;
25980 if (!args
) SWIG_fail
;
25981 swig_obj
[0] = args
;
25982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25983 if (!SWIG_IsOK(res1
)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25986 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 result
= (bool)(arg1
)->HasBackgroundColour();
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26002 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26003 PyObject
*resultobj
= 0;
26004 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26008 PyObject
*swig_obj
[1] ;
26010 if (!args
) SWIG_fail
;
26011 swig_obj
[0] = args
;
26012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26013 if (!SWIG_IsOK(res1
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26016 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= (bool)(arg1
)->HasFont();
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26032 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26033 PyObject
*resultobj
= 0;
26034 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26038 PyObject
*swig_obj
[1] ;
26040 if (!args
) SWIG_fail
;
26041 swig_obj
[0] = args
;
26042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26043 if (!SWIG_IsOK(res1
)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26046 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (arg1
)->GetTextColour();
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26060 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26061 PyObject
*resultobj
= 0;
26062 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26066 PyObject
*swig_obj
[1] ;
26068 if (!args
) SWIG_fail
;
26069 swig_obj
[0] = args
;
26070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26071 if (!SWIG_IsOK(res1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26074 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (arg1
)->GetBackgroundColour();
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26088 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26089 PyObject
*resultobj
= 0;
26090 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26094 PyObject
*swig_obj
[1] ;
26096 if (!args
) SWIG_fail
;
26097 swig_obj
[0] = args
;
26098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26099 if (!SWIG_IsOK(res1
)) {
26100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26102 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 result
= (arg1
)->GetFont();
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26116 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
= 0;
26118 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26119 wxListItemAttr
*arg2
= 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 char * kwnames
[] = {
26127 (char *) "self",(char *) "source", NULL
26130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26132 if (!SWIG_IsOK(res1
)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26135 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26137 if (!SWIG_IsOK(res2
)) {
26138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26143 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 resultobj
= SWIG_Py_Void();
26157 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26158 PyObject
*resultobj
= 0;
26159 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26162 PyObject
*swig_obj
[1] ;
26164 if (!args
) SWIG_fail
;
26165 swig_obj
[0] = args
;
26166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26170 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 wxListItemAttr_Destroy(arg1
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_Py_Void();
26184 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26187 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26188 return SWIG_Py_Void();
26191 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26192 return SWIG_Python_InitShadowInstance(args
);
26195 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 PyObject
*resultobj
= 0;
26197 wxListItem
*result
= 0 ;
26199 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (wxListItem
*)new wxListItem();
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26215 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26216 PyObject
*resultobj
= 0;
26217 wxListItem
*arg1
= (wxListItem
*) 0 ;
26220 PyObject
*swig_obj
[1] ;
26222 if (!args
) SWIG_fail
;
26223 swig_obj
[0] = args
;
26224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26225 if (!SWIG_IsOK(res1
)) {
26226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26228 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_Py_Void();
26243 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26244 PyObject
*resultobj
= 0;
26245 wxListItem
*arg1
= (wxListItem
*) 0 ;
26248 PyObject
*swig_obj
[1] ;
26250 if (!args
) SWIG_fail
;
26251 swig_obj
[0] = args
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26256 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= SWIG_Py_Void();
26270 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26271 PyObject
*resultobj
= 0;
26272 wxListItem
*arg1
= (wxListItem
*) 0 ;
26275 PyObject
*swig_obj
[1] ;
26277 if (!args
) SWIG_fail
;
26278 swig_obj
[0] = args
;
26279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26280 if (!SWIG_IsOK(res1
)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26283 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 (arg1
)->ClearAttributes();
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_Py_Void();
26297 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
= 0;
26299 wxListItem
*arg1
= (wxListItem
*) 0 ;
26305 PyObject
* obj0
= 0 ;
26306 PyObject
* obj1
= 0 ;
26307 char * kwnames
[] = {
26308 (char *) "self",(char *) "mask", NULL
26311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26313 if (!SWIG_IsOK(res1
)) {
26314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26316 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26317 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26318 if (!SWIG_IsOK(ecode2
)) {
26319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26321 arg2
= static_cast< long >(val2
);
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 (arg1
)->SetMask(arg2
);
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= SWIG_Py_Void();
26335 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
= 0;
26337 wxListItem
*arg1
= (wxListItem
*) 0 ;
26343 PyObject
* obj0
= 0 ;
26344 PyObject
* obj1
= 0 ;
26345 char * kwnames
[] = {
26346 (char *) "self",(char *) "id", NULL
26349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26351 if (!SWIG_IsOK(res1
)) {
26352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26354 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26355 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26356 if (!SWIG_IsOK(ecode2
)) {
26357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26359 arg2
= static_cast< long >(val2
);
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 (arg1
)->SetId(arg2
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 resultobj
= SWIG_Py_Void();
26373 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
= 0;
26375 wxListItem
*arg1
= (wxListItem
*) 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 char * kwnames
[] = {
26384 (char *) "self",(char *) "col", NULL
26387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26392 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26394 if (!SWIG_IsOK(ecode2
)) {
26395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26397 arg2
= static_cast< int >(val2
);
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 (arg1
)->SetColumn(arg2
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= SWIG_Py_Void();
26411 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
= 0;
26413 wxListItem
*arg1
= (wxListItem
*) 0 ;
26419 PyObject
* obj0
= 0 ;
26420 PyObject
* obj1
= 0 ;
26421 char * kwnames
[] = {
26422 (char *) "self",(char *) "state", NULL
26425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26427 if (!SWIG_IsOK(res1
)) {
26428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26430 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26431 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26432 if (!SWIG_IsOK(ecode2
)) {
26433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26435 arg2
= static_cast< long >(val2
);
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 (arg1
)->SetState(arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_Py_Void();
26449 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
= 0;
26451 wxListItem
*arg1
= (wxListItem
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 char * kwnames
[] = {
26460 (char *) "self",(char *) "stateMask", NULL
26463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26465 if (!SWIG_IsOK(res1
)) {
26466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26468 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26469 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26470 if (!SWIG_IsOK(ecode2
)) {
26471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26473 arg2
= static_cast< long >(val2
);
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 (arg1
)->SetStateMask(arg2
);
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= SWIG_Py_Void();
26487 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
= 0;
26489 wxListItem
*arg1
= (wxListItem
*) 0 ;
26490 wxString
*arg2
= 0 ;
26493 bool temp2
= false ;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 char * kwnames
[] = {
26497 (char *) "self",(char *) "text", NULL
26500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26502 if (!SWIG_IsOK(res1
)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26505 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26507 arg2
= wxString_in_helper(obj1
);
26508 if (arg2
== NULL
) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 (arg1
)->SetText((wxString
const &)*arg2
);
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= SWIG_Py_Void();
26532 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
= 0;
26534 wxListItem
*arg1
= (wxListItem
*) 0 ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 char * kwnames
[] = {
26543 (char *) "self",(char *) "image", NULL
26546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26551 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26553 if (!SWIG_IsOK(ecode2
)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26556 arg2
= static_cast< int >(val2
);
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 (arg1
)->SetImage(arg2
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= SWIG_Py_Void();
26570 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
= 0;
26572 wxListItem
*arg1
= (wxListItem
*) 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 char * kwnames
[] = {
26581 (char *) "self",(char *) "data", NULL
26584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26586 if (!SWIG_IsOK(res1
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26589 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26590 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26591 if (!SWIG_IsOK(ecode2
)) {
26592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26594 arg2
= static_cast< long >(val2
);
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 (arg1
)->SetData(arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_Py_Void();
26608 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
= 0;
26610 wxListItem
*arg1
= (wxListItem
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 char * kwnames
[] = {
26619 (char *) "self",(char *) "width", NULL
26622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26624 if (!SWIG_IsOK(res1
)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26627 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26629 if (!SWIG_IsOK(ecode2
)) {
26630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26632 arg2
= static_cast< int >(val2
);
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 (arg1
)->SetWidth(arg2
);
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_Py_Void();
26646 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
= 0;
26648 wxListItem
*arg1
= (wxListItem
*) 0 ;
26649 wxListColumnFormat arg2
;
26654 PyObject
* obj0
= 0 ;
26655 PyObject
* obj1
= 0 ;
26656 char * kwnames
[] = {
26657 (char *) "self",(char *) "align", NULL
26660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26662 if (!SWIG_IsOK(res1
)) {
26663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26665 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26667 if (!SWIG_IsOK(ecode2
)) {
26668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26670 arg2
= static_cast< wxListColumnFormat
>(val2
);
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 (arg1
)->SetAlign(arg2
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_Py_Void();
26684 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
= 0;
26686 wxListItem
*arg1
= (wxListItem
*) 0 ;
26687 wxColour
*arg2
= 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 char * kwnames
[] = {
26694 (char *) "self",(char *) "colText", NULL
26697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26699 if (!SWIG_IsOK(res1
)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26702 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_Py_Void();
26720 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
= 0;
26722 wxListItem
*arg1
= (wxListItem
*) 0 ;
26723 wxColour
*arg2
= 0 ;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 char * kwnames
[] = {
26730 (char *) "self",(char *) "colBack", NULL
26733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26738 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26745 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= SWIG_Py_Void();
26756 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
= 0;
26758 wxListItem
*arg1
= (wxListItem
*) 0 ;
26764 PyObject
* obj0
= 0 ;
26765 PyObject
* obj1
= 0 ;
26766 char * kwnames
[] = {
26767 (char *) "self",(char *) "font", NULL
26770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26772 if (!SWIG_IsOK(res1
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26775 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26777 if (!SWIG_IsOK(res2
)) {
26778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26783 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->SetFont((wxFont
const &)*arg2
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_Py_Void();
26797 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26798 PyObject
*resultobj
= 0;
26799 wxListItem
*arg1
= (wxListItem
*) 0 ;
26803 PyObject
*swig_obj
[1] ;
26805 if (!args
) SWIG_fail
;
26806 swig_obj
[0] = args
;
26807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26808 if (!SWIG_IsOK(res1
)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26811 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (long)(arg1
)->GetMask();
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= SWIG_From_long(static_cast< long >(result
));
26825 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26826 PyObject
*resultobj
= 0;
26827 wxListItem
*arg1
= (wxListItem
*) 0 ;
26831 PyObject
*swig_obj
[1] ;
26833 if (!args
) SWIG_fail
;
26834 swig_obj
[0] = args
;
26835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26836 if (!SWIG_IsOK(res1
)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26839 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 result
= (long)(arg1
)->GetId();
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= SWIG_From_long(static_cast< long >(result
));
26853 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26854 PyObject
*resultobj
= 0;
26855 wxListItem
*arg1
= (wxListItem
*) 0 ;
26859 PyObject
*swig_obj
[1] ;
26861 if (!args
) SWIG_fail
;
26862 swig_obj
[0] = args
;
26863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26864 if (!SWIG_IsOK(res1
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26867 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (int)(arg1
)->GetColumn();
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= SWIG_From_int(static_cast< int >(result
));
26881 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26882 PyObject
*resultobj
= 0;
26883 wxListItem
*arg1
= (wxListItem
*) 0 ;
26887 PyObject
*swig_obj
[1] ;
26889 if (!args
) SWIG_fail
;
26890 swig_obj
[0] = args
;
26891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26892 if (!SWIG_IsOK(res1
)) {
26893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26895 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= (long)(arg1
)->GetState();
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= SWIG_From_long(static_cast< long >(result
));
26909 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26910 PyObject
*resultobj
= 0;
26911 wxListItem
*arg1
= (wxListItem
*) 0 ;
26912 wxString
*result
= 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_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26923 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 wxString
const &_result_ref
= (arg1
)->GetText();
26928 result
= (wxString
*) &_result_ref
;
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26937 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26946 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26947 PyObject
*resultobj
= 0;
26948 wxListItem
*arg1
= (wxListItem
*) 0 ;
26952 PyObject
*swig_obj
[1] ;
26954 if (!args
) SWIG_fail
;
26955 swig_obj
[0] = args
;
26956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26957 if (!SWIG_IsOK(res1
)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26960 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (int)(arg1
)->GetImage();
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= SWIG_From_int(static_cast< int >(result
));
26974 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26975 PyObject
*resultobj
= 0;
26976 wxListItem
*arg1
= (wxListItem
*) 0 ;
26980 PyObject
*swig_obj
[1] ;
26982 if (!args
) SWIG_fail
;
26983 swig_obj
[0] = args
;
26984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26985 if (!SWIG_IsOK(res1
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26988 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (long)(arg1
)->GetData();
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= SWIG_From_long(static_cast< long >(result
));
27002 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27003 PyObject
*resultobj
= 0;
27004 wxListItem
*arg1
= (wxListItem
*) 0 ;
27008 PyObject
*swig_obj
[1] ;
27010 if (!args
) SWIG_fail
;
27011 swig_obj
[0] = args
;
27012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27013 if (!SWIG_IsOK(res1
)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27016 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 result
= (int)(arg1
)->GetWidth();
27020 wxPyEndAllowThreads(__tstate
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27023 resultobj
= SWIG_From_int(static_cast< int >(result
));
27030 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27031 PyObject
*resultobj
= 0;
27032 wxListItem
*arg1
= (wxListItem
*) 0 ;
27033 wxListColumnFormat result
;
27036 PyObject
*swig_obj
[1] ;
27038 if (!args
) SWIG_fail
;
27039 swig_obj
[0] = args
;
27040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27041 if (!SWIG_IsOK(res1
)) {
27042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27044 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= SWIG_From_int(static_cast< int >(result
));
27058 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27059 PyObject
*resultobj
= 0;
27060 wxListItem
*arg1
= (wxListItem
*) 0 ;
27061 wxListItemAttr
*result
= 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_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27072 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27086 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(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_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27100 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (bool)(arg1
)->HasAttributes();
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27116 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27117 PyObject
*resultobj
= 0;
27118 wxListItem
*arg1
= (wxListItem
*) 0 ;
27122 PyObject
*swig_obj
[1] ;
27124 if (!args
) SWIG_fail
;
27125 swig_obj
[0] = args
;
27126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27127 if (!SWIG_IsOK(res1
)) {
27128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27130 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27137 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27144 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27145 PyObject
*resultobj
= 0;
27146 wxListItem
*arg1
= (wxListItem
*) 0 ;
27150 PyObject
*swig_obj
[1] ;
27152 if (!args
) SWIG_fail
;
27153 swig_obj
[0] = args
;
27154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27158 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27172 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27173 PyObject
*resultobj
= 0;
27174 wxListItem
*arg1
= (wxListItem
*) 0 ;
27178 PyObject
*swig_obj
[1] ;
27180 if (!args
) SWIG_fail
;
27181 swig_obj
[0] = args
;
27182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27183 if (!SWIG_IsOK(res1
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27186 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= ((wxListItem
const *)arg1
)->GetFont();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27200 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27201 PyObject
*resultobj
= 0;
27202 wxListItem
*arg1
= (wxListItem
*) 0 ;
27208 PyObject
*swig_obj
[2] ;
27210 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27212 if (!SWIG_IsOK(res1
)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27215 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27216 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27217 if (!SWIG_IsOK(ecode2
)) {
27218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27220 arg2
= static_cast< long >(val2
);
27221 if (arg1
) (arg1
)->m_mask
= arg2
;
27223 resultobj
= SWIG_Py_Void();
27230 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27231 PyObject
*resultobj
= 0;
27232 wxListItem
*arg1
= (wxListItem
*) 0 ;
27236 PyObject
*swig_obj
[1] ;
27238 if (!args
) SWIG_fail
;
27239 swig_obj
[0] = args
;
27240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27241 if (!SWIG_IsOK(res1
)) {
27242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27244 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27245 result
= (long) ((arg1
)->m_mask
);
27246 resultobj
= SWIG_From_long(static_cast< long >(result
));
27253 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27254 PyObject
*resultobj
= 0;
27255 wxListItem
*arg1
= (wxListItem
*) 0 ;
27261 PyObject
*swig_obj
[2] ;
27263 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27265 if (!SWIG_IsOK(res1
)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27268 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27269 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27270 if (!SWIG_IsOK(ecode2
)) {
27271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27273 arg2
= static_cast< long >(val2
);
27274 if (arg1
) (arg1
)->m_itemId
= arg2
;
27276 resultobj
= SWIG_Py_Void();
27283 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 PyObject
*resultobj
= 0;
27285 wxListItem
*arg1
= (wxListItem
*) 0 ;
27289 PyObject
*swig_obj
[1] ;
27291 if (!args
) SWIG_fail
;
27292 swig_obj
[0] = args
;
27293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27297 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27298 result
= (long) ((arg1
)->m_itemId
);
27299 resultobj
= SWIG_From_long(static_cast< long >(result
));
27306 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27307 PyObject
*resultobj
= 0;
27308 wxListItem
*arg1
= (wxListItem
*) 0 ;
27314 PyObject
*swig_obj
[2] ;
27316 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27318 if (!SWIG_IsOK(res1
)) {
27319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27321 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27322 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27323 if (!SWIG_IsOK(ecode2
)) {
27324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27326 arg2
= static_cast< int >(val2
);
27327 if (arg1
) (arg1
)->m_col
= arg2
;
27329 resultobj
= SWIG_Py_Void();
27336 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27337 PyObject
*resultobj
= 0;
27338 wxListItem
*arg1
= (wxListItem
*) 0 ;
27342 PyObject
*swig_obj
[1] ;
27344 if (!args
) SWIG_fail
;
27345 swig_obj
[0] = args
;
27346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27347 if (!SWIG_IsOK(res1
)) {
27348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27350 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27351 result
= (int) ((arg1
)->m_col
);
27352 resultobj
= SWIG_From_int(static_cast< int >(result
));
27359 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27360 PyObject
*resultobj
= 0;
27361 wxListItem
*arg1
= (wxListItem
*) 0 ;
27367 PyObject
*swig_obj
[2] ;
27369 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27371 if (!SWIG_IsOK(res1
)) {
27372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27374 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27375 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27376 if (!SWIG_IsOK(ecode2
)) {
27377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27379 arg2
= static_cast< long >(val2
);
27380 if (arg1
) (arg1
)->m_state
= arg2
;
27382 resultobj
= SWIG_Py_Void();
27389 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27390 PyObject
*resultobj
= 0;
27391 wxListItem
*arg1
= (wxListItem
*) 0 ;
27395 PyObject
*swig_obj
[1] ;
27397 if (!args
) SWIG_fail
;
27398 swig_obj
[0] = args
;
27399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27400 if (!SWIG_IsOK(res1
)) {
27401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27403 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27404 result
= (long) ((arg1
)->m_state
);
27405 resultobj
= SWIG_From_long(static_cast< long >(result
));
27412 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27413 PyObject
*resultobj
= 0;
27414 wxListItem
*arg1
= (wxListItem
*) 0 ;
27420 PyObject
*swig_obj
[2] ;
27422 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27424 if (!SWIG_IsOK(res1
)) {
27425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27427 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27428 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27429 if (!SWIG_IsOK(ecode2
)) {
27430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27432 arg2
= static_cast< long >(val2
);
27433 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27435 resultobj
= SWIG_Py_Void();
27442 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27443 PyObject
*resultobj
= 0;
27444 wxListItem
*arg1
= (wxListItem
*) 0 ;
27448 PyObject
*swig_obj
[1] ;
27450 if (!args
) SWIG_fail
;
27451 swig_obj
[0] = args
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27456 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27457 result
= (long) ((arg1
)->m_stateMask
);
27458 resultobj
= SWIG_From_long(static_cast< long >(result
));
27465 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27466 PyObject
*resultobj
= 0;
27467 wxListItem
*arg1
= (wxListItem
*) 0 ;
27468 wxString
*arg2
= (wxString
*) 0 ;
27471 bool temp2
= false ;
27472 PyObject
*swig_obj
[2] ;
27474 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27476 if (!SWIG_IsOK(res1
)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27479 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27481 arg2
= wxString_in_helper(swig_obj
[1]);
27482 if (arg2
== NULL
) SWIG_fail
;
27485 if (arg1
) (arg1
)->m_text
= *arg2
;
27487 resultobj
= SWIG_Py_Void();
27502 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27503 PyObject
*resultobj
= 0;
27504 wxListItem
*arg1
= (wxListItem
*) 0 ;
27505 wxString
*result
= 0 ;
27508 PyObject
*swig_obj
[1] ;
27510 if (!args
) SWIG_fail
;
27511 swig_obj
[0] = args
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27516 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27517 result
= (wxString
*)& ((arg1
)->m_text
);
27520 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27522 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27531 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27532 PyObject
*resultobj
= 0;
27533 wxListItem
*arg1
= (wxListItem
*) 0 ;
27539 PyObject
*swig_obj
[2] ;
27541 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27543 if (!SWIG_IsOK(res1
)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27546 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27547 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27548 if (!SWIG_IsOK(ecode2
)) {
27549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27551 arg2
= static_cast< int >(val2
);
27552 if (arg1
) (arg1
)->m_image
= arg2
;
27554 resultobj
= SWIG_Py_Void();
27561 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 PyObject
*resultobj
= 0;
27563 wxListItem
*arg1
= (wxListItem
*) 0 ;
27567 PyObject
*swig_obj
[1] ;
27569 if (!args
) SWIG_fail
;
27570 swig_obj
[0] = args
;
27571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27572 if (!SWIG_IsOK(res1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27575 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27576 result
= (int) ((arg1
)->m_image
);
27577 resultobj
= SWIG_From_int(static_cast< int >(result
));
27584 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27585 PyObject
*resultobj
= 0;
27586 wxListItem
*arg1
= (wxListItem
*) 0 ;
27592 PyObject
*swig_obj
[2] ;
27594 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27599 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27600 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27601 if (!SWIG_IsOK(ecode2
)) {
27602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27604 arg2
= static_cast< long >(val2
);
27605 if (arg1
) (arg1
)->m_data
= arg2
;
27607 resultobj
= SWIG_Py_Void();
27614 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxListItem
*arg1
= (wxListItem
*) 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_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27628 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27629 result
= (long) ((arg1
)->m_data
);
27630 resultobj
= SWIG_From_long(static_cast< long >(result
));
27637 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27638 PyObject
*resultobj
= 0;
27639 wxListItem
*arg1
= (wxListItem
*) 0 ;
27645 PyObject
*swig_obj
[2] ;
27647 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27649 if (!SWIG_IsOK(res1
)) {
27650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27652 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27653 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27654 if (!SWIG_IsOK(ecode2
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27657 arg2
= static_cast< int >(val2
);
27658 if (arg1
) (arg1
)->m_format
= arg2
;
27660 resultobj
= SWIG_Py_Void();
27667 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27668 PyObject
*resultobj
= 0;
27669 wxListItem
*arg1
= (wxListItem
*) 0 ;
27673 PyObject
*swig_obj
[1] ;
27675 if (!args
) SWIG_fail
;
27676 swig_obj
[0] = args
;
27677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27678 if (!SWIG_IsOK(res1
)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27681 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27682 result
= (int) ((arg1
)->m_format
);
27683 resultobj
= SWIG_From_int(static_cast< int >(result
));
27690 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27691 PyObject
*resultobj
= 0;
27692 wxListItem
*arg1
= (wxListItem
*) 0 ;
27698 PyObject
*swig_obj
[2] ;
27700 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27702 if (!SWIG_IsOK(res1
)) {
27703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27705 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27706 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27707 if (!SWIG_IsOK(ecode2
)) {
27708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27710 arg2
= static_cast< int >(val2
);
27711 if (arg1
) (arg1
)->m_width
= arg2
;
27713 resultobj
= SWIG_Py_Void();
27720 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27721 PyObject
*resultobj
= 0;
27722 wxListItem
*arg1
= (wxListItem
*) 0 ;
27726 PyObject
*swig_obj
[1] ;
27728 if (!args
) SWIG_fail
;
27729 swig_obj
[0] = args
;
27730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27731 if (!SWIG_IsOK(res1
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27734 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27735 result
= (int) ((arg1
)->m_width
);
27736 resultobj
= SWIG_From_int(static_cast< int >(result
));
27743 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27746 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27747 return SWIG_Py_Void();
27750 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27751 return SWIG_Python_InitShadowInstance(args
);
27754 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
= 0;
27756 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27757 int arg2
= (int) 0 ;
27758 wxListEvent
*result
= 0 ;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 char * kwnames
[] = {
27766 (char *) "commandType",(char *) "id", NULL
27769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27772 if (!SWIG_IsOK(ecode1
)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27775 arg1
= static_cast< wxEventType
>(val1
);
27778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27779 if (!SWIG_IsOK(ecode2
)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27782 arg2
= static_cast< int >(val2
);
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27797 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27798 PyObject
*resultobj
= 0;
27799 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27805 PyObject
*swig_obj
[2] ;
27807 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27812 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27813 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27814 if (!SWIG_IsOK(ecode2
)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27817 arg2
= static_cast< int >(val2
);
27818 if (arg1
) (arg1
)->m_code
= arg2
;
27820 resultobj
= SWIG_Py_Void();
27827 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27828 PyObject
*resultobj
= 0;
27829 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27833 PyObject
*swig_obj
[1] ;
27835 if (!args
) SWIG_fail
;
27836 swig_obj
[0] = args
;
27837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27838 if (!SWIG_IsOK(res1
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27841 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27842 result
= (int) ((arg1
)->m_code
);
27843 resultobj
= SWIG_From_int(static_cast< int >(result
));
27850 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27851 PyObject
*resultobj
= 0;
27852 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27858 PyObject
*swig_obj
[2] ;
27860 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27862 if (!SWIG_IsOK(res1
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27865 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27866 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27867 if (!SWIG_IsOK(ecode2
)) {
27868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27870 arg2
= static_cast< long >(val2
);
27871 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27873 resultobj
= SWIG_Py_Void();
27880 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27881 PyObject
*resultobj
= 0;
27882 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27886 PyObject
*swig_obj
[1] ;
27888 if (!args
) SWIG_fail
;
27889 swig_obj
[0] = args
;
27890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27894 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27895 result
= (long) ((arg1
)->m_oldItemIndex
);
27896 resultobj
= SWIG_From_long(static_cast< long >(result
));
27903 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27904 PyObject
*resultobj
= 0;
27905 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27911 PyObject
*swig_obj
[2] ;
27913 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27918 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27919 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27920 if (!SWIG_IsOK(ecode2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27923 arg2
= static_cast< long >(val2
);
27924 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27926 resultobj
= SWIG_Py_Void();
27933 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27934 PyObject
*resultobj
= 0;
27935 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27939 PyObject
*swig_obj
[1] ;
27941 if (!args
) SWIG_fail
;
27942 swig_obj
[0] = args
;
27943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27944 if (!SWIG_IsOK(res1
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27947 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27948 result
= (long) ((arg1
)->m_itemIndex
);
27949 resultobj
= SWIG_From_long(static_cast< long >(result
));
27956 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27957 PyObject
*resultobj
= 0;
27958 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27964 PyObject
*swig_obj
[2] ;
27966 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27968 if (!SWIG_IsOK(res1
)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27971 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27972 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27973 if (!SWIG_IsOK(ecode2
)) {
27974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27976 arg2
= static_cast< int >(val2
);
27977 if (arg1
) (arg1
)->m_col
= arg2
;
27979 resultobj
= SWIG_Py_Void();
27986 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27987 PyObject
*resultobj
= 0;
27988 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27992 PyObject
*swig_obj
[1] ;
27994 if (!args
) SWIG_fail
;
27995 swig_obj
[0] = args
;
27996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27997 if (!SWIG_IsOK(res1
)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28000 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28001 result
= (int) ((arg1
)->m_col
);
28002 resultobj
= SWIG_From_int(static_cast< int >(result
));
28009 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28010 PyObject
*resultobj
= 0;
28011 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28012 wxPoint
*arg2
= (wxPoint
*) 0 ;
28017 PyObject
*swig_obj
[2] ;
28019 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28021 if (!SWIG_IsOK(res1
)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28024 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28025 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28026 if (!SWIG_IsOK(res2
)) {
28027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28029 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28030 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28032 resultobj
= SWIG_Py_Void();
28039 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28040 PyObject
*resultobj
= 0;
28041 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28042 wxPoint
*result
= 0 ;
28045 PyObject
*swig_obj
[1] ;
28047 if (!args
) SWIG_fail
;
28048 swig_obj
[0] = args
;
28049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28050 if (!SWIG_IsOK(res1
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28053 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28054 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28062 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28063 PyObject
*resultobj
= 0;
28064 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28065 wxListItem
*result
= 0 ;
28068 PyObject
*swig_obj
[1] ;
28070 if (!args
) SWIG_fail
;
28071 swig_obj
[0] = args
;
28072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28073 if (!SWIG_IsOK(res1
)) {
28074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28076 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28077 result
= (wxListItem
*)& ((arg1
)->m_item
);
28079 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28087 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28088 PyObject
*resultobj
= 0;
28089 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28093 PyObject
*swig_obj
[1] ;
28095 if (!args
) SWIG_fail
;
28096 swig_obj
[0] = args
;
28097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28098 if (!SWIG_IsOK(res1
)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28101 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= (int)(arg1
)->GetKeyCode();
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= SWIG_From_int(static_cast< int >(result
));
28115 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28116 PyObject
*resultobj
= 0;
28117 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28121 PyObject
*swig_obj
[1] ;
28123 if (!args
) SWIG_fail
;
28124 swig_obj
[0] = args
;
28125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28126 if (!SWIG_IsOK(res1
)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28129 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 result
= (long)(arg1
)->GetIndex();
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= SWIG_From_long(static_cast< long >(result
));
28143 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28144 PyObject
*resultobj
= 0;
28145 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28149 PyObject
*swig_obj
[1] ;
28151 if (!args
) SWIG_fail
;
28152 swig_obj
[0] = args
;
28153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28154 if (!SWIG_IsOK(res1
)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28157 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 result
= (int)(arg1
)->GetColumn();
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= SWIG_From_int(static_cast< int >(result
));
28171 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28172 PyObject
*resultobj
= 0;
28173 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28177 PyObject
*swig_obj
[1] ;
28179 if (!args
) SWIG_fail
;
28180 swig_obj
[0] = args
;
28181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28182 if (!SWIG_IsOK(res1
)) {
28183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28185 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (arg1
)->GetPoint();
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28199 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28200 PyObject
*resultobj
= 0;
28201 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28202 wxString
*result
= 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_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28213 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 wxString
const &_result_ref
= (arg1
)->GetLabel();
28218 result
= (wxString
*) &_result_ref
;
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28225 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28227 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28236 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28237 PyObject
*resultobj
= 0;
28238 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28239 wxString
*result
= 0 ;
28242 PyObject
*swig_obj
[1] ;
28244 if (!args
) SWIG_fail
;
28245 swig_obj
[0] = args
;
28246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28247 if (!SWIG_IsOK(res1
)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28250 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 wxString
const &_result_ref
= (arg1
)->GetText();
28255 result
= (wxString
*) &_result_ref
;
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28262 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28264 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28273 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28274 PyObject
*resultobj
= 0;
28275 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28279 PyObject
*swig_obj
[1] ;
28281 if (!args
) SWIG_fail
;
28282 swig_obj
[0] = args
;
28283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28284 if (!SWIG_IsOK(res1
)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28287 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 result
= (int)(arg1
)->GetImage();
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= SWIG_From_int(static_cast< int >(result
));
28301 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28302 PyObject
*resultobj
= 0;
28303 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28307 PyObject
*swig_obj
[1] ;
28309 if (!args
) SWIG_fail
;
28310 swig_obj
[0] = args
;
28311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28312 if (!SWIG_IsOK(res1
)) {
28313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28315 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 result
= (long)(arg1
)->GetData();
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= SWIG_From_long(static_cast< long >(result
));
28329 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28330 PyObject
*resultobj
= 0;
28331 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28335 PyObject
*swig_obj
[1] ;
28337 if (!args
) SWIG_fail
;
28338 swig_obj
[0] = args
;
28339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28340 if (!SWIG_IsOK(res1
)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28343 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= (long)(arg1
)->GetMask();
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 resultobj
= SWIG_From_long(static_cast< long >(result
));
28357 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28358 PyObject
*resultobj
= 0;
28359 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28360 wxListItem
*result
= 0 ;
28363 PyObject
*swig_obj
[1] ;
28365 if (!args
) SWIG_fail
;
28366 swig_obj
[0] = args
;
28367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28368 if (!SWIG_IsOK(res1
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28371 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28376 result
= (wxListItem
*) &_result_ref
;
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28388 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 PyObject
*resultobj
= 0;
28390 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28394 PyObject
*swig_obj
[1] ;
28396 if (!args
) SWIG_fail
;
28397 swig_obj
[0] = args
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28402 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (long)(arg1
)->GetCacheFrom();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_From_long(static_cast< long >(result
));
28416 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28417 PyObject
*resultobj
= 0;
28418 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28422 PyObject
*swig_obj
[1] ;
28424 if (!args
) SWIG_fail
;
28425 swig_obj
[0] = args
;
28426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28427 if (!SWIG_IsOK(res1
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28430 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (long)(arg1
)->GetCacheTo();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_From_long(static_cast< long >(result
));
28444 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28445 PyObject
*resultobj
= 0;
28446 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28450 PyObject
*swig_obj
[1] ;
28452 if (!args
) SWIG_fail
;
28453 swig_obj
[0] = args
;
28454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28455 if (!SWIG_IsOK(res1
)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28458 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28474 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
= 0;
28476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28482 PyObject
* obj0
= 0 ;
28483 PyObject
* obj1
= 0 ;
28484 char * kwnames
[] = {
28485 (char *) "self",(char *) "editCancelled", NULL
28488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28490 if (!SWIG_IsOK(res1
)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28493 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28494 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28495 if (!SWIG_IsOK(ecode2
)) {
28496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28498 arg2
= static_cast< bool >(val2
);
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 (arg1
)->SetEditCanceled(arg2
);
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28505 resultobj
= SWIG_Py_Void();
28512 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28515 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28516 return SWIG_Py_Void();
28519 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28520 return SWIG_Python_InitShadowInstance(args
);
28523 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
= 0;
28525 wxWindow
*arg1
= (wxWindow
*) 0 ;
28526 int arg2
= (int) -1 ;
28527 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28528 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28529 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28530 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28531 long arg5
= (long) wxLC_ICON
;
28532 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28533 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28534 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28535 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28536 wxPyListCtrl
*result
= 0 ;
28547 bool temp7
= false ;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 PyObject
* obj2
= 0 ;
28551 PyObject
* obj3
= 0 ;
28552 PyObject
* obj4
= 0 ;
28553 PyObject
* obj5
= 0 ;
28554 PyObject
* obj6
= 0 ;
28555 char * kwnames
[] = {
28556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28561 if (!SWIG_IsOK(res1
)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28567 if (!SWIG_IsOK(ecode2
)) {
28568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28570 arg2
= static_cast< int >(val2
);
28575 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28581 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28585 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28586 if (!SWIG_IsOK(ecode5
)) {
28587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28589 arg5
= static_cast< long >(val5
);
28592 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28593 if (!SWIG_IsOK(res6
)) {
28594 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28599 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28603 arg7
= wxString_in_helper(obj6
);
28604 if (arg7
== NULL
) SWIG_fail
;
28609 if (!wxPyCheckForApp()) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28612 wxPyEndAllowThreads(__tstate
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28630 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28631 PyObject
*resultobj
= 0;
28632 wxPyListCtrl
*result
= 0 ;
28634 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28636 if (!wxPyCheckForApp()) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28649 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28650 PyObject
*resultobj
= 0;
28651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28652 wxWindow
*arg2
= (wxWindow
*) 0 ;
28653 int arg3
= (int) -1 ;
28654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28658 long arg6
= (long) wxLC_ICON
;
28659 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28660 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28661 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28662 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28676 bool temp8
= false ;
28677 PyObject
* obj0
= 0 ;
28678 PyObject
* obj1
= 0 ;
28679 PyObject
* obj2
= 0 ;
28680 PyObject
* obj3
= 0 ;
28681 PyObject
* obj4
= 0 ;
28682 PyObject
* obj5
= 0 ;
28683 PyObject
* obj6
= 0 ;
28684 PyObject
* obj7
= 0 ;
28685 char * kwnames
[] = {
28686 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28691 if (!SWIG_IsOK(res1
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28694 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28696 if (!SWIG_IsOK(res2
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28699 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28702 if (!SWIG_IsOK(ecode3
)) {
28703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28705 arg3
= static_cast< int >(val3
);
28710 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28716 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28720 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28721 if (!SWIG_IsOK(ecode6
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28724 arg6
= static_cast< long >(val6
);
28727 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28728 if (!SWIG_IsOK(res7
)) {
28729 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28734 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28738 arg8
= wxString_in_helper(obj7
);
28739 if (arg8
== NULL
) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28766 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
= 0;
28768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28769 PyObject
*arg2
= (PyObject
*) 0 ;
28770 PyObject
*arg3
= (PyObject
*) 0 ;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 PyObject
* obj2
= 0 ;
28776 char * kwnames
[] = {
28777 (char *) "self",(char *) "self",(char *) "_class", NULL
28780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28782 if (!SWIG_IsOK(res1
)) {
28783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28785 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_Py_Void();
28801 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
= 0;
28803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28805 wxListItem
*result
= 0 ;
28810 PyObject
* obj0
= 0 ;
28811 PyObject
* obj1
= 0 ;
28812 char * kwnames
[] = {
28813 (char *) "self",(char *) "col", NULL
28816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28818 if (!SWIG_IsOK(res1
)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28821 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28823 if (!SWIG_IsOK(ecode2
)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28826 arg2
= static_cast< int >(val2
);
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28842 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28843 PyObject
*resultobj
= 0;
28844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28846 wxListItem
*arg3
= 0 ;
28854 PyObject
* obj0
= 0 ;
28855 PyObject
* obj1
= 0 ;
28856 PyObject
* obj2
= 0 ;
28857 char * kwnames
[] = {
28858 (char *) "self",(char *) "col",(char *) "item", NULL
28861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28863 if (!SWIG_IsOK(res1
)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28866 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28868 if (!SWIG_IsOK(ecode2
)) {
28869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28871 arg2
= static_cast< int >(val2
);
28872 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28873 if (!SWIG_IsOK(res3
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28879 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28895 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
= 0;
28897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28904 PyObject
* obj0
= 0 ;
28905 PyObject
* obj1
= 0 ;
28906 char * kwnames
[] = {
28907 (char *) "self",(char *) "col", NULL
28910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28912 if (!SWIG_IsOK(res1
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28915 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28917 if (!SWIG_IsOK(ecode2
)) {
28918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28920 arg2
= static_cast< int >(val2
);
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= SWIG_From_int(static_cast< int >(result
));
28934 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
= 0;
28936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28946 PyObject
* obj0
= 0 ;
28947 PyObject
* obj1
= 0 ;
28948 PyObject
* obj2
= 0 ;
28949 char * kwnames
[] = {
28950 (char *) "self",(char *) "col",(char *) "width", NULL
28953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28955 if (!SWIG_IsOK(res1
)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28958 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28960 if (!SWIG_IsOK(ecode2
)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28963 arg2
= static_cast< int >(val2
);
28964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28965 if (!SWIG_IsOK(ecode3
)) {
28966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28968 arg3
= static_cast< int >(val3
);
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28972 wxPyEndAllowThreads(__tstate
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28984 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28985 PyObject
*resultobj
= 0;
28986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28990 PyObject
*swig_obj
[1] ;
28992 if (!args
) SWIG_fail
;
28993 swig_obj
[0] = args
;
28994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28995 if (!SWIG_IsOK(res1
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28998 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29002 wxPyEndAllowThreads(__tstate
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= SWIG_From_int(static_cast< int >(result
));
29012 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29013 PyObject
*resultobj
= 0;
29014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29018 PyObject
*swig_obj
[1] ;
29020 if (!args
) SWIG_fail
;
29021 swig_obj
[0] = args
;
29022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29023 if (!SWIG_IsOK(res1
)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29026 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29040 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29041 PyObject
*resultobj
= 0;
29042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29043 wxTextCtrl
*result
= 0 ;
29046 PyObject
*swig_obj
[1] ;
29048 if (!args
) SWIG_fail
;
29049 swig_obj
[0] = args
;
29050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29051 if (!SWIG_IsOK(res1
)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29054 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= wxPyMake_wxObject(result
, 0);
29070 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29071 PyObject
*resultobj
= 0;
29072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29074 int arg3
= (int) 0 ;
29075 wxListItem
*result
= 0 ;
29082 PyObject
* obj0
= 0 ;
29083 PyObject
* obj1
= 0 ;
29084 PyObject
* obj2
= 0 ;
29085 char * kwnames
[] = {
29086 (char *) "self",(char *) "itemId",(char *) "col", NULL
29089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29091 if (!SWIG_IsOK(res1
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29094 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29095 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29096 if (!SWIG_IsOK(ecode2
)) {
29097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29099 arg2
= static_cast< long >(val2
);
29101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29102 if (!SWIG_IsOK(ecode3
)) {
29103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29105 arg3
= static_cast< int >(val3
);
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29122 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
= 0;
29124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29125 wxListItem
*arg2
= 0 ;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 char * kwnames
[] = {
29134 (char *) "self",(char *) "info", NULL
29137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29139 if (!SWIG_IsOK(res1
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29142 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29144 if (!SWIG_IsOK(res2
)) {
29145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29150 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 result
= (bool)(arg1
)->SetItem(*arg2
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29166 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29167 PyObject
*resultobj
= 0;
29168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29171 wxString
*arg4
= 0 ;
29172 int arg5
= (int) -1 ;
29180 bool temp4
= false ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 PyObject
* obj2
= 0 ;
29186 PyObject
* obj3
= 0 ;
29187 PyObject
* obj4
= 0 ;
29188 char * kwnames
[] = {
29189 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29194 if (!SWIG_IsOK(res1
)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29197 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29198 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29199 if (!SWIG_IsOK(ecode2
)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29202 arg2
= static_cast< long >(val2
);
29203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29204 if (!SWIG_IsOK(ecode3
)) {
29205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29207 arg3
= static_cast< int >(val3
);
29209 arg4
= wxString_in_helper(obj3
);
29210 if (arg4
== NULL
) SWIG_fail
;
29214 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29215 if (!SWIG_IsOK(ecode5
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29218 arg5
= static_cast< int >(val5
);
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= SWIG_From_long(static_cast< long >(result
));
29241 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
= 0;
29243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 PyObject
* obj2
= 0 ;
29256 char * kwnames
[] = {
29257 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29262 if (!SWIG_IsOK(res1
)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29265 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29266 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29267 if (!SWIG_IsOK(ecode2
)) {
29268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29270 arg2
= static_cast< long >(val2
);
29271 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29272 if (!SWIG_IsOK(ecode3
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29275 arg3
= static_cast< long >(val3
);
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= SWIG_From_int(static_cast< int >(result
));
29289 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
= 0;
29291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29304 PyObject
* obj0
= 0 ;
29305 PyObject
* obj1
= 0 ;
29306 PyObject
* obj2
= 0 ;
29307 PyObject
* obj3
= 0 ;
29308 char * kwnames
[] = {
29309 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29314 if (!SWIG_IsOK(res1
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29317 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29318 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29319 if (!SWIG_IsOK(ecode2
)) {
29320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29322 arg2
= static_cast< long >(val2
);
29323 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29324 if (!SWIG_IsOK(ecode3
)) {
29325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29327 arg3
= static_cast< long >(val3
);
29328 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29329 if (!SWIG_IsOK(ecode4
)) {
29330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29332 arg4
= static_cast< long >(val4
);
29334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29348 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
= 0;
29350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29353 int arg4
= (int) -1 ;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 PyObject
* obj2
= 0 ;
29366 PyObject
* obj3
= 0 ;
29367 char * kwnames
[] = {
29368 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29373 if (!SWIG_IsOK(res1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29376 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29377 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29378 if (!SWIG_IsOK(ecode2
)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29381 arg2
= static_cast< long >(val2
);
29382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29383 if (!SWIG_IsOK(ecode3
)) {
29384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29386 arg3
= static_cast< int >(val3
);
29388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29389 if (!SWIG_IsOK(ecode4
)) {
29390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29392 arg4
= static_cast< int >(val4
);
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29409 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
= 0;
29411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29424 PyObject
* obj0
= 0 ;
29425 PyObject
* obj1
= 0 ;
29426 PyObject
* obj2
= 0 ;
29427 PyObject
* obj3
= 0 ;
29428 char * kwnames
[] = {
29429 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29434 if (!SWIG_IsOK(res1
)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29437 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29438 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29439 if (!SWIG_IsOK(ecode2
)) {
29440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29442 arg2
= static_cast< long >(val2
);
29443 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29444 if (!SWIG_IsOK(ecode3
)) {
29445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29447 arg3
= static_cast< long >(val3
);
29448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29449 if (!SWIG_IsOK(ecode4
)) {
29450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29452 arg4
= static_cast< int >(val4
);
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29455 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29468 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29469 PyObject
*resultobj
= 0;
29470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29477 PyObject
* obj0
= 0 ;
29478 PyObject
* obj1
= 0 ;
29479 char * kwnames
[] = {
29480 (char *) "self",(char *) "item", NULL
29483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) 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_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
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_GetItemText" "', expected argument " "2"" of type '" "long""'");
29493 arg2
= static_cast< long >(val2
);
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29513 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
= 0;
29515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29517 wxString
*arg3
= 0 ;
29522 bool temp3
= false ;
29523 PyObject
* obj0
= 0 ;
29524 PyObject
* obj1
= 0 ;
29525 PyObject
* obj2
= 0 ;
29526 char * kwnames
[] = {
29527 (char *) "self",(char *) "item",(char *) "str", NULL
29530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29532 if (!SWIG_IsOK(res1
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29535 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29536 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29537 if (!SWIG_IsOK(ecode2
)) {
29538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29540 arg2
= static_cast< long >(val2
);
29542 arg3
= wxString_in_helper(obj2
);
29543 if (arg3
== NULL
) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= SWIG_Py_Void();
29567 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29568 PyObject
*resultobj
= 0;
29569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29576 PyObject
* obj0
= 0 ;
29577 PyObject
* obj1
= 0 ;
29578 char * kwnames
[] = {
29579 (char *) "self",(char *) "item", NULL
29582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29584 if (!SWIG_IsOK(res1
)) {
29585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29587 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29588 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29589 if (!SWIG_IsOK(ecode2
)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29592 arg2
= static_cast< long >(val2
);
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= SWIG_From_long(static_cast< long >(result
));
29606 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
= 0;
29608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 PyObject
* obj2
= 0 ;
29621 char * kwnames
[] = {
29622 (char *) "self",(char *) "item",(char *) "data", NULL
29625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29627 if (!SWIG_IsOK(res1
)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29630 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29631 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29632 if (!SWIG_IsOK(ecode2
)) {
29633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29635 arg2
= static_cast< long >(val2
);
29636 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29637 if (!SWIG_IsOK(ecode3
)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29640 arg3
= static_cast< long >(val3
);
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29656 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
= 0;
29658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29665 PyObject
* obj0
= 0 ;
29666 PyObject
* obj1
= 0 ;
29667 char * kwnames
[] = {
29668 (char *) "self",(char *) "item", NULL
29671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29673 if (!SWIG_IsOK(res1
)) {
29674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29676 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29677 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29678 if (!SWIG_IsOK(ecode2
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29681 arg2
= static_cast< long >(val2
);
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29688 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29695 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
= 0;
29697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29699 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29707 PyObject
* obj0
= 0 ;
29708 PyObject
* obj1
= 0 ;
29709 PyObject
* obj2
= 0 ;
29710 char * kwnames
[] = {
29711 (char *) "self",(char *) "item",(char *) "code", NULL
29714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29716 if (!SWIG_IsOK(res1
)) {
29717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29719 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29720 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29721 if (!SWIG_IsOK(ecode2
)) {
29722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29724 arg2
= static_cast< long >(val2
);
29726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29727 if (!SWIG_IsOK(ecode3
)) {
29728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29730 arg3
= static_cast< int >(val3
);
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29745 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29746 PyObject
*resultobj
= 0;
29747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29749 wxPoint
*arg3
= 0 ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 PyObject
* obj2
= 0 ;
29759 char * kwnames
[] = {
29760 (char *) "self",(char *) "item",(char *) "pos", NULL
29763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29765 if (!SWIG_IsOK(res1
)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29768 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29769 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29770 if (!SWIG_IsOK(ecode2
)) {
29771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29773 arg2
= static_cast< long >(val2
);
29776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29793 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29794 PyObject
*resultobj
= 0;
29795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29799 PyObject
*swig_obj
[1] ;
29801 if (!args
) SWIG_fail
;
29802 swig_obj
[0] = args
;
29803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29804 if (!SWIG_IsOK(res1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29807 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 resultobj
= SWIG_From_int(static_cast< int >(result
));
29821 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29822 PyObject
*resultobj
= 0;
29823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29827 PyObject
*swig_obj
[1] ;
29829 if (!args
) SWIG_fail
;
29830 swig_obj
[0] = args
;
29831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29832 if (!SWIG_IsOK(res1
)) {
29833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29835 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29838 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29839 wxPyEndAllowThreads(__tstate
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29842 resultobj
= SWIG_From_int(static_cast< int >(result
));
29849 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29850 PyObject
*resultobj
= 0;
29851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29855 PyObject
*swig_obj
[1] ;
29857 if (!args
) SWIG_fail
;
29858 swig_obj
[0] = args
;
29859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29860 if (!SWIG_IsOK(res1
)) {
29861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29863 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29866 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29867 wxPyEndAllowThreads(__tstate
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29870 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29877 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
= 0;
29879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29881 bool arg3
= (bool) false ;
29888 PyObject
* obj0
= 0 ;
29889 PyObject
* obj1
= 0 ;
29890 PyObject
* obj2
= 0 ;
29891 char * kwnames
[] = {
29892 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29897 if (!SWIG_IsOK(res1
)) {
29898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29900 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29902 if (!SWIG_IsOK(ecode2
)) {
29903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29905 arg2
= static_cast< int >(val2
);
29907 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29908 if (!SWIG_IsOK(ecode3
)) {
29909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29911 arg3
= static_cast< bool >(val3
);
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 (arg1
)->SetItemSpacing(arg2
,arg3
);
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_Py_Void();
29926 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29927 PyObject
*resultobj
= 0;
29928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29932 PyObject
*swig_obj
[1] ;
29934 if (!args
) SWIG_fail
;
29935 swig_obj
[0] = args
;
29936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29940 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 resultobj
= SWIG_From_int(static_cast< int >(result
));
29954 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29955 PyObject
*resultobj
= 0;
29956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29960 PyObject
*swig_obj
[1] ;
29962 if (!args
) SWIG_fail
;
29963 swig_obj
[0] = args
;
29964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29965 if (!SWIG_IsOK(res1
)) {
29966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29968 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29982 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
= 0;
29984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29985 wxColour
*arg2
= 0 ;
29989 PyObject
* obj0
= 0 ;
29990 PyObject
* obj1
= 0 ;
29991 char * kwnames
[] = {
29992 (char *) "self",(char *) "col", NULL
29995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29997 if (!SWIG_IsOK(res1
)) {
29998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30000 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= SWIG_Py_Void();
30018 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30019 PyObject
*resultobj
= 0;
30020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30024 PyObject
*swig_obj
[1] ;
30026 if (!args
) SWIG_fail
;
30027 swig_obj
[0] = args
;
30028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30029 if (!SWIG_IsOK(res1
)) {
30030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30032 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= SWIG_From_long(static_cast< long >(result
));
30046 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
= 0;
30048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30050 bool arg3
= (bool) true ;
30057 PyObject
* obj0
= 0 ;
30058 PyObject
* obj1
= 0 ;
30059 PyObject
* obj2
= 0 ;
30060 char * kwnames
[] = {
30061 (char *) "self",(char *) "style",(char *) "add", NULL
30064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30066 if (!SWIG_IsOK(res1
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30069 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30071 if (!SWIG_IsOK(ecode2
)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30074 arg2
= static_cast< long >(val2
);
30076 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30077 if (!SWIG_IsOK(ecode3
)) {
30078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30080 arg3
= static_cast< bool >(val3
);
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 (arg1
)->SetSingleStyle(arg2
,arg3
);
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= SWIG_Py_Void();
30095 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30096 PyObject
*resultobj
= 0;
30097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30099 int arg3
= (int) wxLIST_NEXT_ALL
;
30100 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 PyObject
* obj2
= 0 ;
30113 PyObject
* obj3
= 0 ;
30114 char * kwnames
[] = {
30115 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30120 if (!SWIG_IsOK(res1
)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30123 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30124 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30125 if (!SWIG_IsOK(ecode2
)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30128 arg2
= static_cast< long >(val2
);
30130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30131 if (!SWIG_IsOK(ecode3
)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30134 arg3
= static_cast< int >(val3
);
30137 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30138 if (!SWIG_IsOK(ecode4
)) {
30139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30141 arg4
= static_cast< int >(val4
);
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30145 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30146 wxPyEndAllowThreads(__tstate
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30149 resultobj
= SWIG_From_long(static_cast< long >(result
));
30156 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30157 PyObject
*resultobj
= 0;
30158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30160 wxImageList
*result
= 0 ;
30165 PyObject
* obj0
= 0 ;
30166 PyObject
* obj1
= 0 ;
30167 char * kwnames
[] = {
30168 (char *) "self",(char *) "which", NULL
30171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30173 if (!SWIG_IsOK(res1
)) {
30174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30176 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30178 if (!SWIG_IsOK(ecode2
)) {
30179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30181 arg2
= static_cast< int >(val2
);
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30189 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30197 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
= 0;
30199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30200 wxImageList
*arg2
= (wxImageList
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 PyObject
* obj2
= 0 ;
30211 char * kwnames
[] = {
30212 (char *) "self",(char *) "imageList",(char *) "which", NULL
30215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30217 if (!SWIG_IsOK(res1
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30220 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30222 if (!SWIG_IsOK(res2
)) {
30223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30225 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30227 if (!SWIG_IsOK(ecode3
)) {
30228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30230 arg3
= static_cast< int >(val3
);
30232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30233 (arg1
)->SetImageList(arg2
,arg3
);
30234 wxPyEndAllowThreads(__tstate
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30237 resultobj
= SWIG_Py_Void();
30244 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
= 0;
30246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30247 wxImageList
*arg2
= (wxImageList
*) 0 ;
30254 PyObject
* obj0
= 0 ;
30255 PyObject
* obj1
= 0 ;
30256 PyObject
* obj2
= 0 ;
30257 char * kwnames
[] = {
30258 (char *) "self",(char *) "imageList",(char *) "which", NULL
30261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30263 if (!SWIG_IsOK(res1
)) {
30264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30267 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30268 if (!SWIG_IsOK(res2
)) {
30269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30272 if (!SWIG_IsOK(ecode3
)) {
30273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30275 arg3
= static_cast< int >(val3
);
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 (arg1
)->AssignImageList(arg2
,arg3
);
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 resultobj
= SWIG_Py_Void();
30289 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30290 PyObject
*resultobj
= 0;
30291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30295 PyObject
*swig_obj
[1] ;
30297 if (!args
) SWIG_fail
;
30298 swig_obj
[0] = args
;
30299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30300 if (!SWIG_IsOK(res1
)) {
30301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30303 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30319 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30320 PyObject
*resultobj
= 0;
30321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30325 PyObject
*swig_obj
[1] ;
30327 if (!args
) SWIG_fail
;
30328 swig_obj
[0] = args
;
30329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30349 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
= 0;
30351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 char * kwnames
[] = {
30360 (char *) "self",(char *) "item", NULL
30363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30365 if (!SWIG_IsOK(res1
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30369 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30370 if (!SWIG_IsOK(ecode2
)) {
30371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30373 arg2
= static_cast< long >(val2
);
30375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30376 (arg1
)->RefreshItem(arg2
);
30377 wxPyEndAllowThreads(__tstate
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30380 resultobj
= SWIG_Py_Void();
30387 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30388 PyObject
*resultobj
= 0;
30389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 PyObject
* obj2
= 0 ;
30401 char * kwnames
[] = {
30402 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30410 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30411 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30412 if (!SWIG_IsOK(ecode2
)) {
30413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30415 arg2
= static_cast< long >(val2
);
30416 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30417 if (!SWIG_IsOK(ecode3
)) {
30418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30420 arg3
= static_cast< long >(val3
);
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 (arg1
)->RefreshItems(arg2
,arg3
);
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30427 resultobj
= SWIG_Py_Void();
30434 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
= 0;
30436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30437 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 char * kwnames
[] = {
30446 (char *) "self",(char *) "flag", NULL
30449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30451 if (!SWIG_IsOK(res1
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30454 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30457 if (!SWIG_IsOK(ecode2
)) {
30458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30460 arg2
= static_cast< int >(val2
);
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 result
= (bool)(arg1
)->Arrange(arg2
);
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30477 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
= 0;
30479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 char * kwnames
[] = {
30489 (char *) "self",(char *) "item", NULL
30492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30494 if (!SWIG_IsOK(res1
)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30497 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30498 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30499 if (!SWIG_IsOK(ecode2
)) {
30500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30502 arg2
= static_cast< long >(val2
);
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 result
= (bool)(arg1
)->DeleteItem(arg2
);
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30518 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30519 PyObject
*resultobj
= 0;
30520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30524 PyObject
*swig_obj
[1] ;
30526 if (!args
) SWIG_fail
;
30527 swig_obj
[0] = args
;
30528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 result
= (bool)(arg1
)->DeleteAllItems();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30548 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
= 0;
30550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30557 PyObject
* obj0
= 0 ;
30558 PyObject
* obj1
= 0 ;
30559 char * kwnames
[] = {
30560 (char *) "self",(char *) "col", NULL
30563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30568 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30570 if (!SWIG_IsOK(ecode2
)) {
30571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30573 arg2
= static_cast< int >(val2
);
30575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30589 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30590 PyObject
*resultobj
= 0;
30591 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30595 PyObject
*swig_obj
[1] ;
30597 if (!args
) SWIG_fail
;
30598 swig_obj
[0] = args
;
30599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30600 if (!SWIG_IsOK(res1
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30603 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 result
= (bool)(arg1
)->DeleteAllColumns();
30607 wxPyEndAllowThreads(__tstate
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30619 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30620 PyObject
*resultobj
= 0;
30621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30624 PyObject
*swig_obj
[1] ;
30626 if (!args
) SWIG_fail
;
30627 swig_obj
[0] = args
;
30628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30632 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 (arg1
)->ClearAll();
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= SWIG_Py_Void();
30646 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
= 0;
30648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char * kwnames
[] = {
30657 (char *) "self",(char *) "item", NULL
30660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30662 if (!SWIG_IsOK(res1
)) {
30663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30665 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30666 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30667 if (!SWIG_IsOK(ecode2
)) {
30668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30670 arg2
= static_cast< long >(val2
);
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->EditLabel(arg2
);
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_Py_Void();
30684 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30685 PyObject
*resultobj
= 0;
30686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30693 PyObject
* obj0
= 0 ;
30694 PyObject
* obj1
= 0 ;
30695 char * kwnames
[] = {
30696 (char *) "self",(char *) "item", NULL
30699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30701 if (!SWIG_IsOK(res1
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30704 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30705 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30706 if (!SWIG_IsOK(ecode2
)) {
30707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30709 arg2
= static_cast< long >(val2
);
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30725 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
= 0;
30727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30729 wxString
*arg3
= 0 ;
30730 bool arg4
= (bool) false ;
30736 bool temp3
= false ;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 PyObject
* obj2
= 0 ;
30742 PyObject
* obj3
= 0 ;
30743 char * kwnames
[] = {
30744 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30752 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30753 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30754 if (!SWIG_IsOK(ecode2
)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30757 arg2
= static_cast< long >(val2
);
30759 arg3
= wxString_in_helper(obj2
);
30760 if (arg3
== NULL
) SWIG_fail
;
30764 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30765 if (!SWIG_IsOK(ecode4
)) {
30766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30768 arg4
= static_cast< bool >(val4
);
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= SWIG_From_long(static_cast< long >(result
));
30791 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30792 PyObject
*resultobj
= 0;
30793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 PyObject
* obj2
= 0 ;
30806 char * kwnames
[] = {
30807 (char *) "self",(char *) "start",(char *) "data", NULL
30810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30812 if (!SWIG_IsOK(res1
)) {
30813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30815 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30816 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30817 if (!SWIG_IsOK(ecode2
)) {
30818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30820 arg2
= static_cast< long >(val2
);
30821 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30822 if (!SWIG_IsOK(ecode3
)) {
30823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30825 arg3
= static_cast< long >(val3
);
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= SWIG_From_long(static_cast< long >(result
));
30839 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
= 0;
30841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30843 wxPoint
*arg3
= 0 ;
30853 PyObject
* obj0
= 0 ;
30854 PyObject
* obj1
= 0 ;
30855 PyObject
* obj2
= 0 ;
30856 PyObject
* obj3
= 0 ;
30857 char * kwnames
[] = {
30858 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30863 if (!SWIG_IsOK(res1
)) {
30864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30866 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30867 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30868 if (!SWIG_IsOK(ecode2
)) {
30869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30871 arg2
= static_cast< long >(val2
);
30874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30877 if (!SWIG_IsOK(ecode4
)) {
30878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30880 arg4
= static_cast< int >(val4
);
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= SWIG_From_long(static_cast< long >(result
));
30894 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30895 PyObject
*resultobj
= 0;
30896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30897 wxPoint
*arg2
= 0 ;
30904 int res3
= SWIG_TMPOBJ
;
30905 PyObject
* obj0
= 0 ;
30906 PyObject
* obj1
= 0 ;
30907 char * kwnames
[] = {
30908 (char *) "self",(char *) "point", NULL
30912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30914 if (!SWIG_IsOK(res1
)) {
30915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30917 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30920 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= SWIG_From_long(static_cast< long >(result
));
30929 if (SWIG_IsTmpObj(res3
)) {
30930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30932 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30941 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30942 PyObject
*resultobj
= 0;
30943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30944 wxPoint
*arg2
= 0 ;
30946 long *arg4
= (long *) 0 ;
30952 int res3
= SWIG_TMPOBJ
;
30954 int res4
= SWIG_TMPOBJ
;
30955 PyObject
* obj0
= 0 ;
30956 PyObject
* obj1
= 0 ;
30957 char * kwnames
[] = {
30958 (char *) "self",(char *) "point", NULL
30963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30965 if (!SWIG_IsOK(res1
)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30968 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30975 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= SWIG_From_long(static_cast< long >(result
));
30980 if (SWIG_IsTmpObj(res3
)) {
30981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30983 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30986 if (SWIG_IsTmpObj(res4
)) {
30987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30989 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30998 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30999 PyObject
*resultobj
= 0;
31000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31001 wxListItem
*arg2
= 0 ;
31007 PyObject
* obj0
= 0 ;
31008 PyObject
* obj1
= 0 ;
31009 char * kwnames
[] = {
31010 (char *) "self",(char *) "info", NULL
31013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31015 if (!SWIG_IsOK(res1
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31018 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31019 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31020 if (!SWIG_IsOK(res2
)) {
31021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31026 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 result
= (long)(arg1
)->InsertItem(*arg2
);
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 resultobj
= SWIG_From_long(static_cast< long >(result
));
31040 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
= 0;
31042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31044 wxString
*arg3
= 0 ;
31045 int arg4
= (int) -1 ;
31051 bool temp3
= false ;
31054 PyObject
* obj0
= 0 ;
31055 PyObject
* obj1
= 0 ;
31056 PyObject
* obj2
= 0 ;
31057 PyObject
* obj3
= 0 ;
31058 char * kwnames
[] = {
31059 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31064 if (!SWIG_IsOK(res1
)) {
31065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31067 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31068 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31069 if (!SWIG_IsOK(ecode2
)) {
31070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31072 arg2
= static_cast< long >(val2
);
31074 arg3
= wxString_in_helper(obj2
);
31075 if (arg3
== NULL
) SWIG_fail
;
31079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31080 if (!SWIG_IsOK(ecode4
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31083 arg4
= static_cast< int >(val4
);
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 resultobj
= SWIG_From_long(static_cast< long >(result
));
31106 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
= 0;
31108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 PyObject
* obj2
= 0 ;
31121 char * kwnames
[] = {
31122 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31127 if (!SWIG_IsOK(res1
)) {
31128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31130 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31131 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31132 if (!SWIG_IsOK(ecode2
)) {
31133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31135 arg2
= static_cast< long >(val2
);
31136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31137 if (!SWIG_IsOK(ecode3
)) {
31138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31140 arg3
= static_cast< int >(val3
);
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31147 resultobj
= SWIG_From_long(static_cast< long >(result
));
31154 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
= 0;
31156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31158 wxString
*arg3
= 0 ;
31165 bool temp3
= false ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 PyObject
* obj2
= 0 ;
31171 PyObject
* obj3
= 0 ;
31172 char * kwnames
[] = {
31173 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31178 if (!SWIG_IsOK(res1
)) {
31179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31181 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31182 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31183 if (!SWIG_IsOK(ecode2
)) {
31184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31186 arg2
= static_cast< long >(val2
);
31188 arg3
= wxString_in_helper(obj2
);
31189 if (arg3
== NULL
) SWIG_fail
;
31192 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31193 if (!SWIG_IsOK(ecode4
)) {
31194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31196 arg4
= static_cast< int >(val4
);
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 resultobj
= SWIG_From_long(static_cast< long >(result
));
31218 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
= 0;
31220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31222 wxListItem
*arg3
= 0 ;
31230 PyObject
* obj0
= 0 ;
31231 PyObject
* obj1
= 0 ;
31232 PyObject
* obj2
= 0 ;
31233 char * kwnames
[] = {
31234 (char *) "self",(char *) "col",(char *) "info", NULL
31237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31239 if (!SWIG_IsOK(res1
)) {
31240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31242 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31243 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31244 if (!SWIG_IsOK(ecode2
)) {
31245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31247 arg2
= static_cast< long >(val2
);
31248 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31249 if (!SWIG_IsOK(res3
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31255 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31258 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31262 resultobj
= SWIG_From_long(static_cast< long >(result
));
31269 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
= 0;
31271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31273 wxString
*arg3
= 0 ;
31274 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31275 int arg5
= (int) -1 ;
31281 bool temp3
= false ;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 PyObject
* obj2
= 0 ;
31289 PyObject
* obj3
= 0 ;
31290 PyObject
* obj4
= 0 ;
31291 char * kwnames
[] = {
31292 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31297 if (!SWIG_IsOK(res1
)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31300 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31301 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31302 if (!SWIG_IsOK(ecode2
)) {
31303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31305 arg2
= static_cast< long >(val2
);
31307 arg3
= wxString_in_helper(obj2
);
31308 if (arg3
== NULL
) SWIG_fail
;
31312 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31313 if (!SWIG_IsOK(ecode4
)) {
31314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31316 arg4
= static_cast< int >(val4
);
31319 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31320 if (!SWIG_IsOK(ecode5
)) {
31321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31323 arg5
= static_cast< int >(val5
);
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 resultobj
= SWIG_From_long(static_cast< long >(result
));
31346 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
= 0;
31348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 char * kwnames
[] = {
31357 (char *) "self",(char *) "count", NULL
31360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31362 if (!SWIG_IsOK(res1
)) {
31363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31365 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31366 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31367 if (!SWIG_IsOK(ecode2
)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31370 arg2
= static_cast< long >(val2
);
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 (arg1
)->SetItemCount(arg2
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= SWIG_Py_Void();
31384 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
= 0;
31386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31396 PyObject
* obj0
= 0 ;
31397 PyObject
* obj1
= 0 ;
31398 PyObject
* obj2
= 0 ;
31399 char * kwnames
[] = {
31400 (char *) "self",(char *) "dx",(char *) "dy", NULL
31403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31405 if (!SWIG_IsOK(res1
)) {
31406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31408 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31410 if (!SWIG_IsOK(ecode2
)) {
31411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31413 arg2
= static_cast< int >(val2
);
31414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31415 if (!SWIG_IsOK(ecode3
)) {
31416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31418 arg3
= static_cast< int >(val3
);
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31421 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31422 wxPyEndAllowThreads(__tstate
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31434 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31435 PyObject
*resultobj
= 0;
31436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31438 wxColour
*arg3
= 0 ;
31444 PyObject
* obj0
= 0 ;
31445 PyObject
* obj1
= 0 ;
31446 PyObject
* obj2
= 0 ;
31447 char * kwnames
[] = {
31448 (char *) "self",(char *) "item",(char *) "col", NULL
31451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31453 if (!SWIG_IsOK(res1
)) {
31454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31456 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31457 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31458 if (!SWIG_IsOK(ecode2
)) {
31459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31461 arg2
= static_cast< long >(val2
);
31464 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= SWIG_Py_Void();
31479 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31480 PyObject
*resultobj
= 0;
31481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char * kwnames
[] = {
31491 (char *) "self",(char *) "item", NULL
31494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31496 if (!SWIG_IsOK(res1
)) {
31497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31499 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31500 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31501 if (!SWIG_IsOK(ecode2
)) {
31502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31504 arg2
= static_cast< long >(val2
);
31506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31511 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31518 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31519 PyObject
*resultobj
= 0;
31520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31522 wxColour
*arg3
= 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 PyObject
* obj2
= 0 ;
31531 char * kwnames
[] = {
31532 (char *) "self",(char *) "item",(char *) "col", NULL
31535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31537 if (!SWIG_IsOK(res1
)) {
31538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31540 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31541 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31542 if (!SWIG_IsOK(ecode2
)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31545 arg2
= static_cast< long >(val2
);
31548 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31552 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31553 wxPyEndAllowThreads(__tstate
);
31554 if (PyErr_Occurred()) SWIG_fail
;
31556 resultobj
= SWIG_Py_Void();
31563 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31564 PyObject
*resultobj
= 0;
31565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31572 PyObject
* obj0
= 0 ;
31573 PyObject
* obj1
= 0 ;
31574 char * kwnames
[] = {
31575 (char *) "self",(char *) "item", NULL
31578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31580 if (!SWIG_IsOK(res1
)) {
31581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31583 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31585 if (!SWIG_IsOK(ecode2
)) {
31586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31588 arg2
= static_cast< long >(val2
);
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31592 wxPyEndAllowThreads(__tstate
);
31593 if (PyErr_Occurred()) SWIG_fail
;
31595 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31602 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31603 PyObject
*resultobj
= 0;
31604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 PyObject
* obj2
= 0 ;
31616 char * kwnames
[] = {
31617 (char *) "self",(char *) "item",(char *) "f", NULL
31620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31622 if (!SWIG_IsOK(res1
)) {
31623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31625 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31626 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31627 if (!SWIG_IsOK(ecode2
)) {
31628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31630 arg2
= static_cast< long >(val2
);
31631 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31632 if (!SWIG_IsOK(res3
)) {
31633 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31638 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= SWIG_Py_Void();
31652 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= 0;
31654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31661 PyObject
* obj0
= 0 ;
31662 PyObject
* obj1
= 0 ;
31663 char * kwnames
[] = {
31664 (char *) "self",(char *) "item", NULL
31667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31669 if (!SWIG_IsOK(res1
)) {
31670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31672 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31673 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31674 if (!SWIG_IsOK(ecode2
)) {
31675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31677 arg2
= static_cast< long >(val2
);
31679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31680 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31681 wxPyEndAllowThreads(__tstate
);
31682 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31691 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31692 PyObject
*resultobj
= 0;
31693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31694 PyObject
*arg2
= (PyObject
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 PyObject
* obj1
= 0 ;
31700 char * kwnames
[] = {
31701 (char *) "self",(char *) "func", NULL
31704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31706 if (!SWIG_IsOK(res1
)) {
31707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31709 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31726 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31727 PyObject
*resultobj
= 0;
31728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31729 wxWindow
*result
= 0 ;
31732 PyObject
*swig_obj
[1] ;
31734 if (!args
) SWIG_fail
;
31735 swig_obj
[0] = args
;
31736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31740 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31748 resultobj
= wxPyMake_wxObject(result
, 0);
31756 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31757 PyObject
*resultobj
= 0;
31758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31759 SwigValueWrapper
<wxVisualAttributes
> result
;
31762 PyObject
* obj0
= 0 ;
31763 char * kwnames
[] = {
31764 (char *) "variant", NULL
31767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31770 if (!SWIG_IsOK(ecode1
)) {
31771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31773 arg1
= static_cast< wxWindowVariant
>(val1
);
31776 if (!wxPyCheckForApp()) SWIG_fail
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31782 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31789 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31793 return SWIG_Py_Void();
31796 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31797 return SWIG_Python_InitShadowInstance(args
);
31800 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
= 0;
31802 wxWindow
*arg1
= (wxWindow
*) 0 ;
31803 int arg2
= (int) -1 ;
31804 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31805 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31806 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31807 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31808 long arg5
= (long) wxLC_REPORT
;
31809 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31810 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31811 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31812 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31813 wxListView
*result
= 0 ;
31824 bool temp7
= false ;
31825 PyObject
* obj0
= 0 ;
31826 PyObject
* obj1
= 0 ;
31827 PyObject
* obj2
= 0 ;
31828 PyObject
* obj3
= 0 ;
31829 PyObject
* obj4
= 0 ;
31830 PyObject
* obj5
= 0 ;
31831 PyObject
* obj6
= 0 ;
31832 char * kwnames
[] = {
31833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31838 if (!SWIG_IsOK(res1
)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31844 if (!SWIG_IsOK(ecode2
)) {
31845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31847 arg2
= static_cast< int >(val2
);
31852 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31858 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31862 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31863 if (!SWIG_IsOK(ecode5
)) {
31864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31866 arg5
= static_cast< long >(val5
);
31869 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31870 if (!SWIG_IsOK(res6
)) {
31871 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31876 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31880 arg7
= wxString_in_helper(obj6
);
31881 if (arg7
== NULL
) SWIG_fail
;
31886 if (!wxPyCheckForApp()) SWIG_fail
;
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31889 wxPyEndAllowThreads(__tstate
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31907 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31908 PyObject
*resultobj
= 0;
31909 wxListView
*result
= 0 ;
31911 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31913 if (!wxPyCheckForApp()) SWIG_fail
;
31914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31915 result
= (wxListView
*)new wxListView();
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31926 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
= 0;
31928 wxListView
*arg1
= (wxListView
*) 0 ;
31929 wxWindow
*arg2
= (wxWindow
*) 0 ;
31930 int arg3
= (int) -1 ;
31931 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31932 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31933 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31934 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31935 long arg6
= (long) wxLC_REPORT
;
31936 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31937 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31938 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31939 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31953 bool temp8
= false ;
31954 PyObject
* obj0
= 0 ;
31955 PyObject
* obj1
= 0 ;
31956 PyObject
* obj2
= 0 ;
31957 PyObject
* obj3
= 0 ;
31958 PyObject
* obj4
= 0 ;
31959 PyObject
* obj5
= 0 ;
31960 PyObject
* obj6
= 0 ;
31961 PyObject
* obj7
= 0 ;
31962 char * kwnames
[] = {
31963 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31968 if (!SWIG_IsOK(res1
)) {
31969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31971 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31972 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31973 if (!SWIG_IsOK(res2
)) {
31974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31976 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31979 if (!SWIG_IsOK(ecode3
)) {
31980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31982 arg3
= static_cast< int >(val3
);
31987 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31993 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31997 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31998 if (!SWIG_IsOK(ecode6
)) {
31999 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32001 arg6
= static_cast< long >(val6
);
32004 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32005 if (!SWIG_IsOK(res7
)) {
32006 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32011 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32015 arg8
= wxString_in_helper(obj7
);
32016 if (arg8
== NULL
) SWIG_fail
;
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32043 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32044 PyObject
*resultobj
= 0;
32045 wxListView
*arg1
= (wxListView
*) 0 ;
32047 bool arg3
= (bool) true ;
32054 PyObject
* obj0
= 0 ;
32055 PyObject
* obj1
= 0 ;
32056 PyObject
* obj2
= 0 ;
32057 char * kwnames
[] = {
32058 (char *) "self",(char *) "n",(char *) "on", NULL
32061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32063 if (!SWIG_IsOK(res1
)) {
32064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32066 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32067 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32068 if (!SWIG_IsOK(ecode2
)) {
32069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32071 arg2
= static_cast< long >(val2
);
32073 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32074 if (!SWIG_IsOK(ecode3
)) {
32075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32077 arg3
= static_cast< bool >(val3
);
32080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32081 (arg1
)->Select(arg2
,arg3
);
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32085 resultobj
= SWIG_Py_Void();
32092 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32093 PyObject
*resultobj
= 0;
32094 wxListView
*arg1
= (wxListView
*) 0 ;
32100 PyObject
* obj0
= 0 ;
32101 PyObject
* obj1
= 0 ;
32102 char * kwnames
[] = {
32103 (char *) "self",(char *) "index", NULL
32106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32108 if (!SWIG_IsOK(res1
)) {
32109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32111 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32112 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32113 if (!SWIG_IsOK(ecode2
)) {
32114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32116 arg2
= static_cast< long >(val2
);
32118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32119 (arg1
)->Focus(arg2
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 resultobj
= SWIG_Py_Void();
32130 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32131 PyObject
*resultobj
= 0;
32132 wxListView
*arg1
= (wxListView
*) 0 ;
32136 PyObject
*swig_obj
[1] ;
32138 if (!args
) SWIG_fail
;
32139 swig_obj
[0] = args
;
32140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32141 if (!SWIG_IsOK(res1
)) {
32142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32144 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32147 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 resultobj
= SWIG_From_long(static_cast< long >(result
));
32158 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
= 0;
32160 wxListView
*arg1
= (wxListView
*) 0 ;
32167 PyObject
* obj0
= 0 ;
32168 PyObject
* obj1
= 0 ;
32169 char * kwnames
[] = {
32170 (char *) "self",(char *) "item", NULL
32173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32175 if (!SWIG_IsOK(res1
)) {
32176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32178 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32179 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32180 if (!SWIG_IsOK(ecode2
)) {
32181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32183 arg2
= static_cast< long >(val2
);
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32187 wxPyEndAllowThreads(__tstate
);
32188 if (PyErr_Occurred()) SWIG_fail
;
32190 resultobj
= SWIG_From_long(static_cast< long >(result
));
32197 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32198 PyObject
*resultobj
= 0;
32199 wxListView
*arg1
= (wxListView
*) 0 ;
32203 PyObject
*swig_obj
[1] ;
32205 if (!args
) SWIG_fail
;
32206 swig_obj
[0] = args
;
32207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32208 if (!SWIG_IsOK(res1
)) {
32209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32211 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32215 wxPyEndAllowThreads(__tstate
);
32216 if (PyErr_Occurred()) SWIG_fail
;
32218 resultobj
= SWIG_From_long(static_cast< long >(result
));
32225 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32226 PyObject
*resultobj
= 0;
32227 wxListView
*arg1
= (wxListView
*) 0 ;
32234 PyObject
* obj0
= 0 ;
32235 PyObject
* obj1
= 0 ;
32236 char * kwnames
[] = {
32237 (char *) "self",(char *) "index", NULL
32240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32242 if (!SWIG_IsOK(res1
)) {
32243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32245 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32246 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32247 if (!SWIG_IsOK(ecode2
)) {
32248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32250 arg2
= static_cast< long >(val2
);
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 result
= (bool)(arg1
)->IsSelected(arg2
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32266 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
= 0;
32268 wxListView
*arg1
= (wxListView
*) 0 ;
32277 PyObject
* obj0
= 0 ;
32278 PyObject
* obj1
= 0 ;
32279 PyObject
* obj2
= 0 ;
32280 char * kwnames
[] = {
32281 (char *) "self",(char *) "col",(char *) "image", NULL
32284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32286 if (!SWIG_IsOK(res1
)) {
32287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32289 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32291 if (!SWIG_IsOK(ecode2
)) {
32292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32294 arg2
= static_cast< int >(val2
);
32295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32296 if (!SWIG_IsOK(ecode3
)) {
32297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32299 arg3
= static_cast< int >(val3
);
32301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32302 (arg1
)->SetColumnImage(arg2
,arg3
);
32303 wxPyEndAllowThreads(__tstate
);
32304 if (PyErr_Occurred()) SWIG_fail
;
32306 resultobj
= SWIG_Py_Void();
32313 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32314 PyObject
*resultobj
= 0;
32315 wxListView
*arg1
= (wxListView
*) 0 ;
32321 PyObject
* obj0
= 0 ;
32322 PyObject
* obj1
= 0 ;
32323 char * kwnames
[] = {
32324 (char *) "self",(char *) "col", NULL
32327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32329 if (!SWIG_IsOK(res1
)) {
32330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32332 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32334 if (!SWIG_IsOK(ecode2
)) {
32335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32337 arg2
= static_cast< int >(val2
);
32339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32340 (arg1
)->ClearColumnImage(arg2
);
32341 wxPyEndAllowThreads(__tstate
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32344 resultobj
= SWIG_Py_Void();
32351 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32354 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32355 return SWIG_Py_Void();
32358 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32359 return SWIG_Python_InitShadowInstance(args
);
32362 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32363 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32368 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32369 PyObject
*pyobj
= 0;
32373 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32375 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32382 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32383 PyObject
*resultobj
= 0;
32384 wxTreeItemId
*result
= 0 ;
32386 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 result
= (wxTreeItemId
*)new wxTreeItemId();
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32400 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32401 PyObject
*resultobj
= 0;
32402 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32405 PyObject
*swig_obj
[1] ;
32407 if (!args
) SWIG_fail
;
32408 swig_obj
[0] = args
;
32409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32410 if (!SWIG_IsOK(res1
)) {
32411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32413 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 resultobj
= SWIG_Py_Void();
32428 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32429 PyObject
*resultobj
= 0;
32430 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32434 PyObject
*swig_obj
[1] ;
32436 if (!args
) SWIG_fail
;
32437 swig_obj
[0] = args
;
32438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32439 if (!SWIG_IsOK(res1
)) {
32440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32442 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32458 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32459 PyObject
*resultobj
= 0;
32460 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32461 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 char * kwnames
[] = {
32470 (char *) "self",(char *) "other", NULL
32473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32475 if (!SWIG_IsOK(res1
)) {
32476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32478 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32480 if (!SWIG_IsOK(res2
)) {
32481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32483 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32486 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32487 wxPyEndAllowThreads(__tstate
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32499 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32500 PyObject
*resultobj
= 0;
32501 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32502 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32508 PyObject
* obj0
= 0 ;
32509 PyObject
* obj1
= 0 ;
32510 char * kwnames
[] = {
32511 (char *) "self",(char *) "other", NULL
32514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32519 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32521 if (!SWIG_IsOK(res2
)) {
32522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32527 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32540 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32541 PyObject
*resultobj
= 0;
32542 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32543 void *arg2
= (void *) 0 ;
32547 PyObject
*swig_obj
[2] ;
32549 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32551 if (!SWIG_IsOK(res1
)) {
32552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32554 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32555 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32556 if (!SWIG_IsOK(res2
)) {
32557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32559 if (arg1
) (arg1
)->m_pItem
= arg2
;
32561 resultobj
= SWIG_Py_Void();
32568 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32569 PyObject
*resultobj
= 0;
32570 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32574 PyObject
*swig_obj
[1] ;
32576 if (!args
) SWIG_fail
;
32577 swig_obj
[0] = args
;
32578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32579 if (!SWIG_IsOK(res1
)) {
32580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32582 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32583 result
= (void *) ((arg1
)->m_pItem
);
32584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32591 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32594 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32595 return SWIG_Py_Void();
32598 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32599 return SWIG_Python_InitShadowInstance(args
);
32602 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
= 0;
32604 PyObject
*arg1
= (PyObject
*) NULL
;
32605 wxPyTreeItemData
*result
= 0 ;
32606 PyObject
* obj0
= 0 ;
32607 char * kwnames
[] = {
32608 (char *) "obj", NULL
32611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32618 wxPyEndAllowThreads(__tstate
);
32619 if (PyErr_Occurred()) SWIG_fail
;
32621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32628 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32629 PyObject
*resultobj
= 0;
32630 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32633 PyObject
*swig_obj
[1] ;
32635 if (!args
) SWIG_fail
;
32636 swig_obj
[0] = args
;
32637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32638 if (!SWIG_IsOK(res1
)) {
32639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32641 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32649 resultobj
= SWIG_Py_Void();
32656 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32657 PyObject
*resultobj
= 0;
32658 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32659 PyObject
*result
= 0 ;
32662 PyObject
*swig_obj
[1] ;
32664 if (!args
) SWIG_fail
;
32665 swig_obj
[0] = args
;
32666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32667 if (!SWIG_IsOK(res1
)) {
32668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32670 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 result
= (PyObject
*)(arg1
)->GetData();
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= result
;
32684 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
= 0;
32686 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32687 PyObject
*arg2
= (PyObject
*) 0 ;
32690 PyObject
* obj0
= 0 ;
32691 PyObject
* obj1
= 0 ;
32692 char * kwnames
[] = {
32693 (char *) "self",(char *) "obj", NULL
32696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32698 if (!SWIG_IsOK(res1
)) {
32699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32701 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32705 (arg1
)->SetData(arg2
);
32706 wxPyEndAllowThreads(__tstate
);
32707 if (PyErr_Occurred()) SWIG_fail
;
32709 resultobj
= SWIG_Py_Void();
32716 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32717 PyObject
*resultobj
= 0;
32718 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32719 wxTreeItemId
*result
= 0 ;
32722 PyObject
*swig_obj
[1] ;
32724 if (!args
) SWIG_fail
;
32725 swig_obj
[0] = args
;
32726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32727 if (!SWIG_IsOK(res1
)) {
32728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32730 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32734 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32735 result
= (wxTreeItemId
*) &_result_ref
;
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32747 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32748 PyObject
*resultobj
= 0;
32749 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32750 wxTreeItemId
*arg2
= 0 ;
32755 PyObject
* obj0
= 0 ;
32756 PyObject
* obj1
= 0 ;
32757 char * kwnames
[] = {
32758 (char *) "self",(char *) "id", NULL
32761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32763 if (!SWIG_IsOK(res1
)) {
32764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32766 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32768 if (!SWIG_IsOK(res2
)) {
32769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32774 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= SWIG_Py_Void();
32788 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32789 PyObject
*resultobj
= 0;
32790 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32793 PyObject
*swig_obj
[1] ;
32795 if (!args
) SWIG_fail
;
32796 swig_obj
[0] = args
;
32797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32801 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 wxPyTreeItemData_Destroy(arg1
);
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= SWIG_Py_Void();
32815 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32818 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32819 return SWIG_Py_Void();
32822 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32823 return SWIG_Python_InitShadowInstance(args
);
32826 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32827 PyObject
*resultobj
= 0;
32828 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32829 int arg2
= (int) 0 ;
32830 wxTreeEvent
*result
= 0 ;
32835 PyObject
* obj0
= 0 ;
32836 PyObject
* obj1
= 0 ;
32837 char * kwnames
[] = {
32838 (char *) "commandType",(char *) "id", NULL
32841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32843 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32844 if (!SWIG_IsOK(ecode1
)) {
32845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32847 arg1
= static_cast< wxEventType
>(val1
);
32850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32851 if (!SWIG_IsOK(ecode2
)) {
32852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32854 arg2
= static_cast< int >(val2
);
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32869 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32870 PyObject
*resultobj
= 0;
32871 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32872 wxTreeItemId result
;
32875 PyObject
*swig_obj
[1] ;
32877 if (!args
) SWIG_fail
;
32878 swig_obj
[0] = args
;
32879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32880 if (!SWIG_IsOK(res1
)) {
32881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32883 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32886 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32897 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
= 0;
32899 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32900 wxTreeItemId
*arg2
= 0 ;
32905 PyObject
* obj0
= 0 ;
32906 PyObject
* obj1
= 0 ;
32907 char * kwnames
[] = {
32908 (char *) "self",(char *) "item", NULL
32911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32913 if (!SWIG_IsOK(res1
)) {
32914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32916 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32918 if (!SWIG_IsOK(res2
)) {
32919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32924 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32927 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32928 wxPyEndAllowThreads(__tstate
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32931 resultobj
= SWIG_Py_Void();
32938 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32939 PyObject
*resultobj
= 0;
32940 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32941 wxTreeItemId result
;
32944 PyObject
*swig_obj
[1] ;
32946 if (!args
) SWIG_fail
;
32947 swig_obj
[0] = args
;
32948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32949 if (!SWIG_IsOK(res1
)) {
32950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32952 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32959 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32966 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32967 PyObject
*resultobj
= 0;
32968 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32969 wxTreeItemId
*arg2
= 0 ;
32974 PyObject
* obj0
= 0 ;
32975 PyObject
* obj1
= 0 ;
32976 char * kwnames
[] = {
32977 (char *) "self",(char *) "item", NULL
32980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32982 if (!SWIG_IsOK(res1
)) {
32983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32985 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32987 if (!SWIG_IsOK(res2
)) {
32988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32993 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 resultobj
= SWIG_Py_Void();
33007 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33008 PyObject
*resultobj
= 0;
33009 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33013 PyObject
*swig_obj
[1] ;
33015 if (!args
) SWIG_fail
;
33016 swig_obj
[0] = args
;
33017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33018 if (!SWIG_IsOK(res1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33021 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33024 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33035 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
= 0;
33037 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33038 wxPoint
*arg2
= 0 ;
33042 PyObject
* obj0
= 0 ;
33043 PyObject
* obj1
= 0 ;
33044 char * kwnames
[] = {
33045 (char *) "self",(char *) "pt", NULL
33048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33050 if (!SWIG_IsOK(res1
)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33053 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33061 wxPyEndAllowThreads(__tstate
);
33062 if (PyErr_Occurred()) SWIG_fail
;
33064 resultobj
= SWIG_Py_Void();
33071 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33072 PyObject
*resultobj
= 0;
33073 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33074 wxKeyEvent
*result
= 0 ;
33077 PyObject
*swig_obj
[1] ;
33079 if (!args
) SWIG_fail
;
33080 swig_obj
[0] = args
;
33081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33082 if (!SWIG_IsOK(res1
)) {
33083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33085 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33089 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33090 result
= (wxKeyEvent
*) &_result_ref
;
33092 wxPyEndAllowThreads(__tstate
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33102 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33103 PyObject
*resultobj
= 0;
33104 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33108 PyObject
*swig_obj
[1] ;
33110 if (!args
) SWIG_fail
;
33111 swig_obj
[0] = args
;
33112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33113 if (!SWIG_IsOK(res1
)) {
33114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33116 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33120 wxPyEndAllowThreads(__tstate
);
33121 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= SWIG_From_int(static_cast< int >(result
));
33130 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33131 PyObject
*resultobj
= 0;
33132 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33133 wxKeyEvent
*arg2
= 0 ;
33138 PyObject
* obj0
= 0 ;
33139 PyObject
* obj1
= 0 ;
33140 char * kwnames
[] = {
33141 (char *) "self",(char *) "evt", NULL
33144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33146 if (!SWIG_IsOK(res1
)) {
33147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33149 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33151 if (!SWIG_IsOK(res2
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33157 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= SWIG_Py_Void();
33171 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33172 PyObject
*resultobj
= 0;
33173 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33174 wxString
*result
= 0 ;
33177 PyObject
*swig_obj
[1] ;
33179 if (!args
) SWIG_fail
;
33180 swig_obj
[0] = args
;
33181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33182 if (!SWIG_IsOK(res1
)) {
33183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33185 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33190 result
= (wxString
*) &_result_ref
;
33192 wxPyEndAllowThreads(__tstate
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33197 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33199 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33208 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
= 0;
33210 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33211 wxString
*arg2
= 0 ;
33214 bool temp2
= false ;
33215 PyObject
* obj0
= 0 ;
33216 PyObject
* obj1
= 0 ;
33217 char * kwnames
[] = {
33218 (char *) "self",(char *) "label", NULL
33221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33223 if (!SWIG_IsOK(res1
)) {
33224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33226 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33228 arg2
= wxString_in_helper(obj1
);
33229 if (arg2
== NULL
) SWIG_fail
;
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 (arg1
)->SetLabel((wxString
const &)*arg2
);
33235 wxPyEndAllowThreads(__tstate
);
33236 if (PyErr_Occurred()) SWIG_fail
;
33238 resultobj
= SWIG_Py_Void();
33253 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33254 PyObject
*resultobj
= 0;
33255 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33259 PyObject
*swig_obj
[1] ;
33261 if (!args
) SWIG_fail
;
33262 swig_obj
[0] = args
;
33263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33264 if (!SWIG_IsOK(res1
)) {
33265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33267 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33271 wxPyEndAllowThreads(__tstate
);
33272 if (PyErr_Occurred()) SWIG_fail
;
33275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33283 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
= 0;
33285 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33291 PyObject
* obj0
= 0 ;
33292 PyObject
* obj1
= 0 ;
33293 char * kwnames
[] = {
33294 (char *) "self",(char *) "editCancelled", NULL
33297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33299 if (!SWIG_IsOK(res1
)) {
33300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33302 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33303 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33304 if (!SWIG_IsOK(ecode2
)) {
33305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33307 arg2
= static_cast< bool >(val2
);
33309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33310 (arg1
)->SetEditCanceled(arg2
);
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33314 resultobj
= SWIG_Py_Void();
33321 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33322 PyObject
*resultobj
= 0;
33323 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33324 wxString
*arg2
= 0 ;
33327 bool temp2
= false ;
33328 PyObject
* obj0
= 0 ;
33329 PyObject
* obj1
= 0 ;
33330 char * kwnames
[] = {
33331 (char *) "self",(char *) "toolTip", NULL
33334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33336 if (!SWIG_IsOK(res1
)) {
33337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33339 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33341 arg2
= wxString_in_helper(obj1
);
33342 if (arg2
== NULL
) SWIG_fail
;
33346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33347 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33348 wxPyEndAllowThreads(__tstate
);
33349 if (PyErr_Occurred()) SWIG_fail
;
33351 resultobj
= SWIG_Py_Void();
33366 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33367 PyObject
*resultobj
= 0;
33368 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33372 PyObject
*swig_obj
[1] ;
33374 if (!args
) SWIG_fail
;
33375 swig_obj
[0] = args
;
33376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33377 if (!SWIG_IsOK(res1
)) {
33378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33380 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33383 result
= (arg1
)->GetToolTip();
33384 wxPyEndAllowThreads(__tstate
);
33385 if (PyErr_Occurred()) SWIG_fail
;
33389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33400 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33403 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33404 return SWIG_Py_Void();
33407 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33408 return SWIG_Python_InitShadowInstance(args
);
33411 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33412 PyObject
*resultobj
= 0;
33413 wxWindow
*arg1
= (wxWindow
*) 0 ;
33414 int arg2
= (int) -1 ;
33415 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33416 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33417 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33418 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33419 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33420 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33421 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33422 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33423 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33424 wxPyTreeCtrl
*result
= 0 ;
33435 bool temp7
= false ;
33436 PyObject
* obj0
= 0 ;
33437 PyObject
* obj1
= 0 ;
33438 PyObject
* obj2
= 0 ;
33439 PyObject
* obj3
= 0 ;
33440 PyObject
* obj4
= 0 ;
33441 PyObject
* obj5
= 0 ;
33442 PyObject
* obj6
= 0 ;
33443 char * kwnames
[] = {
33444 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33449 if (!SWIG_IsOK(res1
)) {
33450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33455 if (!SWIG_IsOK(ecode2
)) {
33456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33458 arg2
= static_cast< int >(val2
);
33463 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33469 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33473 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33474 if (!SWIG_IsOK(ecode5
)) {
33475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33477 arg5
= static_cast< long >(val5
);
33480 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33481 if (!SWIG_IsOK(res6
)) {
33482 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33487 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33491 arg7
= wxString_in_helper(obj6
);
33492 if (arg7
== NULL
) SWIG_fail
;
33497 if (!wxPyCheckForApp()) SWIG_fail
;
33498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33499 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33500 wxPyEndAllowThreads(__tstate
);
33501 if (PyErr_Occurred()) SWIG_fail
;
33503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33518 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33519 PyObject
*resultobj
= 0;
33520 wxPyTreeCtrl
*result
= 0 ;
33522 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33524 if (!wxPyCheckForApp()) SWIG_fail
;
33525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33526 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33537 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
= 0;
33539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33540 wxWindow
*arg2
= (wxWindow
*) 0 ;
33541 int arg3
= (int) -1 ;
33542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33546 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33547 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33548 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33549 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33550 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33564 bool temp8
= false ;
33565 PyObject
* obj0
= 0 ;
33566 PyObject
* obj1
= 0 ;
33567 PyObject
* obj2
= 0 ;
33568 PyObject
* obj3
= 0 ;
33569 PyObject
* obj4
= 0 ;
33570 PyObject
* obj5
= 0 ;
33571 PyObject
* obj6
= 0 ;
33572 PyObject
* obj7
= 0 ;
33573 char * kwnames
[] = {
33574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33579 if (!SWIG_IsOK(res1
)) {
33580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33582 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33584 if (!SWIG_IsOK(res2
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33590 if (!SWIG_IsOK(ecode3
)) {
33591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33593 arg3
= static_cast< int >(val3
);
33598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33608 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33609 if (!SWIG_IsOK(ecode6
)) {
33610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33612 arg6
= static_cast< long >(val6
);
33615 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33616 if (!SWIG_IsOK(res7
)) {
33617 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33622 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33626 arg8
= wxString_in_helper(obj7
);
33627 if (arg8
== NULL
) SWIG_fail
;
33632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33654 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
= 0;
33656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33657 PyObject
*arg2
= (PyObject
*) 0 ;
33658 PyObject
*arg3
= (PyObject
*) 0 ;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 PyObject
* obj2
= 0 ;
33664 char * kwnames
[] = {
33665 (char *) "self",(char *) "self",(char *) "_class", NULL
33668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33670 if (!SWIG_IsOK(res1
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33673 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33679 wxPyEndAllowThreads(__tstate
);
33680 if (PyErr_Occurred()) SWIG_fail
;
33682 resultobj
= SWIG_Py_Void();
33689 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33690 PyObject
*resultobj
= 0;
33691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33692 unsigned int result
;
33695 PyObject
*swig_obj
[1] ;
33697 if (!args
) SWIG_fail
;
33698 swig_obj
[0] = args
;
33699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33703 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33717 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33718 PyObject
*resultobj
= 0;
33719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33720 unsigned int result
;
33723 PyObject
*swig_obj
[1] ;
33725 if (!args
) SWIG_fail
;
33726 swig_obj
[0] = args
;
33727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33728 if (!SWIG_IsOK(res1
)) {
33729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33731 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33745 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
= 0;
33747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33748 unsigned int arg2
;
33751 unsigned int val2
;
33753 PyObject
* obj0
= 0 ;
33754 PyObject
* obj1
= 0 ;
33755 char * kwnames
[] = {
33756 (char *) "self",(char *) "indent", NULL
33759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33761 if (!SWIG_IsOK(res1
)) {
33762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33764 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33765 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33766 if (!SWIG_IsOK(ecode2
)) {
33767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33769 arg2
= static_cast< unsigned int >(val2
);
33771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33772 (arg1
)->SetIndent(arg2
);
33773 wxPyEndAllowThreads(__tstate
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33776 resultobj
= SWIG_Py_Void();
33783 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33784 PyObject
*resultobj
= 0;
33785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33786 unsigned int result
;
33789 PyObject
*swig_obj
[1] ;
33791 if (!args
) SWIG_fail
;
33792 swig_obj
[0] = args
;
33793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33794 if (!SWIG_IsOK(res1
)) {
33795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33797 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33800 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33804 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33811 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33812 PyObject
*resultobj
= 0;
33813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33814 unsigned int arg2
;
33817 unsigned int val2
;
33819 PyObject
* obj0
= 0 ;
33820 PyObject
* obj1
= 0 ;
33821 char * kwnames
[] = {
33822 (char *) "self",(char *) "spacing", NULL
33825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33827 if (!SWIG_IsOK(res1
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33830 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33831 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33832 if (!SWIG_IsOK(ecode2
)) {
33833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33835 arg2
= static_cast< unsigned int >(val2
);
33837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33838 (arg1
)->SetSpacing(arg2
);
33839 wxPyEndAllowThreads(__tstate
);
33840 if (PyErr_Occurred()) SWIG_fail
;
33842 resultobj
= SWIG_Py_Void();
33849 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33850 PyObject
*resultobj
= 0;
33851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33852 wxImageList
*result
= 0 ;
33855 PyObject
*swig_obj
[1] ;
33857 if (!args
) SWIG_fail
;
33858 swig_obj
[0] = args
;
33859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33860 if (!SWIG_IsOK(res1
)) {
33861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33863 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33866 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33867 wxPyEndAllowThreads(__tstate
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33871 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33879 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33880 PyObject
*resultobj
= 0;
33881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33882 wxImageList
*result
= 0 ;
33885 PyObject
*swig_obj
[1] ;
33887 if (!args
) SWIG_fail
;
33888 swig_obj
[0] = args
;
33889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33890 if (!SWIG_IsOK(res1
)) {
33891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33893 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33896 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33909 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
= 0;
33911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33912 wxImageList
*arg2
= (wxImageList
*) 0 ;
33917 PyObject
* obj0
= 0 ;
33918 PyObject
* obj1
= 0 ;
33919 char * kwnames
[] = {
33920 (char *) "self",(char *) "imageList", NULL
33923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33925 if (!SWIG_IsOK(res1
)) {
33926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33928 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33930 if (!SWIG_IsOK(res2
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33933 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 (arg1
)->SetImageList(arg2
);
33937 wxPyEndAllowThreads(__tstate
);
33938 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= SWIG_Py_Void();
33947 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
= 0;
33949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33950 wxImageList
*arg2
= (wxImageList
*) 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 char * kwnames
[] = {
33958 (char *) "self",(char *) "imageList", NULL
33961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33963 if (!SWIG_IsOK(res1
)) {
33964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33966 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33968 if (!SWIG_IsOK(res2
)) {
33969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33971 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 (arg1
)->SetStateImageList(arg2
);
33975 wxPyEndAllowThreads(__tstate
);
33976 if (PyErr_Occurred()) SWIG_fail
;
33978 resultobj
= SWIG_Py_Void();
33985 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33986 PyObject
*resultobj
= 0;
33987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33988 wxImageList
*arg2
= (wxImageList
*) 0 ;
33992 PyObject
* obj0
= 0 ;
33993 PyObject
* obj1
= 0 ;
33994 char * kwnames
[] = {
33995 (char *) "self",(char *) "imageList", NULL
33998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34003 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34004 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34005 if (!SWIG_IsOK(res2
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34010 (arg1
)->AssignImageList(arg2
);
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34014 resultobj
= SWIG_Py_Void();
34021 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34022 PyObject
*resultobj
= 0;
34023 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34024 wxImageList
*arg2
= (wxImageList
*) 0 ;
34028 PyObject
* obj0
= 0 ;
34029 PyObject
* obj1
= 0 ;
34030 char * kwnames
[] = {
34031 (char *) "self",(char *) "imageList", NULL
34034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34036 if (!SWIG_IsOK(res1
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34039 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34040 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34041 if (!SWIG_IsOK(res2
)) {
34042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 (arg1
)->AssignStateImageList(arg2
);
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34050 resultobj
= SWIG_Py_Void();
34057 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
= 0;
34059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34060 wxTreeItemId
*arg2
= 0 ;
34066 PyObject
* obj0
= 0 ;
34067 PyObject
* obj1
= 0 ;
34068 char * kwnames
[] = {
34069 (char *) "self",(char *) "item", NULL
34072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34074 if (!SWIG_IsOK(res1
)) {
34075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34077 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34079 if (!SWIG_IsOK(res2
)) {
34080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34085 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34105 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34106 PyObject
*resultobj
= 0;
34107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34108 wxTreeItemId
*arg2
= 0 ;
34109 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34117 PyObject
* obj0
= 0 ;
34118 PyObject
* obj1
= 0 ;
34119 PyObject
* obj2
= 0 ;
34120 char * kwnames
[] = {
34121 (char *) "self",(char *) "item",(char *) "which", NULL
34124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34126 if (!SWIG_IsOK(res1
)) {
34127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34129 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34131 if (!SWIG_IsOK(res2
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34137 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34140 if (!SWIG_IsOK(ecode3
)) {
34141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34143 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_From_int(static_cast< int >(result
));
34158 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
= 0;
34160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34161 wxTreeItemId
*arg2
= 0 ;
34162 wxPyTreeItemData
*result
= 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 char * kwnames
[] = {
34170 (char *) "self",(char *) "item", NULL
34173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34175 if (!SWIG_IsOK(res1
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34178 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34179 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34180 if (!SWIG_IsOK(res2
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34186 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34200 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
= 0;
34202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34203 wxTreeItemId
*arg2
= 0 ;
34204 PyObject
*result
= 0 ;
34209 PyObject
* obj0
= 0 ;
34210 PyObject
* obj1
= 0 ;
34211 char * kwnames
[] = {
34212 (char *) "self",(char *) "item", NULL
34215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34217 if (!SWIG_IsOK(res1
)) {
34218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34220 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34222 if (!SWIG_IsOK(res2
)) {
34223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34228 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 resultobj
= result
;
34242 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
= 0;
34244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34245 wxTreeItemId
*arg2
= 0 ;
34251 PyObject
* obj0
= 0 ;
34252 PyObject
* obj1
= 0 ;
34253 char * kwnames
[] = {
34254 (char *) "self",(char *) "item", NULL
34257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34259 if (!SWIG_IsOK(res1
)) {
34260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34264 if (!SWIG_IsOK(res2
)) {
34265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34274 wxPyEndAllowThreads(__tstate
);
34275 if (PyErr_Occurred()) SWIG_fail
;
34277 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34284 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34285 PyObject
*resultobj
= 0;
34286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34287 wxTreeItemId
*arg2
= 0 ;
34293 PyObject
* obj0
= 0 ;
34294 PyObject
* obj1
= 0 ;
34295 char * kwnames
[] = {
34296 (char *) "self",(char *) "item", NULL
34299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34301 if (!SWIG_IsOK(res1
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34304 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34306 if (!SWIG_IsOK(res2
)) {
34307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34312 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34326 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34327 PyObject
*resultobj
= 0;
34328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34329 wxTreeItemId
*arg2
= 0 ;
34335 PyObject
* obj0
= 0 ;
34336 PyObject
* obj1
= 0 ;
34337 char * kwnames
[] = {
34338 (char *) "self",(char *) "item", NULL
34341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34343 if (!SWIG_IsOK(res1
)) {
34344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34346 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34347 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34348 if (!SWIG_IsOK(res2
)) {
34349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34354 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34358 wxPyEndAllowThreads(__tstate
);
34359 if (PyErr_Occurred()) SWIG_fail
;
34361 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34368 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34369 PyObject
*resultobj
= 0;
34370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34371 wxTreeItemId
*arg2
= 0 ;
34372 wxString
*arg3
= 0 ;
34377 bool temp3
= false ;
34378 PyObject
* obj0
= 0 ;
34379 PyObject
* obj1
= 0 ;
34380 PyObject
* obj2
= 0 ;
34381 char * kwnames
[] = {
34382 (char *) "self",(char *) "item",(char *) "text", NULL
34385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34387 if (!SWIG_IsOK(res1
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34390 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34392 if (!SWIG_IsOK(res2
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34398 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34400 arg3
= wxString_in_helper(obj2
);
34401 if (arg3
== NULL
) SWIG_fail
;
34405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34406 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34407 wxPyEndAllowThreads(__tstate
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34410 resultobj
= SWIG_Py_Void();
34425 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34426 PyObject
*resultobj
= 0;
34427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34428 wxTreeItemId
*arg2
= 0 ;
34430 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34439 PyObject
* obj0
= 0 ;
34440 PyObject
* obj1
= 0 ;
34441 PyObject
* obj2
= 0 ;
34442 PyObject
* obj3
= 0 ;
34443 char * kwnames
[] = {
34444 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34449 if (!SWIG_IsOK(res1
)) {
34450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34452 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34454 if (!SWIG_IsOK(res2
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34460 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34462 if (!SWIG_IsOK(ecode3
)) {
34463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34465 arg3
= static_cast< int >(val3
);
34467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34468 if (!SWIG_IsOK(ecode4
)) {
34469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34471 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34475 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34476 wxPyEndAllowThreads(__tstate
);
34477 if (PyErr_Occurred()) SWIG_fail
;
34479 resultobj
= SWIG_Py_Void();
34486 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
= 0;
34488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34489 wxTreeItemId
*arg2
= 0 ;
34490 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34496 PyObject
* obj0
= 0 ;
34497 PyObject
* obj1
= 0 ;
34498 PyObject
* obj2
= 0 ;
34499 char * kwnames
[] = {
34500 (char *) "self",(char *) "item",(char *) "data", NULL
34503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34505 if (!SWIG_IsOK(res1
)) {
34506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34508 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34510 if (!SWIG_IsOK(res2
)) {
34511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34516 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34517 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34518 if (!SWIG_IsOK(res3
)) {
34519 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34527 resultobj
= SWIG_Py_Void();
34534 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34535 PyObject
*resultobj
= 0;
34536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34537 wxTreeItemId
*arg2
= 0 ;
34538 PyObject
*arg3
= (PyObject
*) 0 ;
34543 PyObject
* obj0
= 0 ;
34544 PyObject
* obj1
= 0 ;
34545 PyObject
* obj2
= 0 ;
34546 char * kwnames
[] = {
34547 (char *) "self",(char *) "item",(char *) "obj", NULL
34550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34552 if (!SWIG_IsOK(res1
)) {
34553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34555 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34557 if (!SWIG_IsOK(res2
)) {
34558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34563 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34567 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34568 wxPyEndAllowThreads(__tstate
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= SWIG_Py_Void();
34578 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
= 0;
34580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34581 wxTreeItemId
*arg2
= 0 ;
34582 bool arg3
= (bool) true ;
34589 PyObject
* obj0
= 0 ;
34590 PyObject
* obj1
= 0 ;
34591 PyObject
* obj2
= 0 ;
34592 char * kwnames
[] = {
34593 (char *) "self",(char *) "item",(char *) "has", NULL
34596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",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_SetItemHasChildren" "', 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_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34609 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34611 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34612 if (!SWIG_IsOK(ecode3
)) {
34613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34615 arg3
= static_cast< bool >(val3
);
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34620 wxPyEndAllowThreads(__tstate
);
34621 if (PyErr_Occurred()) SWIG_fail
;
34623 resultobj
= SWIG_Py_Void();
34630 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34631 PyObject
*resultobj
= 0;
34632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34633 wxTreeItemId
*arg2
= 0 ;
34634 bool arg3
= (bool) true ;
34641 PyObject
* obj0
= 0 ;
34642 PyObject
* obj1
= 0 ;
34643 PyObject
* obj2
= 0 ;
34644 char * kwnames
[] = {
34645 (char *) "self",(char *) "item",(char *) "bold", NULL
34648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34650 if (!SWIG_IsOK(res1
)) {
34651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34653 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34655 if (!SWIG_IsOK(res2
)) {
34656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34661 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34663 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34664 if (!SWIG_IsOK(ecode3
)) {
34665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34667 arg3
= static_cast< bool >(val3
);
34670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34671 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34672 wxPyEndAllowThreads(__tstate
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34675 resultobj
= SWIG_Py_Void();
34682 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
= 0;
34684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34685 wxTreeItemId
*arg2
= 0 ;
34686 bool arg3
= (bool) true ;
34693 PyObject
* obj0
= 0 ;
34694 PyObject
* obj1
= 0 ;
34695 PyObject
* obj2
= 0 ;
34696 char * kwnames
[] = {
34697 (char *) "self",(char *) "item",(char *) "highlight", NULL
34700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34702 if (!SWIG_IsOK(res1
)) {
34703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34705 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34707 if (!SWIG_IsOK(res2
)) {
34708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34713 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34715 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34716 if (!SWIG_IsOK(ecode3
)) {
34717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34719 arg3
= static_cast< bool >(val3
);
34722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34723 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34724 wxPyEndAllowThreads(__tstate
);
34725 if (PyErr_Occurred()) SWIG_fail
;
34727 resultobj
= SWIG_Py_Void();
34734 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34735 PyObject
*resultobj
= 0;
34736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34737 wxTreeItemId
*arg2
= 0 ;
34738 wxColour
*arg3
= 0 ;
34744 PyObject
* obj0
= 0 ;
34745 PyObject
* obj1
= 0 ;
34746 PyObject
* obj2
= 0 ;
34747 char * kwnames
[] = {
34748 (char *) "self",(char *) "item",(char *) "col", NULL
34751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34753 if (!SWIG_IsOK(res1
)) {
34754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34756 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34758 if (!SWIG_IsOK(res2
)) {
34759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34764 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34767 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 resultobj
= SWIG_Py_Void();
34782 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
= 0;
34784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34785 wxTreeItemId
*arg2
= 0 ;
34786 wxColour
*arg3
= 0 ;
34792 PyObject
* obj0
= 0 ;
34793 PyObject
* obj1
= 0 ;
34794 PyObject
* obj2
= 0 ;
34795 char * kwnames
[] = {
34796 (char *) "self",(char *) "item",(char *) "col", NULL
34799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34801 if (!SWIG_IsOK(res1
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34804 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34806 if (!SWIG_IsOK(res2
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34812 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34815 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34819 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= SWIG_Py_Void();
34830 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
= 0;
34832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34833 wxTreeItemId
*arg2
= 0 ;
34841 PyObject
* obj0
= 0 ;
34842 PyObject
* obj1
= 0 ;
34843 PyObject
* obj2
= 0 ;
34844 char * kwnames
[] = {
34845 (char *) "self",(char *) "item",(char *) "font", NULL
34848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34850 if (!SWIG_IsOK(res1
)) {
34851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34855 if (!SWIG_IsOK(res2
)) {
34856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34861 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34862 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34863 if (!SWIG_IsOK(res3
)) {
34864 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34869 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34872 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34873 wxPyEndAllowThreads(__tstate
);
34874 if (PyErr_Occurred()) SWIG_fail
;
34876 resultobj
= SWIG_Py_Void();
34883 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34884 PyObject
*resultobj
= 0;
34885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34886 wxTreeItemId
*arg2
= 0 ;
34892 PyObject
* obj0
= 0 ;
34893 PyObject
* obj1
= 0 ;
34894 char * kwnames
[] = {
34895 (char *) "self",(char *) "item", NULL
34898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34900 if (!SWIG_IsOK(res1
)) {
34901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34903 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34905 if (!SWIG_IsOK(res2
)) {
34906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34911 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34914 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34915 wxPyEndAllowThreads(__tstate
);
34916 if (PyErr_Occurred()) SWIG_fail
;
34919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34927 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
= 0;
34929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34930 wxTreeItemId
*arg2
= 0 ;
34936 PyObject
* obj0
= 0 ;
34937 PyObject
* obj1
= 0 ;
34938 char * kwnames
[] = {
34939 (char *) "self",(char *) "item", NULL
34942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34944 if (!SWIG_IsOK(res1
)) {
34945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34947 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34949 if (!SWIG_IsOK(res2
)) {
34950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34955 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34959 wxPyEndAllowThreads(__tstate
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34971 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
= 0;
34973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34974 wxTreeItemId
*arg2
= 0 ;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 char * kwnames
[] = {
34983 (char *) "self",(char *) "item", NULL
34986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34988 if (!SWIG_IsOK(res1
)) {
34989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34991 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34993 if (!SWIG_IsOK(res2
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34999 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35002 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35015 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35016 PyObject
*resultobj
= 0;
35017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35018 wxTreeItemId
*arg2
= 0 ;
35024 PyObject
* obj0
= 0 ;
35025 PyObject
* obj1
= 0 ;
35026 char * kwnames
[] = {
35027 (char *) "self",(char *) "item", NULL
35030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35032 if (!SWIG_IsOK(res1
)) {
35033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35035 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35037 if (!SWIG_IsOK(res2
)) {
35038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35043 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35047 wxPyEndAllowThreads(__tstate
);
35048 if (PyErr_Occurred()) SWIG_fail
;
35051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35059 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35060 PyObject
*resultobj
= 0;
35061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35062 wxTreeItemId
*arg2
= 0 ;
35068 PyObject
* obj0
= 0 ;
35069 PyObject
* obj1
= 0 ;
35070 char * kwnames
[] = {
35071 (char *) "self",(char *) "item", NULL
35074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35076 if (!SWIG_IsOK(res1
)) {
35077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35081 if (!SWIG_IsOK(res2
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35087 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35090 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35091 wxPyEndAllowThreads(__tstate
);
35092 if (PyErr_Occurred()) SWIG_fail
;
35095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35103 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35104 PyObject
*resultobj
= 0;
35105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35106 wxTreeItemId
*arg2
= 0 ;
35107 bool arg3
= (bool) true ;
35115 PyObject
* obj0
= 0 ;
35116 PyObject
* obj1
= 0 ;
35117 PyObject
* obj2
= 0 ;
35118 char * kwnames
[] = {
35119 (char *) "self",(char *) "item",(char *) "recursively", NULL
35122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35124 if (!SWIG_IsOK(res1
)) {
35125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35127 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35129 if (!SWIG_IsOK(res2
)) {
35130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35135 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35137 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35138 if (!SWIG_IsOK(ecode3
)) {
35139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35141 arg3
= static_cast< bool >(val3
);
35144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35145 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35146 wxPyEndAllowThreads(__tstate
);
35147 if (PyErr_Occurred()) SWIG_fail
;
35149 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35156 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35157 PyObject
*resultobj
= 0;
35158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35159 wxTreeItemId result
;
35162 PyObject
*swig_obj
[1] ;
35164 if (!args
) SWIG_fail
;
35165 swig_obj
[0] = args
;
35166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35167 if (!SWIG_IsOK(res1
)) {
35168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35170 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35173 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35174 wxPyEndAllowThreads(__tstate
);
35175 if (PyErr_Occurred()) SWIG_fail
;
35177 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35184 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35185 PyObject
*resultobj
= 0;
35186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35187 wxTreeItemId result
;
35190 PyObject
*swig_obj
[1] ;
35192 if (!args
) SWIG_fail
;
35193 swig_obj
[0] = args
;
35194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35195 if (!SWIG_IsOK(res1
)) {
35196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35201 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35202 wxPyEndAllowThreads(__tstate
);
35203 if (PyErr_Occurred()) SWIG_fail
;
35205 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35212 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35213 PyObject
*resultobj
= 0;
35214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35215 PyObject
*result
= 0 ;
35218 PyObject
*swig_obj
[1] ;
35220 if (!args
) SWIG_fail
;
35221 swig_obj
[0] = args
;
35222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35223 if (!SWIG_IsOK(res1
)) {
35224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35226 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 resultobj
= result
;
35240 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
= 0;
35242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35243 wxTreeItemId
*arg2
= 0 ;
35244 wxTreeItemId result
;
35249 PyObject
* obj0
= 0 ;
35250 PyObject
* obj1
= 0 ;
35251 char * kwnames
[] = {
35252 (char *) "self",(char *) "item", NULL
35255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35257 if (!SWIG_IsOK(res1
)) {
35258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35260 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35262 if (!SWIG_IsOK(res2
)) {
35263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35268 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35275 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35282 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
= 0;
35284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35285 wxTreeItemId
*arg2
= 0 ;
35286 PyObject
*result
= 0 ;
35291 PyObject
* obj0
= 0 ;
35292 PyObject
* obj1
= 0 ;
35293 char * kwnames
[] = {
35294 (char *) "self",(char *) "item", NULL
35297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35299 if (!SWIG_IsOK(res1
)) {
35300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35302 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35304 if (!SWIG_IsOK(res2
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35310 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35313 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35314 wxPyEndAllowThreads(__tstate
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35317 resultobj
= result
;
35324 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
= 0;
35326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35327 wxTreeItemId
*arg2
= 0 ;
35328 void *arg3
= (void *) 0 ;
35329 PyObject
*result
= 0 ;
35335 PyObject
* obj0
= 0 ;
35336 PyObject
* obj1
= 0 ;
35337 PyObject
* obj2
= 0 ;
35338 char * kwnames
[] = {
35339 (char *) "self",(char *) "item",(char *) "cookie", NULL
35342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35344 if (!SWIG_IsOK(res1
)) {
35345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35347 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35349 if (!SWIG_IsOK(res2
)) {
35350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35355 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35356 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35357 if (!SWIG_IsOK(res3
)) {
35358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= result
;
35373 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35376 wxTreeItemId
*arg2
= 0 ;
35377 wxTreeItemId result
;
35382 PyObject
* obj0
= 0 ;
35383 PyObject
* obj1
= 0 ;
35384 char * kwnames
[] = {
35385 (char *) "self",(char *) "item", NULL
35388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35390 if (!SWIG_IsOK(res1
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35393 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35395 if (!SWIG_IsOK(res2
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35401 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35408 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35415 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35416 PyObject
*resultobj
= 0;
35417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35418 wxTreeItemId
*arg2
= 0 ;
35419 wxTreeItemId result
;
35424 PyObject
* obj0
= 0 ;
35425 PyObject
* obj1
= 0 ;
35426 char * kwnames
[] = {
35427 (char *) "self",(char *) "item", NULL
35430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35432 if (!SWIG_IsOK(res1
)) {
35433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35435 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35437 if (!SWIG_IsOK(res2
)) {
35438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35443 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35446 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35447 wxPyEndAllowThreads(__tstate
);
35448 if (PyErr_Occurred()) SWIG_fail
;
35450 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35457 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35458 PyObject
*resultobj
= 0;
35459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35460 wxTreeItemId
*arg2
= 0 ;
35461 wxTreeItemId result
;
35466 PyObject
* obj0
= 0 ;
35467 PyObject
* obj1
= 0 ;
35468 char * kwnames
[] = {
35469 (char *) "self",(char *) "item", NULL
35472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35474 if (!SWIG_IsOK(res1
)) {
35475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35477 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35479 if (!SWIG_IsOK(res2
)) {
35480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35485 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35488 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35492 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35499 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35500 PyObject
*resultobj
= 0;
35501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35502 wxTreeItemId result
;
35505 PyObject
*swig_obj
[1] ;
35507 if (!args
) SWIG_fail
;
35508 swig_obj
[0] = args
;
35509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35510 if (!SWIG_IsOK(res1
)) {
35511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35513 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35516 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35527 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
= 0;
35529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35530 wxTreeItemId
*arg2
= 0 ;
35531 wxTreeItemId result
;
35536 PyObject
* obj0
= 0 ;
35537 PyObject
* obj1
= 0 ;
35538 char * kwnames
[] = {
35539 (char *) "self",(char *) "item", NULL
35542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35544 if (!SWIG_IsOK(res1
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35547 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35549 if (!SWIG_IsOK(res2
)) {
35550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35555 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35559 wxPyEndAllowThreads(__tstate
);
35560 if (PyErr_Occurred()) SWIG_fail
;
35562 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35569 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35570 PyObject
*resultobj
= 0;
35571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35572 wxTreeItemId
*arg2
= 0 ;
35573 wxTreeItemId result
;
35578 PyObject
* obj0
= 0 ;
35579 PyObject
* obj1
= 0 ;
35580 char * kwnames
[] = {
35581 (char *) "self",(char *) "item", NULL
35584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35586 if (!SWIG_IsOK(res1
)) {
35587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35589 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35591 if (!SWIG_IsOK(res2
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35597 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35600 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35604 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35611 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
= 0;
35613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35614 wxString
*arg2
= 0 ;
35615 int arg3
= (int) -1 ;
35616 int arg4
= (int) -1 ;
35617 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35618 wxTreeItemId result
;
35621 bool temp2
= false ;
35627 PyObject
* obj0
= 0 ;
35628 PyObject
* obj1
= 0 ;
35629 PyObject
* obj2
= 0 ;
35630 PyObject
* obj3
= 0 ;
35631 PyObject
* obj4
= 0 ;
35632 char * kwnames
[] = {
35633 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35638 if (!SWIG_IsOK(res1
)) {
35639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35641 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35643 arg2
= wxString_in_helper(obj1
);
35644 if (arg2
== NULL
) SWIG_fail
;
35648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35649 if (!SWIG_IsOK(ecode3
)) {
35650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35652 arg3
= static_cast< int >(val3
);
35655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35656 if (!SWIG_IsOK(ecode4
)) {
35657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35659 arg4
= static_cast< int >(val4
);
35662 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35663 if (!SWIG_IsOK(res5
)) {
35664 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35688 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35689 PyObject
*resultobj
= 0;
35690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35691 wxTreeItemId
*arg2
= 0 ;
35692 wxString
*arg3
= 0 ;
35693 int arg4
= (int) -1 ;
35694 int arg5
= (int) -1 ;
35695 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35696 wxTreeItemId result
;
35701 bool temp3
= false ;
35707 PyObject
* obj0
= 0 ;
35708 PyObject
* obj1
= 0 ;
35709 PyObject
* obj2
= 0 ;
35710 PyObject
* obj3
= 0 ;
35711 PyObject
* obj4
= 0 ;
35712 PyObject
* obj5
= 0 ;
35713 char * kwnames
[] = {
35714 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35719 if (!SWIG_IsOK(res1
)) {
35720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35722 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35724 if (!SWIG_IsOK(res2
)) {
35725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35730 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35732 arg3
= wxString_in_helper(obj2
);
35733 if (arg3
== NULL
) SWIG_fail
;
35737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35738 if (!SWIG_IsOK(ecode4
)) {
35739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35741 arg4
= static_cast< int >(val4
);
35744 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35745 if (!SWIG_IsOK(ecode5
)) {
35746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35748 arg5
= static_cast< int >(val5
);
35751 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35752 if (!SWIG_IsOK(res6
)) {
35753 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35758 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35762 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35777 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35778 PyObject
*resultobj
= 0;
35779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35780 wxTreeItemId
*arg2
= 0 ;
35781 wxTreeItemId
*arg3
= 0 ;
35782 wxString
*arg4
= 0 ;
35783 int arg5
= (int) -1 ;
35784 int arg6
= (int) -1 ;
35785 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35786 wxTreeItemId result
;
35793 bool temp4
= false ;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 PyObject
* obj2
= 0 ;
35802 PyObject
* obj3
= 0 ;
35803 PyObject
* obj4
= 0 ;
35804 PyObject
* obj5
= 0 ;
35805 PyObject
* obj6
= 0 ;
35806 char * kwnames
[] = {
35807 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35812 if (!SWIG_IsOK(res1
)) {
35813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35815 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35817 if (!SWIG_IsOK(res2
)) {
35818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35823 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35824 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35825 if (!SWIG_IsOK(res3
)) {
35826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35831 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35833 arg4
= wxString_in_helper(obj3
);
35834 if (arg4
== NULL
) SWIG_fail
;
35838 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35839 if (!SWIG_IsOK(ecode5
)) {
35840 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35842 arg5
= static_cast< int >(val5
);
35845 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35846 if (!SWIG_IsOK(ecode6
)) {
35847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35849 arg6
= static_cast< int >(val6
);
35852 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35853 if (!SWIG_IsOK(res7
)) {
35854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35859 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35860 wxPyEndAllowThreads(__tstate
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35863 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35878 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35879 PyObject
*resultobj
= 0;
35880 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35881 wxTreeItemId
*arg2
= 0 ;
35883 wxString
*arg4
= 0 ;
35884 int arg5
= (int) -1 ;
35885 int arg6
= (int) -1 ;
35886 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35887 wxTreeItemId result
;
35894 bool temp4
= false ;
35900 PyObject
* obj0
= 0 ;
35901 PyObject
* obj1
= 0 ;
35902 PyObject
* obj2
= 0 ;
35903 PyObject
* obj3
= 0 ;
35904 PyObject
* obj4
= 0 ;
35905 PyObject
* obj5
= 0 ;
35906 PyObject
* obj6
= 0 ;
35907 char * kwnames
[] = {
35908 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35913 if (!SWIG_IsOK(res1
)) {
35914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35918 if (!SWIG_IsOK(res2
)) {
35919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35924 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35925 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35926 if (!SWIG_IsOK(ecode3
)) {
35927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35929 arg3
= static_cast< size_t >(val3
);
35931 arg4
= wxString_in_helper(obj3
);
35932 if (arg4
== NULL
) SWIG_fail
;
35936 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35937 if (!SWIG_IsOK(ecode5
)) {
35938 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35940 arg5
= static_cast< int >(val5
);
35943 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35944 if (!SWIG_IsOK(ecode6
)) {
35945 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35947 arg6
= static_cast< int >(val6
);
35950 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35951 if (!SWIG_IsOK(res7
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35957 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35976 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35977 PyObject
*resultobj
= 0;
35978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35979 wxTreeItemId
*arg2
= 0 ;
35980 wxString
*arg3
= 0 ;
35981 int arg4
= (int) -1 ;
35982 int arg5
= (int) -1 ;
35983 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35984 wxTreeItemId result
;
35989 bool temp3
= false ;
35995 PyObject
* obj0
= 0 ;
35996 PyObject
* obj1
= 0 ;
35997 PyObject
* obj2
= 0 ;
35998 PyObject
* obj3
= 0 ;
35999 PyObject
* obj4
= 0 ;
36000 PyObject
* obj5
= 0 ;
36001 char * kwnames
[] = {
36002 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36007 if (!SWIG_IsOK(res1
)) {
36008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36010 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36012 if (!SWIG_IsOK(res2
)) {
36013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36018 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36020 arg3
= wxString_in_helper(obj2
);
36021 if (arg3
== NULL
) SWIG_fail
;
36025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36026 if (!SWIG_IsOK(ecode4
)) {
36027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36029 arg4
= static_cast< int >(val4
);
36032 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36033 if (!SWIG_IsOK(ecode5
)) {
36034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36036 arg5
= static_cast< int >(val5
);
36039 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36040 if (!SWIG_IsOK(res6
)) {
36041 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36047 wxPyEndAllowThreads(__tstate
);
36048 if (PyErr_Occurred()) SWIG_fail
;
36050 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36065 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36066 PyObject
*resultobj
= 0;
36067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36068 wxTreeItemId
*arg2
= 0 ;
36073 PyObject
* obj0
= 0 ;
36074 PyObject
* obj1
= 0 ;
36075 char * kwnames
[] = {
36076 (char *) "self",(char *) "item", NULL
36079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36081 if (!SWIG_IsOK(res1
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36084 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36086 if (!SWIG_IsOK(res2
)) {
36087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36092 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36095 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36096 wxPyEndAllowThreads(__tstate
);
36097 if (PyErr_Occurred()) SWIG_fail
;
36099 resultobj
= SWIG_Py_Void();
36106 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36107 PyObject
*resultobj
= 0;
36108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36109 wxTreeItemId
*arg2
= 0 ;
36114 PyObject
* obj0
= 0 ;
36115 PyObject
* obj1
= 0 ;
36116 char * kwnames
[] = {
36117 (char *) "self",(char *) "item", NULL
36120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36122 if (!SWIG_IsOK(res1
)) {
36123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36125 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36127 if (!SWIG_IsOK(res2
)) {
36128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36133 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36140 resultobj
= SWIG_Py_Void();
36147 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36148 PyObject
*resultobj
= 0;
36149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36152 PyObject
*swig_obj
[1] ;
36154 if (!args
) SWIG_fail
;
36155 swig_obj
[0] = args
;
36156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36157 if (!SWIG_IsOK(res1
)) {
36158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36160 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36163 (arg1
)->DeleteAllItems();
36164 wxPyEndAllowThreads(__tstate
);
36165 if (PyErr_Occurred()) SWIG_fail
;
36167 resultobj
= SWIG_Py_Void();
36174 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
= 0;
36176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36177 wxTreeItemId
*arg2
= 0 ;
36182 PyObject
* obj0
= 0 ;
36183 PyObject
* obj1
= 0 ;
36184 char * kwnames
[] = {
36185 (char *) "self",(char *) "item", NULL
36188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36190 if (!SWIG_IsOK(res1
)) {
36191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36193 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36195 if (!SWIG_IsOK(res2
)) {
36196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36201 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_Py_Void();
36215 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
= 0;
36217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36218 wxTreeItemId
*arg2
= 0 ;
36223 PyObject
* obj0
= 0 ;
36224 PyObject
* obj1
= 0 ;
36225 char * kwnames
[] = {
36226 (char *) "self",(char *) "item", NULL
36229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36231 if (!SWIG_IsOK(res1
)) {
36232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36234 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36236 if (!SWIG_IsOK(res2
)) {
36237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36242 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36245 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36246 wxPyEndAllowThreads(__tstate
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36249 resultobj
= SWIG_Py_Void();
36256 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36257 PyObject
*resultobj
= 0;
36258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36259 wxTreeItemId
*arg2
= 0 ;
36264 PyObject
* obj0
= 0 ;
36265 PyObject
* obj1
= 0 ;
36266 char * kwnames
[] = {
36267 (char *) "self",(char *) "item", NULL
36270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36272 if (!SWIG_IsOK(res1
)) {
36273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36275 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36277 if (!SWIG_IsOK(res2
)) {
36278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36283 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36286 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36287 wxPyEndAllowThreads(__tstate
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36290 resultobj
= SWIG_Py_Void();
36297 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36298 PyObject
*resultobj
= 0;
36299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36300 wxTreeItemId
*arg2
= 0 ;
36305 PyObject
* obj0
= 0 ;
36306 PyObject
* obj1
= 0 ;
36307 char * kwnames
[] = {
36308 (char *) "self",(char *) "item", NULL
36311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36313 if (!SWIG_IsOK(res1
)) {
36314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36316 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36318 if (!SWIG_IsOK(res2
)) {
36319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36324 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 resultobj
= SWIG_Py_Void();
36338 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36339 PyObject
*resultobj
= 0;
36340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36343 PyObject
*swig_obj
[1] ;
36345 if (!args
) SWIG_fail
;
36346 swig_obj
[0] = args
;
36347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36348 if (!SWIG_IsOK(res1
)) {
36349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36351 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36354 (arg1
)->Unselect();
36355 wxPyEndAllowThreads(__tstate
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36358 resultobj
= SWIG_Py_Void();
36365 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36366 PyObject
*resultobj
= 0;
36367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36368 wxTreeItemId
*arg2
= 0 ;
36373 PyObject
* obj0
= 0 ;
36374 PyObject
* obj1
= 0 ;
36375 char * kwnames
[] = {
36376 (char *) "self",(char *) "item", NULL
36379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36381 if (!SWIG_IsOK(res1
)) {
36382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36384 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36386 if (!SWIG_IsOK(res2
)) {
36387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36392 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36395 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36396 wxPyEndAllowThreads(__tstate
);
36397 if (PyErr_Occurred()) SWIG_fail
;
36399 resultobj
= SWIG_Py_Void();
36406 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36407 PyObject
*resultobj
= 0;
36408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36411 PyObject
*swig_obj
[1] ;
36413 if (!args
) SWIG_fail
;
36414 swig_obj
[0] = args
;
36415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36416 if (!SWIG_IsOK(res1
)) {
36417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36419 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36422 (arg1
)->UnselectAll();
36423 wxPyEndAllowThreads(__tstate
);
36424 if (PyErr_Occurred()) SWIG_fail
;
36426 resultobj
= SWIG_Py_Void();
36433 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
= 0;
36435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36436 wxTreeItemId
*arg2
= 0 ;
36437 bool arg3
= (bool) true ;
36444 PyObject
* obj0
= 0 ;
36445 PyObject
* obj1
= 0 ;
36446 PyObject
* obj2
= 0 ;
36447 char * kwnames
[] = {
36448 (char *) "self",(char *) "item",(char *) "select", NULL
36451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36453 if (!SWIG_IsOK(res1
)) {
36454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36456 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36458 if (!SWIG_IsOK(res2
)) {
36459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36464 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36466 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36467 if (!SWIG_IsOK(ecode3
)) {
36468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36470 arg3
= static_cast< bool >(val3
);
36473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36474 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36475 wxPyEndAllowThreads(__tstate
);
36476 if (PyErr_Occurred()) SWIG_fail
;
36478 resultobj
= SWIG_Py_Void();
36485 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36486 PyObject
*resultobj
= 0;
36487 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36488 wxTreeItemId
*arg2
= 0 ;
36493 PyObject
* obj0
= 0 ;
36494 PyObject
* obj1
= 0 ;
36495 char * kwnames
[] = {
36496 (char *) "self",(char *) "item", NULL
36499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36501 if (!SWIG_IsOK(res1
)) {
36502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36504 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36506 if (!SWIG_IsOK(res2
)) {
36507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36512 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36515 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36516 wxPyEndAllowThreads(__tstate
);
36517 if (PyErr_Occurred()) SWIG_fail
;
36519 resultobj
= SWIG_Py_Void();
36526 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36527 PyObject
*resultobj
= 0;
36528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36529 wxTreeItemId
*arg2
= 0 ;
36534 PyObject
* obj0
= 0 ;
36535 PyObject
* obj1
= 0 ;
36536 char * kwnames
[] = {
36537 (char *) "self",(char *) "item", NULL
36540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36542 if (!SWIG_IsOK(res1
)) {
36543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36545 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36547 if (!SWIG_IsOK(res2
)) {
36548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36553 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36556 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36557 wxPyEndAllowThreads(__tstate
);
36558 if (PyErr_Occurred()) SWIG_fail
;
36560 resultobj
= SWIG_Py_Void();
36567 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36568 PyObject
*resultobj
= 0;
36569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36570 wxTreeItemId
*arg2
= 0 ;
36575 PyObject
* obj0
= 0 ;
36576 PyObject
* obj1
= 0 ;
36577 char * kwnames
[] = {
36578 (char *) "self",(char *) "item", NULL
36581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36583 if (!SWIG_IsOK(res1
)) {
36584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36586 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36588 if (!SWIG_IsOK(res2
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36594 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36597 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36598 wxPyEndAllowThreads(__tstate
);
36599 if (PyErr_Occurred()) SWIG_fail
;
36601 resultobj
= SWIG_Py_Void();
36608 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36609 PyObject
*resultobj
= 0;
36610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36611 wxTreeItemId
*arg2
= 0 ;
36616 PyObject
* obj0
= 0 ;
36617 PyObject
* obj1
= 0 ;
36618 char * kwnames
[] = {
36619 (char *) "self",(char *) "item", NULL
36622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36624 if (!SWIG_IsOK(res1
)) {
36625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36627 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36629 if (!SWIG_IsOK(res2
)) {
36630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36635 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 resultobj
= SWIG_Py_Void();
36649 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36650 PyObject
*resultobj
= 0;
36651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36652 wxTextCtrl
*result
= 0 ;
36655 PyObject
*swig_obj
[1] ;
36657 if (!args
) SWIG_fail
;
36658 swig_obj
[0] = args
;
36659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36660 if (!SWIG_IsOK(res1
)) {
36661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36666 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36667 wxPyEndAllowThreads(__tstate
);
36668 if (PyErr_Occurred()) SWIG_fail
;
36671 resultobj
= wxPyMake_wxObject(result
, 0);
36679 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
= 0;
36681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36682 wxTreeItemId
*arg2
= 0 ;
36687 PyObject
* obj0
= 0 ;
36688 PyObject
* obj1
= 0 ;
36689 char * kwnames
[] = {
36690 (char *) "self",(char *) "item", NULL
36693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36695 if (!SWIG_IsOK(res1
)) {
36696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36698 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36700 if (!SWIG_IsOK(res2
)) {
36701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36706 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36709 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36710 wxPyEndAllowThreads(__tstate
);
36711 if (PyErr_Occurred()) SWIG_fail
;
36713 resultobj
= SWIG_Py_Void();
36720 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36721 PyObject
*resultobj
= 0;
36722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36723 wxPoint
*arg2
= 0 ;
36725 wxTreeItemId result
;
36730 int res3
= SWIG_TMPOBJ
;
36731 PyObject
* obj0
= 0 ;
36732 PyObject
* obj1
= 0 ;
36733 char * kwnames
[] = {
36734 (char *) "self",(char *) "point", NULL
36738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36740 if (!SWIG_IsOK(res1
)) {
36741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36743 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36750 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36751 wxPyEndAllowThreads(__tstate
);
36752 if (PyErr_Occurred()) SWIG_fail
;
36754 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36755 if (SWIG_IsTmpObj(res3
)) {
36756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36758 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36767 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36768 PyObject
*resultobj
= 0;
36769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36770 wxTreeItemId
*arg2
= 0 ;
36771 bool arg3
= (bool) false ;
36772 PyObject
*result
= 0 ;
36779 PyObject
* obj0
= 0 ;
36780 PyObject
* obj1
= 0 ;
36781 PyObject
* obj2
= 0 ;
36782 char * kwnames
[] = {
36783 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36788 if (!SWIG_IsOK(res1
)) {
36789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36791 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36793 if (!SWIG_IsOK(res2
)) {
36794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36799 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36801 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36802 if (!SWIG_IsOK(ecode3
)) {
36803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36805 arg3
= static_cast< bool >(val3
);
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36810 wxPyEndAllowThreads(__tstate
);
36811 if (PyErr_Occurred()) SWIG_fail
;
36813 resultobj
= result
;
36820 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36821 PyObject
*resultobj
= 0;
36822 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36823 SwigValueWrapper
<wxVisualAttributes
> result
;
36826 PyObject
* obj0
= 0 ;
36827 char * kwnames
[] = {
36828 (char *) "variant", NULL
36831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36833 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36834 if (!SWIG_IsOK(ecode1
)) {
36835 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36837 arg1
= static_cast< wxWindowVariant
>(val1
);
36840 if (!wxPyCheckForApp()) SWIG_fail
;
36841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36842 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36843 wxPyEndAllowThreads(__tstate
);
36844 if (PyErr_Occurred()) SWIG_fail
;
36846 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36853 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36854 PyObject
*resultobj
= 0;
36855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 char * kwnames
[] = {
36864 (char *) "self",(char *) "q", NULL
36867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36869 if (!SWIG_IsOK(res1
)) {
36870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36872 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36874 if (!SWIG_IsOK(ecode2
)) {
36875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36877 arg2
= static_cast< bool >(val2
);
36879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36880 (arg1
)->SetQuickBestSize(arg2
);
36881 wxPyEndAllowThreads(__tstate
);
36882 if (PyErr_Occurred()) SWIG_fail
;
36884 resultobj
= SWIG_Py_Void();
36891 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36892 PyObject
*resultobj
= 0;
36893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36897 PyObject
*swig_obj
[1] ;
36899 if (!args
) SWIG_fail
;
36900 swig_obj
[0] = args
;
36901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36902 if (!SWIG_IsOK(res1
)) {
36903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36905 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36908 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
36909 wxPyEndAllowThreads(__tstate
);
36910 if (PyErr_Occurred()) SWIG_fail
;
36913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36921 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36924 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36925 return SWIG_Py_Void();
36928 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36929 return SWIG_Python_InitShadowInstance(args
);
36932 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36933 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36938 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36939 PyObject
*pyobj
= 0;
36943 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36945 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36952 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36953 PyObject
*resultobj
= 0;
36954 wxWindow
*arg1
= (wxWindow
*) 0 ;
36955 int arg2
= (int) (int)-1 ;
36956 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36957 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36958 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36959 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36960 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36961 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36962 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36963 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36964 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36965 int arg8
= (int) 0 ;
36966 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36967 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36968 wxGenericDirCtrl
*result
= 0 ;
36973 bool temp3
= false ;
36978 bool temp7
= false ;
36981 bool temp9
= false ;
36982 PyObject
* obj0
= 0 ;
36983 PyObject
* obj1
= 0 ;
36984 PyObject
* obj2
= 0 ;
36985 PyObject
* obj3
= 0 ;
36986 PyObject
* obj4
= 0 ;
36987 PyObject
* obj5
= 0 ;
36988 PyObject
* obj6
= 0 ;
36989 PyObject
* obj7
= 0 ;
36990 PyObject
* obj8
= 0 ;
36991 char * kwnames
[] = {
36992 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36997 if (!SWIG_IsOK(res1
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37000 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37003 if (!SWIG_IsOK(ecode2
)) {
37004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37006 arg2
= static_cast< int >(val2
);
37010 arg3
= wxString_in_helper(obj2
);
37011 if (arg3
== NULL
) SWIG_fail
;
37018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37028 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37029 if (!SWIG_IsOK(ecode6
)) {
37030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37032 arg6
= static_cast< long >(val6
);
37036 arg7
= wxString_in_helper(obj6
);
37037 if (arg7
== NULL
) SWIG_fail
;
37042 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37043 if (!SWIG_IsOK(ecode8
)) {
37044 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37046 arg8
= static_cast< int >(val8
);
37050 arg9
= wxString_in_helper(obj8
);
37051 if (arg9
== NULL
) SWIG_fail
;
37056 if (!wxPyCheckForApp()) SWIG_fail
;
37057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37058 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37059 wxPyEndAllowThreads(__tstate
);
37060 if (PyErr_Occurred()) SWIG_fail
;
37062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37093 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37094 PyObject
*resultobj
= 0;
37095 wxGenericDirCtrl
*result
= 0 ;
37097 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37099 if (!wxPyCheckForApp()) SWIG_fail
;
37100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37101 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37102 wxPyEndAllowThreads(__tstate
);
37103 if (PyErr_Occurred()) SWIG_fail
;
37105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37112 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37113 PyObject
*resultobj
= 0;
37114 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37115 wxWindow
*arg2
= (wxWindow
*) 0 ;
37116 int arg3
= (int) (int)-1 ;
37117 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37119 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37120 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37121 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37122 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37123 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37124 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37126 int arg9
= (int) 0 ;
37127 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37128 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37136 bool temp4
= false ;
37141 bool temp8
= false ;
37144 bool temp10
= false ;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 PyObject
* obj2
= 0 ;
37148 PyObject
* obj3
= 0 ;
37149 PyObject
* obj4
= 0 ;
37150 PyObject
* obj5
= 0 ;
37151 PyObject
* obj6
= 0 ;
37152 PyObject
* obj7
= 0 ;
37153 PyObject
* obj8
= 0 ;
37154 PyObject
* obj9
= 0 ;
37155 char * kwnames
[] = {
37156 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37161 if (!SWIG_IsOK(res1
)) {
37162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37164 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37166 if (!SWIG_IsOK(res2
)) {
37167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37172 if (!SWIG_IsOK(ecode3
)) {
37173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37175 arg3
= static_cast< int >(val3
);
37179 arg4
= wxString_in_helper(obj3
);
37180 if (arg4
== NULL
) SWIG_fail
;
37187 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37193 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37197 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37198 if (!SWIG_IsOK(ecode7
)) {
37199 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37201 arg7
= static_cast< long >(val7
);
37205 arg8
= wxString_in_helper(obj7
);
37206 if (arg8
== NULL
) SWIG_fail
;
37211 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37212 if (!SWIG_IsOK(ecode9
)) {
37213 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37215 arg9
= static_cast< int >(val9
);
37219 arg10
= wxString_in_helper(obj9
);
37220 if (arg10
== NULL
) SWIG_fail
;
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37263 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
= 0;
37265 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37266 wxString
*arg2
= 0 ;
37270 bool temp2
= false ;
37271 PyObject
* obj0
= 0 ;
37272 PyObject
* obj1
= 0 ;
37273 char * kwnames
[] = {
37274 (char *) "self",(char *) "path", NULL
37277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37279 if (!SWIG_IsOK(res1
)) {
37280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37282 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37284 arg2
= wxString_in_helper(obj1
);
37285 if (arg2
== NULL
) SWIG_fail
;
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37291 wxPyEndAllowThreads(__tstate
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37311 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37312 PyObject
*resultobj
= 0;
37313 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37314 wxString
*arg2
= 0 ;
37318 bool temp2
= false ;
37319 PyObject
* obj0
= 0 ;
37320 PyObject
* obj1
= 0 ;
37321 char * kwnames
[] = {
37322 (char *) "self",(char *) "path", NULL
37325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37327 if (!SWIG_IsOK(res1
)) {
37328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37330 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37332 arg2
= wxString_in_helper(obj1
);
37333 if (arg2
== NULL
) SWIG_fail
;
37337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37338 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37339 wxPyEndAllowThreads(__tstate
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37359 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37360 PyObject
*resultobj
= 0;
37361 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37365 PyObject
*swig_obj
[1] ;
37367 if (!args
) SWIG_fail
;
37368 swig_obj
[0] = args
;
37369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37370 if (!SWIG_IsOK(res1
)) {
37371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37373 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37376 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37377 wxPyEndAllowThreads(__tstate
);
37378 if (PyErr_Occurred()) SWIG_fail
;
37382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37393 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37394 PyObject
*resultobj
= 0;
37395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37396 wxString
*arg2
= 0 ;
37399 bool temp2
= false ;
37400 PyObject
* obj0
= 0 ;
37401 PyObject
* obj1
= 0 ;
37402 char * kwnames
[] = {
37403 (char *) "self",(char *) "path", NULL
37406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37408 if (!SWIG_IsOK(res1
)) {
37409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37411 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37413 arg2
= wxString_in_helper(obj1
);
37414 if (arg2
== NULL
) SWIG_fail
;
37418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37419 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37423 resultobj
= SWIG_Py_Void();
37438 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37439 PyObject
*resultobj
= 0;
37440 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37444 PyObject
*swig_obj
[1] ;
37446 if (!args
) SWIG_fail
;
37447 swig_obj
[0] = args
;
37448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37449 if (!SWIG_IsOK(res1
)) {
37450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37452 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37455 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37472 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37473 PyObject
*resultobj
= 0;
37474 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37478 PyObject
*swig_obj
[1] ;
37480 if (!args
) SWIG_fail
;
37481 swig_obj
[0] = args
;
37482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37483 if (!SWIG_IsOK(res1
)) {
37484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37486 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37489 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37490 wxPyEndAllowThreads(__tstate
);
37491 if (PyErr_Occurred()) SWIG_fail
;
37495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37506 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37507 PyObject
*resultobj
= 0;
37508 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37509 wxString
*arg2
= 0 ;
37512 bool temp2
= false ;
37513 PyObject
* obj0
= 0 ;
37514 PyObject
* obj1
= 0 ;
37515 char * kwnames
[] = {
37516 (char *) "self",(char *) "path", NULL
37519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37521 if (!SWIG_IsOK(res1
)) {
37522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37524 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37526 arg2
= wxString_in_helper(obj1
);
37527 if (arg2
== NULL
) SWIG_fail
;
37531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37532 (arg1
)->SetPath((wxString
const &)*arg2
);
37533 wxPyEndAllowThreads(__tstate
);
37534 if (PyErr_Occurred()) SWIG_fail
;
37536 resultobj
= SWIG_Py_Void();
37551 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37552 PyObject
*resultobj
= 0;
37553 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37559 PyObject
* obj0
= 0 ;
37560 PyObject
* obj1
= 0 ;
37561 char * kwnames
[] = {
37562 (char *) "self",(char *) "show", NULL
37565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37567 if (!SWIG_IsOK(res1
)) {
37568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37570 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37571 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37572 if (!SWIG_IsOK(ecode2
)) {
37573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37575 arg2
= static_cast< bool >(val2
);
37577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37578 (arg1
)->ShowHidden(arg2
);
37579 wxPyEndAllowThreads(__tstate
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37582 resultobj
= SWIG_Py_Void();
37589 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37590 PyObject
*resultobj
= 0;
37591 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37595 PyObject
*swig_obj
[1] ;
37597 if (!args
) SWIG_fail
;
37598 swig_obj
[0] = args
;
37599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37600 if (!SWIG_IsOK(res1
)) {
37601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37603 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37606 result
= (bool)(arg1
)->GetShowHidden();
37607 wxPyEndAllowThreads(__tstate
);
37608 if (PyErr_Occurred()) SWIG_fail
;
37611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37619 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37620 PyObject
*resultobj
= 0;
37621 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37625 PyObject
*swig_obj
[1] ;
37627 if (!args
) SWIG_fail
;
37628 swig_obj
[0] = args
;
37629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37630 if (!SWIG_IsOK(res1
)) {
37631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37633 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37636 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37637 wxPyEndAllowThreads(__tstate
);
37638 if (PyErr_Occurred()) SWIG_fail
;
37642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37653 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37654 PyObject
*resultobj
= 0;
37655 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37656 wxString
*arg2
= 0 ;
37659 bool temp2
= false ;
37660 PyObject
* obj0
= 0 ;
37661 PyObject
* obj1
= 0 ;
37662 char * kwnames
[] = {
37663 (char *) "self",(char *) "filter", NULL
37666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37668 if (!SWIG_IsOK(res1
)) {
37669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37671 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37673 arg2
= wxString_in_helper(obj1
);
37674 if (arg2
== NULL
) SWIG_fail
;
37678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37679 (arg1
)->SetFilter((wxString
const &)*arg2
);
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= SWIG_Py_Void();
37698 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37699 PyObject
*resultobj
= 0;
37700 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37704 PyObject
*swig_obj
[1] ;
37706 if (!args
) SWIG_fail
;
37707 swig_obj
[0] = args
;
37708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37709 if (!SWIG_IsOK(res1
)) {
37710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37712 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37715 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= SWIG_From_int(static_cast< int >(result
));
37726 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37727 PyObject
*resultobj
= 0;
37728 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37734 PyObject
* obj0
= 0 ;
37735 PyObject
* obj1
= 0 ;
37736 char * kwnames
[] = {
37737 (char *) "self",(char *) "n", NULL
37740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37742 if (!SWIG_IsOK(res1
)) {
37743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37745 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37747 if (!SWIG_IsOK(ecode2
)) {
37748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37750 arg2
= static_cast< int >(val2
);
37752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37753 (arg1
)->SetFilterIndex(arg2
);
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37757 resultobj
= SWIG_Py_Void();
37764 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37765 PyObject
*resultobj
= 0;
37766 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37767 wxTreeItemId result
;
37770 PyObject
*swig_obj
[1] ;
37772 if (!args
) SWIG_fail
;
37773 swig_obj
[0] = args
;
37774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37775 if (!SWIG_IsOK(res1
)) {
37776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37778 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37781 result
= (arg1
)->GetRootId();
37782 wxPyEndAllowThreads(__tstate
);
37783 if (PyErr_Occurred()) SWIG_fail
;
37785 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37792 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37793 PyObject
*resultobj
= 0;
37794 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37795 wxPyTreeCtrl
*result
= 0 ;
37798 PyObject
*swig_obj
[1] ;
37800 if (!args
) SWIG_fail
;
37801 swig_obj
[0] = args
;
37802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37803 if (!SWIG_IsOK(res1
)) {
37804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37806 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37809 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37810 wxPyEndAllowThreads(__tstate
);
37811 if (PyErr_Occurred()) SWIG_fail
;
37814 resultobj
= wxPyMake_wxObject(result
, 0);
37822 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37823 PyObject
*resultobj
= 0;
37824 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37825 wxDirFilterListCtrl
*result
= 0 ;
37828 PyObject
*swig_obj
[1] ;
37830 if (!args
) SWIG_fail
;
37831 swig_obj
[0] = args
;
37832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37833 if (!SWIG_IsOK(res1
)) {
37834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37836 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37840 wxPyEndAllowThreads(__tstate
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37850 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37851 PyObject
*resultobj
= 0;
37852 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37853 wxTreeItemId arg2
;
37854 wxString
*arg3
= 0 ;
37856 wxTreeItemId result
;
37861 bool temp3
= false ;
37863 int res4
= SWIG_TMPOBJ
;
37864 PyObject
* obj0
= 0 ;
37865 PyObject
* obj1
= 0 ;
37866 PyObject
* obj2
= 0 ;
37867 char * kwnames
[] = {
37868 (char *) "self",(char *) "parentId",(char *) "path", NULL
37872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37874 if (!SWIG_IsOK(res1
)) {
37875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37877 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37880 if (!SWIG_IsOK(res2
)) {
37881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37886 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37888 if (SWIG_IsNewObj(res2
)) delete temp
;
37892 arg3
= wxString_in_helper(obj2
);
37893 if (arg3
== NULL
) SWIG_fail
;
37897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37898 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37899 wxPyEndAllowThreads(__tstate
);
37900 if (PyErr_Occurred()) SWIG_fail
;
37902 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37903 if (SWIG_IsTmpObj(res4
)) {
37904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37906 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37923 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37924 PyObject
*resultobj
= 0;
37925 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37928 PyObject
*swig_obj
[1] ;
37930 if (!args
) SWIG_fail
;
37931 swig_obj
[0] = args
;
37932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37933 if (!SWIG_IsOK(res1
)) {
37934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37936 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37939 (arg1
)->DoResize();
37940 wxPyEndAllowThreads(__tstate
);
37941 if (PyErr_Occurred()) SWIG_fail
;
37943 resultobj
= SWIG_Py_Void();
37950 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37951 PyObject
*resultobj
= 0;
37952 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37955 PyObject
*swig_obj
[1] ;
37957 if (!args
) SWIG_fail
;
37958 swig_obj
[0] = args
;
37959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37960 if (!SWIG_IsOK(res1
)) {
37961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37963 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 (arg1
)->ReCreateTree();
37967 wxPyEndAllowThreads(__tstate
);
37968 if (PyErr_Occurred()) SWIG_fail
;
37970 resultobj
= SWIG_Py_Void();
37977 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37980 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37981 return SWIG_Py_Void();
37984 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37985 return SWIG_Python_InitShadowInstance(args
);
37988 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37989 PyObject
*resultobj
= 0;
37990 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37991 int arg2
= (int) (int)-1 ;
37992 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37993 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37994 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37995 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37996 long arg5
= (long) 0 ;
37997 wxDirFilterListCtrl
*result
= 0 ;
38006 PyObject
* obj0
= 0 ;
38007 PyObject
* obj1
= 0 ;
38008 PyObject
* obj2
= 0 ;
38009 PyObject
* obj3
= 0 ;
38010 PyObject
* obj4
= 0 ;
38011 char * kwnames
[] = {
38012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38017 if (!SWIG_IsOK(res1
)) {
38018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38020 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38023 if (!SWIG_IsOK(ecode2
)) {
38024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38026 arg2
= static_cast< int >(val2
);
38031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38041 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38042 if (!SWIG_IsOK(ecode5
)) {
38043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38045 arg5
= static_cast< long >(val5
);
38048 if (!wxPyCheckForApp()) SWIG_fail
;
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38051 wxPyEndAllowThreads(__tstate
);
38052 if (PyErr_Occurred()) SWIG_fail
;
38054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38061 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38062 PyObject
*resultobj
= 0;
38063 wxDirFilterListCtrl
*result
= 0 ;
38065 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38067 if (!wxPyCheckForApp()) SWIG_fail
;
38068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38069 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38070 wxPyEndAllowThreads(__tstate
);
38071 if (PyErr_Occurred()) SWIG_fail
;
38073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38080 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38081 PyObject
*resultobj
= 0;
38082 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38083 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38084 int arg3
= (int) (int)-1 ;
38085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38089 long arg6
= (long) 0 ;
38101 PyObject
* obj0
= 0 ;
38102 PyObject
* obj1
= 0 ;
38103 PyObject
* obj2
= 0 ;
38104 PyObject
* obj3
= 0 ;
38105 PyObject
* obj4
= 0 ;
38106 PyObject
* obj5
= 0 ;
38107 char * kwnames
[] = {
38108 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38113 if (!SWIG_IsOK(res1
)) {
38114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38116 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38118 if (!SWIG_IsOK(res2
)) {
38119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38121 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38124 if (!SWIG_IsOK(ecode3
)) {
38125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38127 arg3
= static_cast< int >(val3
);
38132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38142 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38143 if (!SWIG_IsOK(ecode6
)) {
38144 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38146 arg6
= static_cast< long >(val6
);
38149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38150 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38151 wxPyEndAllowThreads(__tstate
);
38152 if (PyErr_Occurred()) SWIG_fail
;
38155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38163 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38164 PyObject
*resultobj
= 0;
38165 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38166 wxString
*arg2
= 0 ;
38170 bool temp2
= false ;
38173 PyObject
* obj0
= 0 ;
38174 PyObject
* obj1
= 0 ;
38175 PyObject
* obj2
= 0 ;
38176 char * kwnames
[] = {
38177 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38182 if (!SWIG_IsOK(res1
)) {
38183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38185 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38187 arg2
= wxString_in_helper(obj1
);
38188 if (arg2
== NULL
) SWIG_fail
;
38191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38192 if (!SWIG_IsOK(ecode3
)) {
38193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38195 arg3
= static_cast< int >(val3
);
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38199 wxPyEndAllowThreads(__tstate
);
38200 if (PyErr_Occurred()) SWIG_fail
;
38202 resultobj
= SWIG_Py_Void();
38217 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38220 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38221 return SWIG_Py_Void();
38224 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38225 return SWIG_Python_InitShadowInstance(args
);
38228 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38229 PyObject
*resultobj
= 0;
38230 wxWindow
*arg1
= (wxWindow
*) 0 ;
38231 int arg2
= (int) (int)-1 ;
38232 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38233 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38234 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38235 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38236 long arg5
= (long) 0 ;
38237 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38238 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38239 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38240 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38241 wxPyControl
*result
= 0 ;
38252 bool temp7
= false ;
38253 PyObject
* obj0
= 0 ;
38254 PyObject
* obj1
= 0 ;
38255 PyObject
* obj2
= 0 ;
38256 PyObject
* obj3
= 0 ;
38257 PyObject
* obj4
= 0 ;
38258 PyObject
* obj5
= 0 ;
38259 PyObject
* obj6
= 0 ;
38260 char * kwnames
[] = {
38261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38266 if (!SWIG_IsOK(res1
)) {
38267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38269 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38272 if (!SWIG_IsOK(ecode2
)) {
38273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38275 arg2
= static_cast< int >(val2
);
38280 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38286 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38290 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38291 if (!SWIG_IsOK(ecode5
)) {
38292 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38294 arg5
= static_cast< long >(val5
);
38297 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38298 if (!SWIG_IsOK(res6
)) {
38299 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38304 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38308 arg7
= wxString_in_helper(obj6
);
38309 if (arg7
== NULL
) SWIG_fail
;
38314 if (!wxPyCheckForApp()) SWIG_fail
;
38315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38316 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38317 wxPyEndAllowThreads(__tstate
);
38318 if (PyErr_Occurred()) SWIG_fail
;
38320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38335 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38336 PyObject
*resultobj
= 0;
38337 wxPyControl
*result
= 0 ;
38339 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38341 if (!wxPyCheckForApp()) SWIG_fail
;
38342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38343 result
= (wxPyControl
*)new wxPyControl();
38344 wxPyEndAllowThreads(__tstate
);
38345 if (PyErr_Occurred()) SWIG_fail
;
38347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38354 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
= 0;
38356 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38357 PyObject
*arg2
= (PyObject
*) 0 ;
38358 PyObject
*arg3
= (PyObject
*) 0 ;
38361 PyObject
* obj0
= 0 ;
38362 PyObject
* obj1
= 0 ;
38363 PyObject
* obj2
= 0 ;
38364 char * kwnames
[] = {
38365 (char *) "self",(char *) "self",(char *) "_class", NULL
38368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38370 if (!SWIG_IsOK(res1
)) {
38371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38373 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38379 wxPyEndAllowThreads(__tstate
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38382 resultobj
= SWIG_Py_Void();
38389 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38390 PyObject
*resultobj
= 0;
38391 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38396 PyObject
* obj0
= 0 ;
38397 PyObject
* obj1
= 0 ;
38398 char * kwnames
[] = {
38399 (char *) "self",(char *) "size", NULL
38402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38404 if (!SWIG_IsOK(res1
)) {
38405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38407 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38410 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38414 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38418 resultobj
= SWIG_Py_Void();
38425 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38426 PyObject
*resultobj
= 0;
38427 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38428 wxDC
*arg2
= (wxDC
*) 0 ;
38434 PyObject
* obj0
= 0 ;
38435 PyObject
* obj1
= 0 ;
38436 char * kwnames
[] = {
38437 (char *) "self",(char *) "dc", NULL
38440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38442 if (!SWIG_IsOK(res1
)) {
38443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38445 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38447 if (!SWIG_IsOK(res2
)) {
38448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38450 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38454 wxPyEndAllowThreads(__tstate
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38466 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38467 PyObject
*resultobj
= 0;
38468 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38483 PyObject
* obj0
= 0 ;
38484 PyObject
* obj1
= 0 ;
38485 PyObject
* obj2
= 0 ;
38486 PyObject
* obj3
= 0 ;
38487 PyObject
* obj4
= 0 ;
38488 char * kwnames
[] = {
38489 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38494 if (!SWIG_IsOK(res1
)) {
38495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38497 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38499 if (!SWIG_IsOK(ecode2
)) {
38500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38502 arg2
= static_cast< int >(val2
);
38503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38504 if (!SWIG_IsOK(ecode3
)) {
38505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38507 arg3
= static_cast< int >(val3
);
38508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38509 if (!SWIG_IsOK(ecode4
)) {
38510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38512 arg4
= static_cast< int >(val4
);
38513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38514 if (!SWIG_IsOK(ecode5
)) {
38515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38517 arg5
= static_cast< int >(val5
);
38519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38520 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38521 wxPyEndAllowThreads(__tstate
);
38522 if (PyErr_Occurred()) SWIG_fail
;
38524 resultobj
= SWIG_Py_Void();
38531 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38532 PyObject
*resultobj
= 0;
38533 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38538 int arg6
= (int) wxSIZE_AUTO
;
38551 PyObject
* obj0
= 0 ;
38552 PyObject
* obj1
= 0 ;
38553 PyObject
* obj2
= 0 ;
38554 PyObject
* obj3
= 0 ;
38555 PyObject
* obj4
= 0 ;
38556 PyObject
* obj5
= 0 ;
38557 char * kwnames
[] = {
38558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38563 if (!SWIG_IsOK(res1
)) {
38564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38566 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38568 if (!SWIG_IsOK(ecode2
)) {
38569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38571 arg2
= static_cast< int >(val2
);
38572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38573 if (!SWIG_IsOK(ecode3
)) {
38574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38576 arg3
= static_cast< int >(val3
);
38577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38578 if (!SWIG_IsOK(ecode4
)) {
38579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38581 arg4
= static_cast< int >(val4
);
38582 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38583 if (!SWIG_IsOK(ecode5
)) {
38584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38586 arg5
= static_cast< int >(val5
);
38588 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38589 if (!SWIG_IsOK(ecode6
)) {
38590 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38592 arg6
= static_cast< int >(val6
);
38595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38596 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38597 wxPyEndAllowThreads(__tstate
);
38598 if (PyErr_Occurred()) SWIG_fail
;
38600 resultobj
= SWIG_Py_Void();
38607 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38608 PyObject
*resultobj
= 0;
38609 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38618 PyObject
* obj0
= 0 ;
38619 PyObject
* obj1
= 0 ;
38620 PyObject
* obj2
= 0 ;
38621 char * kwnames
[] = {
38622 (char *) "self",(char *) "width",(char *) "height", NULL
38625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38627 if (!SWIG_IsOK(res1
)) {
38628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38630 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38632 if (!SWIG_IsOK(ecode2
)) {
38633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38635 arg2
= static_cast< int >(val2
);
38636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38637 if (!SWIG_IsOK(ecode3
)) {
38638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38640 arg3
= static_cast< int >(val3
);
38642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38643 (arg1
)->DoSetClientSize(arg2
,arg3
);
38644 wxPyEndAllowThreads(__tstate
);
38645 if (PyErr_Occurred()) SWIG_fail
;
38647 resultobj
= SWIG_Py_Void();
38654 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38655 PyObject
*resultobj
= 0;
38656 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38665 PyObject
* obj0
= 0 ;
38666 PyObject
* obj1
= 0 ;
38667 PyObject
* obj2
= 0 ;
38668 char * kwnames
[] = {
38669 (char *) "self",(char *) "x",(char *) "y", NULL
38672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38674 if (!SWIG_IsOK(res1
)) {
38675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38677 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38679 if (!SWIG_IsOK(ecode2
)) {
38680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38682 arg2
= static_cast< int >(val2
);
38683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38684 if (!SWIG_IsOK(ecode3
)) {
38685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38687 arg3
= static_cast< int >(val3
);
38689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38690 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38691 wxPyEndAllowThreads(__tstate
);
38692 if (PyErr_Occurred()) SWIG_fail
;
38694 resultobj
= SWIG_Py_Void();
38701 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38702 PyObject
*resultobj
= 0;
38703 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38704 int *arg2
= (int *) 0 ;
38705 int *arg3
= (int *) 0 ;
38709 int res2
= SWIG_TMPOBJ
;
38711 int res3
= SWIG_TMPOBJ
;
38712 PyObject
*swig_obj
[1] ;
38716 if (!args
) SWIG_fail
;
38717 swig_obj
[0] = args
;
38718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38719 if (!SWIG_IsOK(res1
)) {
38720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38722 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38725 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38726 wxPyEndAllowThreads(__tstate
);
38727 if (PyErr_Occurred()) SWIG_fail
;
38729 resultobj
= SWIG_Py_Void();
38730 if (SWIG_IsTmpObj(res2
)) {
38731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38733 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38736 if (SWIG_IsTmpObj(res3
)) {
38737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38739 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38748 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38749 PyObject
*resultobj
= 0;
38750 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38751 int *arg2
= (int *) 0 ;
38752 int *arg3
= (int *) 0 ;
38756 int res2
= SWIG_TMPOBJ
;
38758 int res3
= SWIG_TMPOBJ
;
38759 PyObject
*swig_obj
[1] ;
38763 if (!args
) SWIG_fail
;
38764 swig_obj
[0] = args
;
38765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38766 if (!SWIG_IsOK(res1
)) {
38767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38769 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38773 wxPyEndAllowThreads(__tstate
);
38774 if (PyErr_Occurred()) SWIG_fail
;
38776 resultobj
= SWIG_Py_Void();
38777 if (SWIG_IsTmpObj(res2
)) {
38778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38780 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38783 if (SWIG_IsTmpObj(res3
)) {
38784 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38786 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38787 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38795 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38796 PyObject
*resultobj
= 0;
38797 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38798 int *arg2
= (int *) 0 ;
38799 int *arg3
= (int *) 0 ;
38803 int res2
= SWIG_TMPOBJ
;
38805 int res3
= SWIG_TMPOBJ
;
38806 PyObject
*swig_obj
[1] ;
38810 if (!args
) SWIG_fail
;
38811 swig_obj
[0] = args
;
38812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38813 if (!SWIG_IsOK(res1
)) {
38814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38816 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38819 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38820 wxPyEndAllowThreads(__tstate
);
38821 if (PyErr_Occurred()) SWIG_fail
;
38823 resultobj
= SWIG_Py_Void();
38824 if (SWIG_IsTmpObj(res2
)) {
38825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38827 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38830 if (SWIG_IsTmpObj(res3
)) {
38831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38833 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38842 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38843 PyObject
*resultobj
= 0;
38844 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38848 PyObject
*swig_obj
[1] ;
38850 if (!args
) SWIG_fail
;
38851 swig_obj
[0] = args
;
38852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38853 if (!SWIG_IsOK(res1
)) {
38854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38856 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38859 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38860 wxPyEndAllowThreads(__tstate
);
38861 if (PyErr_Occurred()) SWIG_fail
;
38863 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38870 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38871 PyObject
*resultobj
= 0;
38872 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38876 PyObject
*swig_obj
[1] ;
38878 if (!args
) SWIG_fail
;
38879 swig_obj
[0] = args
;
38880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38881 if (!SWIG_IsOK(res1
)) {
38882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38884 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38887 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38888 wxPyEndAllowThreads(__tstate
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38891 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38898 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38899 PyObject
*resultobj
= 0;
38900 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38901 SwigValueWrapper
<wxVisualAttributes
> result
;
38904 PyObject
*swig_obj
[1] ;
38906 if (!args
) SWIG_fail
;
38907 swig_obj
[0] = args
;
38908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38909 if (!SWIG_IsOK(res1
)) {
38910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38912 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38915 result
= (arg1
)->GetDefaultAttributes();
38916 wxPyEndAllowThreads(__tstate
);
38917 if (PyErr_Occurred()) SWIG_fail
;
38919 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38926 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38927 PyObject
*resultobj
= 0;
38928 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38931 PyObject
*swig_obj
[1] ;
38933 if (!args
) SWIG_fail
;
38934 swig_obj
[0] = args
;
38935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38936 if (!SWIG_IsOK(res1
)) {
38937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38939 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38942 (arg1
)->OnInternalIdle();
38943 wxPyEndAllowThreads(__tstate
);
38944 if (PyErr_Occurred()) SWIG_fail
;
38946 resultobj
= SWIG_Py_Void();
38953 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38957 return SWIG_Py_Void();
38960 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38961 return SWIG_Python_InitShadowInstance(args
);
38964 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38965 PyObject
*resultobj
= 0;
38966 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38967 int arg2
= (int) 0 ;
38968 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38969 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38970 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
38971 wxHelpEvent
*result
= 0 ;
38979 PyObject
* obj0
= 0 ;
38980 PyObject
* obj1
= 0 ;
38981 PyObject
* obj2
= 0 ;
38982 PyObject
* obj3
= 0 ;
38983 char * kwnames
[] = {
38984 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
38987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38990 if (!SWIG_IsOK(ecode1
)) {
38991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38993 arg1
= static_cast< wxEventType
>(val1
);
38996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38997 if (!SWIG_IsOK(ecode2
)) {
38998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39000 arg2
= static_cast< int >(val2
);
39005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39009 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39010 if (!SWIG_IsOK(ecode4
)) {
39011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39013 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39017 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39018 wxPyEndAllowThreads(__tstate
);
39019 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39028 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39029 PyObject
*resultobj
= 0;
39030 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39034 PyObject
*swig_obj
[1] ;
39036 if (!args
) SWIG_fail
;
39037 swig_obj
[0] = args
;
39038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39039 if (!SWIG_IsOK(res1
)) {
39040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39042 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39045 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39046 wxPyEndAllowThreads(__tstate
);
39047 if (PyErr_Occurred()) SWIG_fail
;
39049 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39056 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39057 PyObject
*resultobj
= 0;
39058 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39059 wxPoint
*arg2
= 0 ;
39063 PyObject
* obj0
= 0 ;
39064 PyObject
* obj1
= 0 ;
39065 char * kwnames
[] = {
39066 (char *) "self",(char *) "pos", NULL
39069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39071 if (!SWIG_IsOK(res1
)) {
39072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39074 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39081 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39082 wxPyEndAllowThreads(__tstate
);
39083 if (PyErr_Occurred()) SWIG_fail
;
39085 resultobj
= SWIG_Py_Void();
39092 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39093 PyObject
*resultobj
= 0;
39094 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39095 wxString
*result
= 0 ;
39098 PyObject
*swig_obj
[1] ;
39100 if (!args
) SWIG_fail
;
39101 swig_obj
[0] = args
;
39102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39103 if (!SWIG_IsOK(res1
)) {
39104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39106 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39110 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39111 result
= (wxString
*) &_result_ref
;
39113 wxPyEndAllowThreads(__tstate
);
39114 if (PyErr_Occurred()) SWIG_fail
;
39118 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39120 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39129 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39130 PyObject
*resultobj
= 0;
39131 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39132 wxString
*arg2
= 0 ;
39135 bool temp2
= false ;
39136 PyObject
* obj0
= 0 ;
39137 PyObject
* obj1
= 0 ;
39138 char * kwnames
[] = {
39139 (char *) "self",(char *) "link", NULL
39142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39144 if (!SWIG_IsOK(res1
)) {
39145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39147 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39149 arg2
= wxString_in_helper(obj1
);
39150 if (arg2
== NULL
) SWIG_fail
;
39154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39155 (arg1
)->SetLink((wxString
const &)*arg2
);
39156 wxPyEndAllowThreads(__tstate
);
39157 if (PyErr_Occurred()) SWIG_fail
;
39159 resultobj
= SWIG_Py_Void();
39174 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39175 PyObject
*resultobj
= 0;
39176 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39177 wxString
*result
= 0 ;
39180 PyObject
*swig_obj
[1] ;
39182 if (!args
) SWIG_fail
;
39183 swig_obj
[0] = args
;
39184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39185 if (!SWIG_IsOK(res1
)) {
39186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39188 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39192 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39193 result
= (wxString
*) &_result_ref
;
39195 wxPyEndAllowThreads(__tstate
);
39196 if (PyErr_Occurred()) SWIG_fail
;
39200 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39202 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39211 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39212 PyObject
*resultobj
= 0;
39213 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39214 wxString
*arg2
= 0 ;
39217 bool temp2
= false ;
39218 PyObject
* obj0
= 0 ;
39219 PyObject
* obj1
= 0 ;
39220 char * kwnames
[] = {
39221 (char *) "self",(char *) "target", NULL
39224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39226 if (!SWIG_IsOK(res1
)) {
39227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39229 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39231 arg2
= wxString_in_helper(obj1
);
39232 if (arg2
== NULL
) SWIG_fail
;
39236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39237 (arg1
)->SetTarget((wxString
const &)*arg2
);
39238 wxPyEndAllowThreads(__tstate
);
39239 if (PyErr_Occurred()) SWIG_fail
;
39241 resultobj
= SWIG_Py_Void();
39256 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39257 PyObject
*resultobj
= 0;
39258 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39259 wxHelpEvent::Origin result
;
39262 PyObject
*swig_obj
[1] ;
39264 if (!args
) SWIG_fail
;
39265 swig_obj
[0] = args
;
39266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39267 if (!SWIG_IsOK(res1
)) {
39268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39270 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39273 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39274 wxPyEndAllowThreads(__tstate
);
39275 if (PyErr_Occurred()) SWIG_fail
;
39277 resultobj
= SWIG_From_int(static_cast< int >(result
));
39284 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39285 PyObject
*resultobj
= 0;
39286 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39287 wxHelpEvent::Origin arg2
;
39292 PyObject
* obj0
= 0 ;
39293 PyObject
* obj1
= 0 ;
39294 char * kwnames
[] = {
39295 (char *) "self",(char *) "origin", NULL
39298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39300 if (!SWIG_IsOK(res1
)) {
39301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39303 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39305 if (!SWIG_IsOK(ecode2
)) {
39306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39308 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39311 (arg1
)->SetOrigin(arg2
);
39312 wxPyEndAllowThreads(__tstate
);
39313 if (PyErr_Occurred()) SWIG_fail
;
39315 resultobj
= SWIG_Py_Void();
39322 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39325 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39326 return SWIG_Py_Void();
39329 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39330 return SWIG_Python_InitShadowInstance(args
);
39333 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39334 PyObject
*resultobj
= 0;
39335 wxWindow
*arg1
= (wxWindow
*) NULL
;
39336 bool arg2
= (bool) true ;
39337 wxContextHelp
*result
= 0 ;
39342 PyObject
* obj0
= 0 ;
39343 PyObject
* obj1
= 0 ;
39344 char * kwnames
[] = {
39345 (char *) "window",(char *) "doNow", NULL
39348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39351 if (!SWIG_IsOK(res1
)) {
39352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39357 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39358 if (!SWIG_IsOK(ecode2
)) {
39359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39361 arg2
= static_cast< bool >(val2
);
39364 if (!wxPyCheckForApp()) SWIG_fail
;
39365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39366 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39367 wxPyEndAllowThreads(__tstate
);
39368 if (PyErr_Occurred()) SWIG_fail
;
39370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39377 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39378 PyObject
*resultobj
= 0;
39379 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39382 PyObject
*swig_obj
[1] ;
39384 if (!args
) SWIG_fail
;
39385 swig_obj
[0] = args
;
39386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39387 if (!SWIG_IsOK(res1
)) {
39388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39390 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= SWIG_Py_Void();
39405 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
= 0;
39407 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39408 wxWindow
*arg2
= (wxWindow
*) NULL
;
39414 PyObject
* obj0
= 0 ;
39415 PyObject
* obj1
= 0 ;
39416 char * kwnames
[] = {
39417 (char *) "self",(char *) "window", NULL
39420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39422 if (!SWIG_IsOK(res1
)) {
39423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39425 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39428 if (!SWIG_IsOK(res2
)) {
39429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39431 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39435 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39436 wxPyEndAllowThreads(__tstate
);
39437 if (PyErr_Occurred()) SWIG_fail
;
39440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39448 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39449 PyObject
*resultobj
= 0;
39450 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39454 PyObject
*swig_obj
[1] ;
39456 if (!args
) SWIG_fail
;
39457 swig_obj
[0] = args
;
39458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39459 if (!SWIG_IsOK(res1
)) {
39460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39462 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39465 result
= (bool)(arg1
)->EndContextHelp();
39466 wxPyEndAllowThreads(__tstate
);
39467 if (PyErr_Occurred()) SWIG_fail
;
39470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39478 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39481 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39482 return SWIG_Py_Void();
39485 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39486 return SWIG_Python_InitShadowInstance(args
);
39489 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39490 PyObject
*resultobj
= 0;
39491 wxWindow
*arg1
= (wxWindow
*) 0 ;
39492 int arg2
= (int) wxID_CONTEXT_HELP
;
39493 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39494 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39495 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39496 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39497 long arg5
= (long) wxBU_AUTODRAW
;
39498 wxContextHelpButton
*result
= 0 ;
39507 PyObject
* obj0
= 0 ;
39508 PyObject
* obj1
= 0 ;
39509 PyObject
* obj2
= 0 ;
39510 PyObject
* obj3
= 0 ;
39511 PyObject
* obj4
= 0 ;
39512 char * kwnames
[] = {
39513 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39518 if (!SWIG_IsOK(res1
)) {
39519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39524 if (!SWIG_IsOK(ecode2
)) {
39525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39527 arg2
= static_cast< int >(val2
);
39532 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39538 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39542 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39543 if (!SWIG_IsOK(ecode5
)) {
39544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39546 arg5
= static_cast< long >(val5
);
39549 if (!wxPyCheckForApp()) SWIG_fail
;
39550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39552 wxPyEndAllowThreads(__tstate
);
39553 if (PyErr_Occurred()) SWIG_fail
;
39555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39562 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39565 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39566 return SWIG_Py_Void();
39569 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39570 return SWIG_Python_InitShadowInstance(args
);
39573 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39574 PyObject
*resultobj
= 0;
39575 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39578 PyObject
*swig_obj
[1] ;
39580 if (!args
) SWIG_fail
;
39581 swig_obj
[0] = args
;
39582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39583 if (!SWIG_IsOK(res1
)) {
39584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39586 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39591 wxPyEndAllowThreads(__tstate
);
39592 if (PyErr_Occurred()) SWIG_fail
;
39594 resultobj
= SWIG_Py_Void();
39601 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39602 PyObject
*resultobj
= 0;
39603 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39604 wxHelpProvider
*result
= 0 ;
39606 PyObject
* obj0
= 0 ;
39607 char * kwnames
[] = {
39608 (char *) "helpProvider", NULL
39611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39612 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39613 if (!SWIG_IsOK(res1
)) {
39614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39618 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39619 wxPyEndAllowThreads(__tstate
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39629 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39630 PyObject
*resultobj
= 0;
39631 wxHelpProvider
*result
= 0 ;
39633 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39636 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39637 wxPyEndAllowThreads(__tstate
);
39638 if (PyErr_Occurred()) SWIG_fail
;
39640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39647 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39648 PyObject
*resultobj
= 0;
39649 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39650 wxWindow
*arg2
= (wxWindow
*) 0 ;
39656 PyObject
* obj0
= 0 ;
39657 PyObject
* obj1
= 0 ;
39658 char * kwnames
[] = {
39659 (char *) "self",(char *) "window", NULL
39662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39664 if (!SWIG_IsOK(res1
)) {
39665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39667 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39669 if (!SWIG_IsOK(res2
)) {
39670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39675 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39676 wxPyEndAllowThreads(__tstate
);
39677 if (PyErr_Occurred()) SWIG_fail
;
39681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39692 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39693 PyObject
*resultobj
= 0;
39694 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39695 wxWindow
*arg2
= (wxWindow
*) 0 ;
39701 PyObject
* obj0
= 0 ;
39702 PyObject
* obj1
= 0 ;
39703 char * kwnames
[] = {
39704 (char *) "self",(char *) "window", NULL
39707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39709 if (!SWIG_IsOK(res1
)) {
39710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39712 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39714 if (!SWIG_IsOK(res2
)) {
39715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39720 result
= (bool)(arg1
)->ShowHelp(arg2
);
39721 wxPyEndAllowThreads(__tstate
);
39722 if (PyErr_Occurred()) SWIG_fail
;
39725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39733 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39734 PyObject
*resultobj
= 0;
39735 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39736 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39737 wxPoint
*arg3
= 0 ;
39738 wxHelpEvent::Origin arg4
;
39747 PyObject
* obj0
= 0 ;
39748 PyObject
* obj1
= 0 ;
39749 PyObject
* obj2
= 0 ;
39750 PyObject
* obj3
= 0 ;
39751 char * kwnames
[] = {
39752 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39757 if (!SWIG_IsOK(res1
)) {
39758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39760 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39762 if (!SWIG_IsOK(res2
)) {
39763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39765 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39768 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39771 if (!SWIG_IsOK(ecode4
)) {
39772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39774 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39777 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39778 wxPyEndAllowThreads(__tstate
);
39779 if (PyErr_Occurred()) SWIG_fail
;
39782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39790 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39791 PyObject
*resultobj
= 0;
39792 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39793 wxWindow
*arg2
= (wxWindow
*) 0 ;
39794 wxString
*arg3
= 0 ;
39799 bool temp3
= false ;
39800 PyObject
* obj0
= 0 ;
39801 PyObject
* obj1
= 0 ;
39802 PyObject
* obj2
= 0 ;
39803 char * kwnames
[] = {
39804 (char *) "self",(char *) "window",(char *) "text", NULL
39807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39809 if (!SWIG_IsOK(res1
)) {
39810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39812 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39814 if (!SWIG_IsOK(res2
)) {
39815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39819 arg3
= wxString_in_helper(obj2
);
39820 if (arg3
== NULL
) SWIG_fail
;
39824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39825 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39826 wxPyEndAllowThreads(__tstate
);
39827 if (PyErr_Occurred()) SWIG_fail
;
39829 resultobj
= SWIG_Py_Void();
39844 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39845 PyObject
*resultobj
= 0;
39846 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39848 wxString
*arg3
= 0 ;
39853 bool temp3
= false ;
39854 PyObject
* obj0
= 0 ;
39855 PyObject
* obj1
= 0 ;
39856 PyObject
* obj2
= 0 ;
39857 char * kwnames
[] = {
39858 (char *) "self",(char *) "id",(char *) "text", NULL
39861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39863 if (!SWIG_IsOK(res1
)) {
39864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39866 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39868 if (!SWIG_IsOK(ecode2
)) {
39869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39871 arg2
= static_cast< int >(val2
);
39873 arg3
= wxString_in_helper(obj2
);
39874 if (arg3
== NULL
) SWIG_fail
;
39878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39879 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39880 wxPyEndAllowThreads(__tstate
);
39881 if (PyErr_Occurred()) SWIG_fail
;
39883 resultobj
= SWIG_Py_Void();
39898 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39899 PyObject
*resultobj
= 0;
39900 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39901 wxWindow
*arg2
= (wxWindow
*) 0 ;
39906 PyObject
* obj0
= 0 ;
39907 PyObject
* obj1
= 0 ;
39908 char * kwnames
[] = {
39909 (char *) "self",(char *) "window", NULL
39912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39914 if (!SWIG_IsOK(res1
)) {
39915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39917 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39919 if (!SWIG_IsOK(res2
)) {
39920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39922 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39925 (arg1
)->RemoveHelp(arg2
);
39926 wxPyEndAllowThreads(__tstate
);
39927 if (PyErr_Occurred()) SWIG_fail
;
39929 resultobj
= SWIG_Py_Void();
39936 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39937 PyObject
*resultobj
= 0;
39938 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39941 PyObject
*swig_obj
[1] ;
39943 if (!args
) SWIG_fail
;
39944 swig_obj
[0] = args
;
39945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39946 if (!SWIG_IsOK(res1
)) {
39947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39949 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39952 wxHelpProvider_Destroy(arg1
);
39953 wxPyEndAllowThreads(__tstate
);
39954 if (PyErr_Occurred()) SWIG_fail
;
39956 resultobj
= SWIG_Py_Void();
39963 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39966 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39967 return SWIG_Py_Void();
39970 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39971 PyObject
*resultobj
= 0;
39972 wxSimpleHelpProvider
*result
= 0 ;
39974 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39977 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39978 wxPyEndAllowThreads(__tstate
);
39979 if (PyErr_Occurred()) SWIG_fail
;
39981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39988 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39991 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39992 return SWIG_Py_Void();
39995 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39996 return SWIG_Python_InitShadowInstance(args
);
39999 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40000 PyObject
*resultobj
= 0;
40001 wxBitmap
*arg1
= 0 ;
40002 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40003 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40004 wxGenericDragImage
*result
= 0 ;
40009 PyObject
* obj0
= 0 ;
40010 PyObject
* obj1
= 0 ;
40011 char * kwnames
[] = {
40012 (char *) "image",(char *) "cursor", NULL
40015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40016 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40017 if (!SWIG_IsOK(res1
)) {
40018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40023 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40026 if (!SWIG_IsOK(res2
)) {
40027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40032 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40035 if (!wxPyCheckForApp()) SWIG_fail
;
40036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40037 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40038 wxPyEndAllowThreads(__tstate
);
40039 if (PyErr_Occurred()) SWIG_fail
;
40041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40048 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40049 PyObject
*resultobj
= 0;
40051 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40052 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40053 wxGenericDragImage
*result
= 0 ;
40058 PyObject
* obj0
= 0 ;
40059 PyObject
* obj1
= 0 ;
40060 char * kwnames
[] = {
40061 (char *) "image",(char *) "cursor", NULL
40064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40065 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40066 if (!SWIG_IsOK(res1
)) {
40067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40072 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40075 if (!SWIG_IsOK(res2
)) {
40076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40081 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40084 if (!wxPyCheckForApp()) SWIG_fail
;
40085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40086 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40087 wxPyEndAllowThreads(__tstate
);
40088 if (PyErr_Occurred()) SWIG_fail
;
40090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40097 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40098 PyObject
*resultobj
= 0;
40099 wxString
*arg1
= 0 ;
40100 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40101 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40102 wxGenericDragImage
*result
= 0 ;
40103 bool temp1
= false ;
40106 PyObject
* obj0
= 0 ;
40107 PyObject
* obj1
= 0 ;
40108 char * kwnames
[] = {
40109 (char *) "str",(char *) "cursor", NULL
40112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40114 arg1
= wxString_in_helper(obj0
);
40115 if (arg1
== NULL
) SWIG_fail
;
40119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40120 if (!SWIG_IsOK(res2
)) {
40121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40126 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40129 if (!wxPyCheckForApp()) SWIG_fail
;
40130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40131 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40132 wxPyEndAllowThreads(__tstate
);
40133 if (PyErr_Occurred()) SWIG_fail
;
40135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40150 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40151 PyObject
*resultobj
= 0;
40152 wxPyTreeCtrl
*arg1
= 0 ;
40153 wxTreeItemId
*arg2
= 0 ;
40154 wxGenericDragImage
*result
= 0 ;
40159 PyObject
* obj0
= 0 ;
40160 PyObject
* obj1
= 0 ;
40161 char * kwnames
[] = {
40162 (char *) "treeCtrl",(char *) "id", NULL
40165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40166 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40167 if (!SWIG_IsOK(res1
)) {
40168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40175 if (!SWIG_IsOK(res2
)) {
40176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40181 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40183 if (!wxPyCheckForApp()) SWIG_fail
;
40184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40185 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40186 wxPyEndAllowThreads(__tstate
);
40187 if (PyErr_Occurred()) SWIG_fail
;
40189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40196 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40197 PyObject
*resultobj
= 0;
40198 wxPyListCtrl
*arg1
= 0 ;
40200 wxGenericDragImage
*result
= 0 ;
40205 PyObject
* obj0
= 0 ;
40206 PyObject
* obj1
= 0 ;
40207 char * kwnames
[] = {
40208 (char *) "listCtrl",(char *) "id", NULL
40211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40212 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40213 if (!SWIG_IsOK(res1
)) {
40214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40219 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40220 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40221 if (!SWIG_IsOK(ecode2
)) {
40222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40224 arg2
= static_cast< long >(val2
);
40226 if (!wxPyCheckForApp()) SWIG_fail
;
40227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40228 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40229 wxPyEndAllowThreads(__tstate
);
40230 if (PyErr_Occurred()) SWIG_fail
;
40232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40239 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40240 PyObject
*resultobj
= 0;
40241 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40244 PyObject
*swig_obj
[1] ;
40246 if (!args
) SWIG_fail
;
40247 swig_obj
[0] = args
;
40248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40249 if (!SWIG_IsOK(res1
)) {
40250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40252 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40257 wxPyEndAllowThreads(__tstate
);
40258 if (PyErr_Occurred()) SWIG_fail
;
40260 resultobj
= SWIG_Py_Void();
40267 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
= 0;
40269 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40270 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40275 PyObject
* obj0
= 0 ;
40276 PyObject
* obj1
= 0 ;
40277 char * kwnames
[] = {
40278 (char *) "self",(char *) "bitmap", NULL
40281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40283 if (!SWIG_IsOK(res1
)) {
40284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40286 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40288 if (!SWIG_IsOK(res2
)) {
40289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40291 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40294 (arg1
)->SetBackingBitmap(arg2
);
40295 wxPyEndAllowThreads(__tstate
);
40296 if (PyErr_Occurred()) SWIG_fail
;
40298 resultobj
= SWIG_Py_Void();
40305 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40306 PyObject
*resultobj
= 0;
40307 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40308 wxPoint
*arg2
= 0 ;
40309 wxWindow
*arg3
= (wxWindow
*) 0 ;
40310 bool arg4
= (bool) false ;
40311 wxRect
*arg5
= (wxRect
*) NULL
;
40322 PyObject
* obj0
= 0 ;
40323 PyObject
* obj1
= 0 ;
40324 PyObject
* obj2
= 0 ;
40325 PyObject
* obj3
= 0 ;
40326 PyObject
* obj4
= 0 ;
40327 char * kwnames
[] = {
40328 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40333 if (!SWIG_IsOK(res1
)) {
40334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40336 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40339 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40341 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40342 if (!SWIG_IsOK(res3
)) {
40343 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40345 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40347 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40348 if (!SWIG_IsOK(ecode4
)) {
40349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40351 arg4
= static_cast< bool >(val4
);
40354 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40355 if (!SWIG_IsOK(res5
)) {
40356 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40358 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40362 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40363 wxPyEndAllowThreads(__tstate
);
40364 if (PyErr_Occurred()) SWIG_fail
;
40367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40375 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40376 PyObject
*resultobj
= 0;
40377 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40378 wxPoint
*arg2
= 0 ;
40379 wxWindow
*arg3
= (wxWindow
*) 0 ;
40380 wxWindow
*arg4
= (wxWindow
*) 0 ;
40389 PyObject
* obj0
= 0 ;
40390 PyObject
* obj1
= 0 ;
40391 PyObject
* obj2
= 0 ;
40392 PyObject
* obj3
= 0 ;
40393 char * kwnames
[] = {
40394 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40399 if (!SWIG_IsOK(res1
)) {
40400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40402 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40407 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40408 if (!SWIG_IsOK(res3
)) {
40409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40411 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40412 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40413 if (!SWIG_IsOK(res4
)) {
40414 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40416 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40419 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40420 wxPyEndAllowThreads(__tstate
);
40421 if (PyErr_Occurred()) SWIG_fail
;
40424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40432 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40433 PyObject
*resultobj
= 0;
40434 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40438 PyObject
*swig_obj
[1] ;
40440 if (!args
) SWIG_fail
;
40441 swig_obj
[0] = args
;
40442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40443 if (!SWIG_IsOK(res1
)) {
40444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40446 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40449 result
= (bool)(arg1
)->EndDrag();
40450 wxPyEndAllowThreads(__tstate
);
40451 if (PyErr_Occurred()) SWIG_fail
;
40454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40462 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40463 PyObject
*resultobj
= 0;
40464 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40465 wxPoint
*arg2
= 0 ;
40470 PyObject
* obj0
= 0 ;
40471 PyObject
* obj1
= 0 ;
40472 char * kwnames
[] = {
40473 (char *) "self",(char *) "pt", NULL
40476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40478 if (!SWIG_IsOK(res1
)) {
40479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40481 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40488 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40489 wxPyEndAllowThreads(__tstate
);
40490 if (PyErr_Occurred()) SWIG_fail
;
40493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40501 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40502 PyObject
*resultobj
= 0;
40503 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40507 PyObject
*swig_obj
[1] ;
40509 if (!args
) SWIG_fail
;
40510 swig_obj
[0] = args
;
40511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40512 if (!SWIG_IsOK(res1
)) {
40513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40515 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40518 result
= (bool)(arg1
)->Show();
40519 wxPyEndAllowThreads(__tstate
);
40520 if (PyErr_Occurred()) SWIG_fail
;
40523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40531 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40532 PyObject
*resultobj
= 0;
40533 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40537 PyObject
*swig_obj
[1] ;
40539 if (!args
) SWIG_fail
;
40540 swig_obj
[0] = args
;
40541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40542 if (!SWIG_IsOK(res1
)) {
40543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40545 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40548 result
= (bool)(arg1
)->Hide();
40549 wxPyEndAllowThreads(__tstate
);
40550 if (PyErr_Occurred()) SWIG_fail
;
40553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40561 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40562 PyObject
*resultobj
= 0;
40563 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40564 wxPoint
*arg2
= 0 ;
40569 PyObject
* obj0
= 0 ;
40570 PyObject
* obj1
= 0 ;
40571 char * kwnames
[] = {
40572 (char *) "self",(char *) "pos", NULL
40575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40577 if (!SWIG_IsOK(res1
)) {
40578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40580 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40587 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40588 wxPyEndAllowThreads(__tstate
);
40589 if (PyErr_Occurred()) SWIG_fail
;
40591 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40598 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40599 PyObject
*resultobj
= 0;
40600 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40602 wxPoint
*arg3
= 0 ;
40609 PyObject
* obj0
= 0 ;
40610 PyObject
* obj1
= 0 ;
40611 PyObject
* obj2
= 0 ;
40612 char * kwnames
[] = {
40613 (char *) "self",(char *) "dc",(char *) "pos", NULL
40616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40618 if (!SWIG_IsOK(res1
)) {
40619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40621 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40623 if (!SWIG_IsOK(res2
)) {
40624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40629 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40636 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40637 wxPyEndAllowThreads(__tstate
);
40638 if (PyErr_Occurred()) SWIG_fail
;
40641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40649 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40650 PyObject
*resultobj
= 0;
40651 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40653 wxMemoryDC
*arg3
= 0 ;
40665 PyObject
* obj0
= 0 ;
40666 PyObject
* obj1
= 0 ;
40667 PyObject
* obj2
= 0 ;
40668 PyObject
* obj3
= 0 ;
40669 PyObject
* obj4
= 0 ;
40670 char * kwnames
[] = {
40671 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40676 if (!SWIG_IsOK(res1
)) {
40677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40679 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40681 if (!SWIG_IsOK(res2
)) {
40682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40687 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40688 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40689 if (!SWIG_IsOK(res3
)) {
40690 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40695 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40698 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40702 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40706 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40707 wxPyEndAllowThreads(__tstate
);
40708 if (PyErr_Occurred()) SWIG_fail
;
40711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40719 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40720 PyObject
*resultobj
= 0;
40721 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40722 wxPoint
*arg2
= 0 ;
40723 wxPoint
*arg3
= 0 ;
40735 PyObject
* obj0
= 0 ;
40736 PyObject
* obj1
= 0 ;
40737 PyObject
* obj2
= 0 ;
40738 PyObject
* obj3
= 0 ;
40739 PyObject
* obj4
= 0 ;
40740 char * kwnames
[] = {
40741 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40746 if (!SWIG_IsOK(res1
)) {
40747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40749 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40758 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40759 if (!SWIG_IsOK(ecode4
)) {
40760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40762 arg4
= static_cast< bool >(val4
);
40763 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40764 if (!SWIG_IsOK(ecode5
)) {
40765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40767 arg5
= static_cast< bool >(val5
);
40769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40770 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40771 wxPyEndAllowThreads(__tstate
);
40772 if (PyErr_Occurred()) SWIG_fail
;
40775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40783 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40786 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40787 return SWIG_Py_Void();
40790 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40791 return SWIG_Python_InitShadowInstance(args
);
40794 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40795 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40800 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40801 PyObject
*pyobj
= 0;
40805 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40807 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40814 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40815 PyObject
*resultobj
= 0;
40816 wxWindow
*arg1
= (wxWindow
*) 0 ;
40817 int arg2
= (int) -1 ;
40818 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40819 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40824 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40825 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40826 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40827 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40828 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40829 wxDatePickerCtrl
*result
= 0 ;
40842 bool temp8
= false ;
40843 PyObject
* obj0
= 0 ;
40844 PyObject
* obj1
= 0 ;
40845 PyObject
* obj2
= 0 ;
40846 PyObject
* obj3
= 0 ;
40847 PyObject
* obj4
= 0 ;
40848 PyObject
* obj5
= 0 ;
40849 PyObject
* obj6
= 0 ;
40850 PyObject
* obj7
= 0 ;
40851 char * kwnames
[] = {
40852 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40857 if (!SWIG_IsOK(res1
)) {
40858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40860 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40863 if (!SWIG_IsOK(ecode2
)) {
40864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40866 arg2
= static_cast< int >(val2
);
40869 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40870 if (!SWIG_IsOK(res3
)) {
40871 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40876 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40891 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40892 if (!SWIG_IsOK(ecode6
)) {
40893 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40895 arg6
= static_cast< long >(val6
);
40898 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40899 if (!SWIG_IsOK(res7
)) {
40900 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40905 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40909 arg8
= wxString_in_helper(obj7
);
40910 if (arg8
== NULL
) SWIG_fail
;
40915 if (!wxPyCheckForApp()) SWIG_fail
;
40916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40917 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40918 wxPyEndAllowThreads(__tstate
);
40919 if (PyErr_Occurred()) SWIG_fail
;
40921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40936 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40937 PyObject
*resultobj
= 0;
40938 wxDatePickerCtrl
*result
= 0 ;
40940 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40942 if (!wxPyCheckForApp()) SWIG_fail
;
40943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40944 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40945 wxPyEndAllowThreads(__tstate
);
40946 if (PyErr_Occurred()) SWIG_fail
;
40948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40955 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40956 PyObject
*resultobj
= 0;
40957 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40958 wxWindow
*arg2
= (wxWindow
*) 0 ;
40959 int arg3
= (int) -1 ;
40960 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40961 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40966 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40967 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40968 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40969 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40970 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40986 bool temp9
= false ;
40987 PyObject
* obj0
= 0 ;
40988 PyObject
* obj1
= 0 ;
40989 PyObject
* obj2
= 0 ;
40990 PyObject
* obj3
= 0 ;
40991 PyObject
* obj4
= 0 ;
40992 PyObject
* obj5
= 0 ;
40993 PyObject
* obj6
= 0 ;
40994 PyObject
* obj7
= 0 ;
40995 PyObject
* obj8
= 0 ;
40996 char * kwnames
[] = {
40997 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41002 if (!SWIG_IsOK(res1
)) {
41003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41005 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41007 if (!SWIG_IsOK(res2
)) {
41008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41010 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41013 if (!SWIG_IsOK(ecode3
)) {
41014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41016 arg3
= static_cast< int >(val3
);
41019 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41020 if (!SWIG_IsOK(res4
)) {
41021 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41026 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41031 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41037 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41042 if (!SWIG_IsOK(ecode7
)) {
41043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41045 arg7
= static_cast< long >(val7
);
41048 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41049 if (!SWIG_IsOK(res8
)) {
41050 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41055 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41059 arg9
= wxString_in_helper(obj8
);
41060 if (arg9
== NULL
) SWIG_fail
;
41065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41067 wxPyEndAllowThreads(__tstate
);
41068 if (PyErr_Occurred()) SWIG_fail
;
41071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41087 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41088 PyObject
*resultobj
= 0;
41089 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41090 wxDateTime
*arg2
= 0 ;
41095 PyObject
* obj0
= 0 ;
41096 PyObject
* obj1
= 0 ;
41097 char * kwnames
[] = {
41098 (char *) "self",(char *) "dt", NULL
41101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41103 if (!SWIG_IsOK(res1
)) {
41104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41106 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41108 if (!SWIG_IsOK(res2
)) {
41109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41114 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41117 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41118 wxPyEndAllowThreads(__tstate
);
41119 if (PyErr_Occurred()) SWIG_fail
;
41121 resultobj
= SWIG_Py_Void();
41128 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41129 PyObject
*resultobj
= 0;
41130 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41134 PyObject
*swig_obj
[1] ;
41136 if (!args
) SWIG_fail
;
41137 swig_obj
[0] = args
;
41138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41139 if (!SWIG_IsOK(res1
)) {
41140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41142 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41145 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41146 wxPyEndAllowThreads(__tstate
);
41147 if (PyErr_Occurred()) SWIG_fail
;
41149 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41156 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41157 PyObject
*resultobj
= 0;
41158 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41159 wxDateTime
*arg2
= 0 ;
41160 wxDateTime
*arg3
= 0 ;
41167 PyObject
* obj0
= 0 ;
41168 PyObject
* obj1
= 0 ;
41169 PyObject
* obj2
= 0 ;
41170 char * kwnames
[] = {
41171 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41176 if (!SWIG_IsOK(res1
)) {
41177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41179 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41181 if (!SWIG_IsOK(res2
)) {
41182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41187 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41188 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41189 if (!SWIG_IsOK(res3
)) {
41190 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41195 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41198 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41199 wxPyEndAllowThreads(__tstate
);
41200 if (PyErr_Occurred()) SWIG_fail
;
41202 resultobj
= SWIG_Py_Void();
41209 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41210 PyObject
*resultobj
= 0;
41211 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41215 PyObject
*swig_obj
[1] ;
41217 if (!args
) SWIG_fail
;
41218 swig_obj
[0] = args
;
41219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41220 if (!SWIG_IsOK(res1
)) {
41221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41223 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41226 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41227 wxPyEndAllowThreads(__tstate
);
41228 if (PyErr_Occurred()) SWIG_fail
;
41230 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41237 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41238 PyObject
*resultobj
= 0;
41239 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41243 PyObject
*swig_obj
[1] ;
41245 if (!args
) SWIG_fail
;
41246 swig_obj
[0] = args
;
41247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41248 if (!SWIG_IsOK(res1
)) {
41249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41251 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41254 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41255 wxPyEndAllowThreads(__tstate
);
41256 if (PyErr_Occurred()) SWIG_fail
;
41258 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41265 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41268 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41269 return SWIG_Py_Void();
41272 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41273 return SWIG_Python_InitShadowInstance(args
);
41276 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41277 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41282 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41283 PyObject
*pyobj
= 0;
41287 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41289 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41296 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41297 PyObject
*resultobj
= 0;
41298 wxWindow
*arg1
= (wxWindow
*) 0 ;
41300 wxString
*arg3
= 0 ;
41301 wxString
*arg4
= 0 ;
41302 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41303 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41304 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41305 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41306 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41307 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41308 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41309 wxHyperlinkCtrl
*result
= 0 ;
41314 bool temp3
= false ;
41315 bool temp4
= false ;
41320 bool temp8
= false ;
41321 PyObject
* obj0
= 0 ;
41322 PyObject
* obj1
= 0 ;
41323 PyObject
* obj2
= 0 ;
41324 PyObject
* obj3
= 0 ;
41325 PyObject
* obj4
= 0 ;
41326 PyObject
* obj5
= 0 ;
41327 PyObject
* obj6
= 0 ;
41328 PyObject
* obj7
= 0 ;
41329 char * kwnames
[] = {
41330 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41335 if (!SWIG_IsOK(res1
)) {
41336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41340 if (!SWIG_IsOK(ecode2
)) {
41341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41343 arg2
= static_cast< int >(val2
);
41345 arg3
= wxString_in_helper(obj2
);
41346 if (arg3
== NULL
) SWIG_fail
;
41350 arg4
= wxString_in_helper(obj3
);
41351 if (arg4
== NULL
) SWIG_fail
;
41357 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41363 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41367 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41368 if (!SWIG_IsOK(ecode7
)) {
41369 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41371 arg7
= static_cast< long >(val7
);
41375 arg8
= wxString_in_helper(obj7
);
41376 if (arg8
== NULL
) SWIG_fail
;
41381 if (!wxPyCheckForApp()) SWIG_fail
;
41382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41383 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41384 wxPyEndAllowThreads(__tstate
);
41385 if (PyErr_Occurred()) SWIG_fail
;
41387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41418 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41419 PyObject
*resultobj
= 0;
41420 wxHyperlinkCtrl
*result
= 0 ;
41422 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41424 if (!wxPyCheckForApp()) SWIG_fail
;
41425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41426 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41427 wxPyEndAllowThreads(__tstate
);
41428 if (PyErr_Occurred()) SWIG_fail
;
41430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41437 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41438 PyObject
*resultobj
= 0;
41439 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41440 wxWindow
*arg2
= (wxWindow
*) 0 ;
41442 wxString
*arg4
= 0 ;
41443 wxString
*arg5
= 0 ;
41444 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41445 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41446 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41447 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41448 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41449 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41450 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41458 bool temp4
= false ;
41459 bool temp5
= false ;
41464 bool temp9
= false ;
41465 PyObject
* obj0
= 0 ;
41466 PyObject
* obj1
= 0 ;
41467 PyObject
* obj2
= 0 ;
41468 PyObject
* obj3
= 0 ;
41469 PyObject
* obj4
= 0 ;
41470 PyObject
* obj5
= 0 ;
41471 PyObject
* obj6
= 0 ;
41472 PyObject
* obj7
= 0 ;
41473 PyObject
* obj8
= 0 ;
41474 char * kwnames
[] = {
41475 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41480 if (!SWIG_IsOK(res1
)) {
41481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41483 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41485 if (!SWIG_IsOK(res2
)) {
41486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41488 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41490 if (!SWIG_IsOK(ecode3
)) {
41491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41493 arg3
= static_cast< int >(val3
);
41495 arg4
= wxString_in_helper(obj3
);
41496 if (arg4
== NULL
) SWIG_fail
;
41500 arg5
= wxString_in_helper(obj4
);
41501 if (arg5
== NULL
) SWIG_fail
;
41507 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41513 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41517 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41518 if (!SWIG_IsOK(ecode8
)) {
41519 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41521 arg8
= static_cast< long >(val8
);
41525 arg9
= wxString_in_helper(obj8
);
41526 if (arg9
== NULL
) SWIG_fail
;
41531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41532 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41533 wxPyEndAllowThreads(__tstate
);
41534 if (PyErr_Occurred()) SWIG_fail
;
41537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41569 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41570 PyObject
*resultobj
= 0;
41571 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41575 PyObject
*swig_obj
[1] ;
41577 if (!args
) SWIG_fail
;
41578 swig_obj
[0] = args
;
41579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41580 if (!SWIG_IsOK(res1
)) {
41581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41583 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41586 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41587 wxPyEndAllowThreads(__tstate
);
41588 if (PyErr_Occurred()) SWIG_fail
;
41590 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41597 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41598 PyObject
*resultobj
= 0;
41599 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41600 wxColour
*arg2
= 0 ;
41604 PyObject
* obj0
= 0 ;
41605 PyObject
* obj1
= 0 ;
41606 char * kwnames
[] = {
41607 (char *) "self",(char *) "colour", NULL
41610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41612 if (!SWIG_IsOK(res1
)) {
41613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41615 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41622 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41623 wxPyEndAllowThreads(__tstate
);
41624 if (PyErr_Occurred()) SWIG_fail
;
41626 resultobj
= SWIG_Py_Void();
41633 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41634 PyObject
*resultobj
= 0;
41635 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41639 PyObject
*swig_obj
[1] ;
41641 if (!args
) SWIG_fail
;
41642 swig_obj
[0] = args
;
41643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41644 if (!SWIG_IsOK(res1
)) {
41645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41647 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41650 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41651 wxPyEndAllowThreads(__tstate
);
41652 if (PyErr_Occurred()) SWIG_fail
;
41654 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41661 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41662 PyObject
*resultobj
= 0;
41663 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41664 wxColour
*arg2
= 0 ;
41668 PyObject
* obj0
= 0 ;
41669 PyObject
* obj1
= 0 ;
41670 char * kwnames
[] = {
41671 (char *) "self",(char *) "colour", NULL
41674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41676 if (!SWIG_IsOK(res1
)) {
41677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41679 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41682 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41686 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41687 wxPyEndAllowThreads(__tstate
);
41688 if (PyErr_Occurred()) SWIG_fail
;
41690 resultobj
= SWIG_Py_Void();
41697 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41698 PyObject
*resultobj
= 0;
41699 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41703 PyObject
*swig_obj
[1] ;
41705 if (!args
) SWIG_fail
;
41706 swig_obj
[0] = args
;
41707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41708 if (!SWIG_IsOK(res1
)) {
41709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41711 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41714 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41715 wxPyEndAllowThreads(__tstate
);
41716 if (PyErr_Occurred()) SWIG_fail
;
41718 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41725 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41726 PyObject
*resultobj
= 0;
41727 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41728 wxColour
*arg2
= 0 ;
41732 PyObject
* obj0
= 0 ;
41733 PyObject
* obj1
= 0 ;
41734 char * kwnames
[] = {
41735 (char *) "self",(char *) "colour", NULL
41738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41740 if (!SWIG_IsOK(res1
)) {
41741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41743 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41746 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41750 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41751 wxPyEndAllowThreads(__tstate
);
41752 if (PyErr_Occurred()) SWIG_fail
;
41754 resultobj
= SWIG_Py_Void();
41761 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41762 PyObject
*resultobj
= 0;
41763 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41767 PyObject
*swig_obj
[1] ;
41769 if (!args
) SWIG_fail
;
41770 swig_obj
[0] = args
;
41771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41772 if (!SWIG_IsOK(res1
)) {
41773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41775 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41778 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41779 wxPyEndAllowThreads(__tstate
);
41780 if (PyErr_Occurred()) SWIG_fail
;
41784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41795 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41796 PyObject
*resultobj
= 0;
41797 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41798 wxString
*arg2
= 0 ;
41801 bool temp2
= false ;
41802 PyObject
* obj0
= 0 ;
41803 PyObject
* obj1
= 0 ;
41804 char * kwnames
[] = {
41805 (char *) "self",(char *) "url", NULL
41808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41810 if (!SWIG_IsOK(res1
)) {
41811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41813 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41815 arg2
= wxString_in_helper(obj1
);
41816 if (arg2
== NULL
) SWIG_fail
;
41820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41821 (arg1
)->SetURL((wxString
const &)*arg2
);
41822 wxPyEndAllowThreads(__tstate
);
41823 if (PyErr_Occurred()) SWIG_fail
;
41825 resultobj
= SWIG_Py_Void();
41840 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41841 PyObject
*resultobj
= 0;
41842 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41843 bool arg2
= (bool) true ;
41848 PyObject
* obj0
= 0 ;
41849 PyObject
* obj1
= 0 ;
41850 char * kwnames
[] = {
41851 (char *) "self",(char *) "visited", NULL
41854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41856 if (!SWIG_IsOK(res1
)) {
41857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41859 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41861 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41862 if (!SWIG_IsOK(ecode2
)) {
41863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41865 arg2
= static_cast< bool >(val2
);
41868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41869 (arg1
)->SetVisited(arg2
);
41870 wxPyEndAllowThreads(__tstate
);
41871 if (PyErr_Occurred()) SWIG_fail
;
41873 resultobj
= SWIG_Py_Void();
41880 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41881 PyObject
*resultobj
= 0;
41882 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41886 PyObject
*swig_obj
[1] ;
41888 if (!args
) SWIG_fail
;
41889 swig_obj
[0] = args
;
41890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41891 if (!SWIG_IsOK(res1
)) {
41892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41894 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41897 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
41898 wxPyEndAllowThreads(__tstate
);
41899 if (PyErr_Occurred()) SWIG_fail
;
41902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41910 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41913 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
41914 return SWIG_Py_Void();
41917 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41918 return SWIG_Python_InitShadowInstance(args
);
41921 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41922 PyObject
*resultobj
= 0;
41923 wxObject
*arg1
= (wxObject
*) 0 ;
41925 wxString
*arg3
= 0 ;
41926 wxHyperlinkEvent
*result
= 0 ;
41931 bool temp3
= false ;
41932 PyObject
* obj0
= 0 ;
41933 PyObject
* obj1
= 0 ;
41934 PyObject
* obj2
= 0 ;
41935 char * kwnames
[] = {
41936 (char *) "generator",(char *) "id",(char *) "url", NULL
41939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
41941 if (!SWIG_IsOK(res1
)) {
41942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41944 arg1
= reinterpret_cast< wxObject
* >(argp1
);
41945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41946 if (!SWIG_IsOK(ecode2
)) {
41947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41949 arg2
= static_cast< int >(val2
);
41951 arg3
= wxString_in_helper(obj2
);
41952 if (arg3
== NULL
) SWIG_fail
;
41956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41957 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
41958 wxPyEndAllowThreads(__tstate
);
41959 if (PyErr_Occurred()) SWIG_fail
;
41961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
41976 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41977 PyObject
*resultobj
= 0;
41978 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41982 PyObject
*swig_obj
[1] ;
41984 if (!args
) SWIG_fail
;
41985 swig_obj
[0] = args
;
41986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41987 if (!SWIG_IsOK(res1
)) {
41988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
41990 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41993 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
41994 wxPyEndAllowThreads(__tstate
);
41995 if (PyErr_Occurred()) SWIG_fail
;
41999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42010 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42011 PyObject
*resultobj
= 0;
42012 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42013 wxString
*arg2
= 0 ;
42016 bool temp2
= false ;
42017 PyObject
* obj0
= 0 ;
42018 PyObject
* obj1
= 0 ;
42019 char * kwnames
[] = {
42020 (char *) "self",(char *) "url", NULL
42023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42025 if (!SWIG_IsOK(res1
)) {
42026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42028 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42030 arg2
= wxString_in_helper(obj1
);
42031 if (arg2
== NULL
) SWIG_fail
;
42035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42036 (arg1
)->SetURL((wxString
const &)*arg2
);
42037 wxPyEndAllowThreads(__tstate
);
42038 if (PyErr_Occurred()) SWIG_fail
;
42040 resultobj
= SWIG_Py_Void();
42055 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42058 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42059 return SWIG_Py_Void();
42062 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42063 return SWIG_Python_InitShadowInstance(args
);
42066 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42067 PyObject
*resultobj
= 0;
42068 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42069 wxWindow
*arg2
= (wxWindow
*) 0 ;
42071 wxString
const &arg4_defvalue
= wxEmptyString
;
42072 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42073 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42074 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42075 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42076 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42077 long arg7
= (long) 0 ;
42078 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42079 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42080 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42081 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42089 bool temp4
= false ;
42096 bool temp9
= false ;
42097 PyObject
* obj0
= 0 ;
42098 PyObject
* obj1
= 0 ;
42099 PyObject
* obj2
= 0 ;
42100 PyObject
* obj3
= 0 ;
42101 PyObject
* obj4
= 0 ;
42102 PyObject
* obj5
= 0 ;
42103 PyObject
* obj6
= 0 ;
42104 PyObject
* obj7
= 0 ;
42105 PyObject
* obj8
= 0 ;
42106 char * kwnames
[] = {
42107 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42112 if (!SWIG_IsOK(res1
)) {
42113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42115 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42116 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42117 if (!SWIG_IsOK(res2
)) {
42118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42120 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42122 if (!SWIG_IsOK(ecode3
)) {
42123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42125 arg3
= static_cast< int >(val3
);
42128 arg4
= wxString_in_helper(obj3
);
42129 if (arg4
== NULL
) SWIG_fail
;
42136 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42142 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42146 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42147 if (!SWIG_IsOK(ecode7
)) {
42148 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42150 arg7
= static_cast< long >(val7
);
42153 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42154 if (!SWIG_IsOK(res8
)) {
42155 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42160 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42164 arg9
= wxString_in_helper(obj8
);
42165 if (arg9
== NULL
) SWIG_fail
;
42170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42171 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42172 wxPyEndAllowThreads(__tstate
);
42173 if (PyErr_Occurred()) SWIG_fail
;
42176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42200 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42201 PyObject
*resultobj
= 0;
42202 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42208 PyObject
* obj0
= 0 ;
42209 PyObject
* obj1
= 0 ;
42210 char * kwnames
[] = {
42211 (char *) "self",(char *) "newmargin", NULL
42214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42216 if (!SWIG_IsOK(res1
)) {
42217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42219 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42221 if (!SWIG_IsOK(ecode2
)) {
42222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42224 arg2
= static_cast< int >(val2
);
42226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42227 (arg1
)->SetInternalMargin(arg2
);
42228 wxPyEndAllowThreads(__tstate
);
42229 if (PyErr_Occurred()) SWIG_fail
;
42231 resultobj
= SWIG_Py_Void();
42238 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42239 PyObject
*resultobj
= 0;
42240 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42244 PyObject
*swig_obj
[1] ;
42246 if (!args
) SWIG_fail
;
42247 swig_obj
[0] = args
;
42248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42249 if (!SWIG_IsOK(res1
)) {
42250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42252 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42255 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42256 wxPyEndAllowThreads(__tstate
);
42257 if (PyErr_Occurred()) SWIG_fail
;
42259 resultobj
= SWIG_From_int(static_cast< int >(result
));
42266 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42267 PyObject
*resultobj
= 0;
42268 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42274 PyObject
* obj0
= 0 ;
42275 PyObject
* obj1
= 0 ;
42276 char * kwnames
[] = {
42277 (char *) "self",(char *) "prop", NULL
42280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42282 if (!SWIG_IsOK(res1
)) {
42283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42285 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42287 if (!SWIG_IsOK(ecode2
)) {
42288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42290 arg2
= static_cast< int >(val2
);
42292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42293 (arg1
)->SetTextCtrlProportion(arg2
);
42294 wxPyEndAllowThreads(__tstate
);
42295 if (PyErr_Occurred()) SWIG_fail
;
42297 resultobj
= SWIG_Py_Void();
42304 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42305 PyObject
*resultobj
= 0;
42306 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42310 PyObject
*swig_obj
[1] ;
42312 if (!args
) SWIG_fail
;
42313 swig_obj
[0] = args
;
42314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42315 if (!SWIG_IsOK(res1
)) {
42316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42318 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42321 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42322 wxPyEndAllowThreads(__tstate
);
42323 if (PyErr_Occurred()) SWIG_fail
;
42325 resultobj
= SWIG_From_int(static_cast< int >(result
));
42332 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42333 PyObject
*resultobj
= 0;
42334 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42338 PyObject
*swig_obj
[1] ;
42340 if (!args
) SWIG_fail
;
42341 swig_obj
[0] = args
;
42342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42343 if (!SWIG_IsOK(res1
)) {
42344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42346 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42349 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42350 wxPyEndAllowThreads(__tstate
);
42351 if (PyErr_Occurred()) SWIG_fail
;
42354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42362 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42363 PyObject
*resultobj
= 0;
42364 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42365 wxTextCtrl
*result
= 0 ;
42368 PyObject
*swig_obj
[1] ;
42370 if (!args
) SWIG_fail
;
42371 swig_obj
[0] = args
;
42372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42373 if (!SWIG_IsOK(res1
)) {
42374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42376 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42379 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42380 wxPyEndAllowThreads(__tstate
);
42381 if (PyErr_Occurred()) SWIG_fail
;
42384 resultobj
= wxPyMake_wxObject(result
, 0);
42392 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42393 PyObject
*resultobj
= 0;
42394 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42395 wxControl
*result
= 0 ;
42398 PyObject
*swig_obj
[1] ;
42400 if (!args
) SWIG_fail
;
42401 swig_obj
[0] = args
;
42402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42403 if (!SWIG_IsOK(res1
)) {
42404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42406 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42409 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42410 wxPyEndAllowThreads(__tstate
);
42411 if (PyErr_Occurred()) SWIG_fail
;
42414 resultobj
= wxPyMake_wxObject(result
, 0);
42422 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42425 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42426 return SWIG_Py_Void();
42429 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42430 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42435 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42436 PyObject
*pyobj
= 0;
42440 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42442 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42449 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42450 PyObject
*resultobj
= 0;
42451 wxWindow
*arg1
= (wxWindow
*) 0 ;
42452 int arg2
= (int) -1 ;
42453 wxColour
const &arg3_defvalue
= *wxBLACK
;
42454 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42455 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42456 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42457 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42458 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42459 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42462 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42464 wxColourPickerCtrl
*result
= 0 ;
42476 bool temp8
= false ;
42477 PyObject
* obj0
= 0 ;
42478 PyObject
* obj1
= 0 ;
42479 PyObject
* obj2
= 0 ;
42480 PyObject
* obj3
= 0 ;
42481 PyObject
* obj4
= 0 ;
42482 PyObject
* obj5
= 0 ;
42483 PyObject
* obj6
= 0 ;
42484 PyObject
* obj7
= 0 ;
42485 char * kwnames
[] = {
42486 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42491 if (!SWIG_IsOK(res1
)) {
42492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42497 if (!SWIG_IsOK(ecode2
)) {
42498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42500 arg2
= static_cast< int >(val2
);
42505 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42511 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42517 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42521 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42522 if (!SWIG_IsOK(ecode6
)) {
42523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42525 arg6
= static_cast< long >(val6
);
42528 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42529 if (!SWIG_IsOK(res7
)) {
42530 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42535 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42539 arg8
= wxString_in_helper(obj7
);
42540 if (arg8
== NULL
) SWIG_fail
;
42545 if (!wxPyCheckForApp()) SWIG_fail
;
42546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42547 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42548 wxPyEndAllowThreads(__tstate
);
42549 if (PyErr_Occurred()) SWIG_fail
;
42551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42566 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42567 PyObject
*resultobj
= 0;
42568 wxColourPickerCtrl
*result
= 0 ;
42570 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42572 if (!wxPyCheckForApp()) SWIG_fail
;
42573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42574 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42575 wxPyEndAllowThreads(__tstate
);
42576 if (PyErr_Occurred()) SWIG_fail
;
42578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42585 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42586 PyObject
*resultobj
= 0;
42587 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42588 wxWindow
*arg2
= (wxWindow
*) 0 ;
42590 wxColour
const &arg4_defvalue
= *wxBLACK
;
42591 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42592 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42593 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42594 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42595 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42596 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42597 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42598 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42599 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42600 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42615 bool temp9
= false ;
42616 PyObject
* obj0
= 0 ;
42617 PyObject
* obj1
= 0 ;
42618 PyObject
* obj2
= 0 ;
42619 PyObject
* obj3
= 0 ;
42620 PyObject
* obj4
= 0 ;
42621 PyObject
* obj5
= 0 ;
42622 PyObject
* obj6
= 0 ;
42623 PyObject
* obj7
= 0 ;
42624 PyObject
* obj8
= 0 ;
42625 char * kwnames
[] = {
42626 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42631 if (!SWIG_IsOK(res1
)) {
42632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42634 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42636 if (!SWIG_IsOK(res2
)) {
42637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42641 if (!SWIG_IsOK(ecode3
)) {
42642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42644 arg3
= static_cast< int >(val3
);
42648 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
42654 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42660 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42664 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42665 if (!SWIG_IsOK(ecode7
)) {
42666 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42668 arg7
= static_cast< long >(val7
);
42671 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42672 if (!SWIG_IsOK(res8
)) {
42673 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42678 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42682 arg9
= wxString_in_helper(obj8
);
42683 if (arg9
== NULL
) SWIG_fail
;
42688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42690 wxPyEndAllowThreads(__tstate
);
42691 if (PyErr_Occurred()) SWIG_fail
;
42694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42710 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42711 PyObject
*resultobj
= 0;
42712 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42716 PyObject
*swig_obj
[1] ;
42718 if (!args
) SWIG_fail
;
42719 swig_obj
[0] = args
;
42720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42721 if (!SWIG_IsOK(res1
)) {
42722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
42724 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42727 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
42728 wxPyEndAllowThreads(__tstate
);
42729 if (PyErr_Occurred()) SWIG_fail
;
42731 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42738 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42739 PyObject
*resultobj
= 0;
42740 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42741 wxColour
*arg2
= 0 ;
42745 PyObject
* obj0
= 0 ;
42746 PyObject
* obj1
= 0 ;
42747 char * kwnames
[] = {
42748 (char *) "self",(char *) "col", NULL
42751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42753 if (!SWIG_IsOK(res1
)) {
42754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42756 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42763 (arg1
)->SetColour((wxColour
const &)*arg2
);
42764 wxPyEndAllowThreads(__tstate
);
42765 if (PyErr_Occurred()) SWIG_fail
;
42767 resultobj
= SWIG_Py_Void();
42774 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42777 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
42778 return SWIG_Py_Void();
42781 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42782 return SWIG_Python_InitShadowInstance(args
);
42785 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42786 PyObject
*resultobj
= 0;
42787 wxObject
*arg1
= (wxObject
*) 0 ;
42789 wxColour
*arg3
= 0 ;
42790 wxColourPickerEvent
*result
= 0 ;
42796 PyObject
* obj0
= 0 ;
42797 PyObject
* obj1
= 0 ;
42798 PyObject
* obj2
= 0 ;
42799 char * kwnames
[] = {
42800 (char *) "generator",(char *) "id",(char *) "col", NULL
42803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42805 if (!SWIG_IsOK(res1
)) {
42806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42808 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42810 if (!SWIG_IsOK(ecode2
)) {
42811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
42813 arg2
= static_cast< int >(val2
);
42816 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42820 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
42821 wxPyEndAllowThreads(__tstate
);
42822 if (PyErr_Occurred()) SWIG_fail
;
42824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
42831 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42832 PyObject
*resultobj
= 0;
42833 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
42837 PyObject
*swig_obj
[1] ;
42839 if (!args
) SWIG_fail
;
42840 swig_obj
[0] = args
;
42841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
42842 if (!SWIG_IsOK(res1
)) {
42843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
42845 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
42847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42848 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
42849 wxPyEndAllowThreads(__tstate
);
42850 if (PyErr_Occurred()) SWIG_fail
;
42852 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42859 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42860 PyObject
*resultobj
= 0;
42861 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
42862 wxColour
*arg2
= 0 ;
42866 PyObject
* obj0
= 0 ;
42867 PyObject
* obj1
= 0 ;
42868 char * kwnames
[] = {
42869 (char *) "self",(char *) "c", NULL
42872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
42874 if (!SWIG_IsOK(res1
)) {
42875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
42877 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
42880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42884 (arg1
)->SetColour((wxColour
const &)*arg2
);
42885 wxPyEndAllowThreads(__tstate
);
42886 if (PyErr_Occurred()) SWIG_fail
;
42888 resultobj
= SWIG_Py_Void();
42895 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42898 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
42899 return SWIG_Py_Void();
42902 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42903 return SWIG_Python_InitShadowInstance(args
);
42906 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
42907 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
42912 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
42913 PyObject
*pyobj
= 0;
42917 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
42919 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
42926 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
42927 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
42932 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
42933 PyObject
*pyobj
= 0;
42937 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
42939 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
42946 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
42947 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
42952 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
42953 PyObject
*pyobj
= 0;
42957 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
42959 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
42966 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
42967 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
42972 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
42973 PyObject
*pyobj
= 0;
42977 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
42979 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
42986 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
42987 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
42992 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
42993 PyObject
*pyobj
= 0;
42997 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
42999 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43006 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43007 PyObject
*resultobj
= 0;
43008 wxWindow
*arg1
= (wxWindow
*) 0 ;
43009 int arg2
= (int) -1 ;
43010 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43011 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43012 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43013 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43014 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43015 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43016 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43017 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43018 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43019 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43020 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43021 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43022 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43023 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43024 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43025 wxFilePickerCtrl
*result
= 0 ;
43030 bool temp3
= false ;
43031 bool temp4
= false ;
43032 bool temp5
= false ;
43039 bool temp10
= 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 PyObject
* obj8
= 0 ;
43049 PyObject
* obj9
= 0 ;
43050 char * kwnames
[] = {
43051 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43056 if (!SWIG_IsOK(res1
)) {
43057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43059 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43062 if (!SWIG_IsOK(ecode2
)) {
43063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43065 arg2
= static_cast< int >(val2
);
43069 arg3
= wxString_in_helper(obj2
);
43070 if (arg3
== NULL
) SWIG_fail
;
43076 arg4
= wxString_in_helper(obj3
);
43077 if (arg4
== NULL
) SWIG_fail
;
43083 arg5
= wxString_in_helper(obj4
);
43084 if (arg5
== NULL
) SWIG_fail
;
43091 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43097 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43101 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43102 if (!SWIG_IsOK(ecode8
)) {
43103 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43105 arg8
= static_cast< long >(val8
);
43108 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43109 if (!SWIG_IsOK(res9
)) {
43110 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43115 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43119 arg10
= wxString_in_helper(obj9
);
43120 if (arg10
== NULL
) SWIG_fail
;
43125 if (!wxPyCheckForApp()) SWIG_fail
;
43126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43127 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
);
43128 wxPyEndAllowThreads(__tstate
);
43129 if (PyErr_Occurred()) SWIG_fail
;
43131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43170 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43171 PyObject
*resultobj
= 0;
43172 wxFilePickerCtrl
*result
= 0 ;
43174 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43176 if (!wxPyCheckForApp()) SWIG_fail
;
43177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43178 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43179 wxPyEndAllowThreads(__tstate
);
43180 if (PyErr_Occurred()) SWIG_fail
;
43182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43189 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43190 PyObject
*resultobj
= 0;
43191 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43192 wxWindow
*arg2
= (wxWindow
*) 0 ;
43193 int arg3
= (int) -1 ;
43194 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43195 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43196 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43197 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43198 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43199 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43200 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43201 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43202 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43203 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43204 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43205 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43206 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43207 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43208 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43216 bool temp4
= false ;
43217 bool temp5
= false ;
43218 bool temp6
= false ;
43225 bool temp11
= false ;
43226 PyObject
* obj0
= 0 ;
43227 PyObject
* obj1
= 0 ;
43228 PyObject
* obj2
= 0 ;
43229 PyObject
* obj3
= 0 ;
43230 PyObject
* obj4
= 0 ;
43231 PyObject
* obj5
= 0 ;
43232 PyObject
* obj6
= 0 ;
43233 PyObject
* obj7
= 0 ;
43234 PyObject
* obj8
= 0 ;
43235 PyObject
* obj9
= 0 ;
43236 PyObject
* obj10
= 0 ;
43237 char * kwnames
[] = {
43238 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43243 if (!SWIG_IsOK(res1
)) {
43244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43246 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43248 if (!SWIG_IsOK(res2
)) {
43249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43251 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43254 if (!SWIG_IsOK(ecode3
)) {
43255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43257 arg3
= static_cast< int >(val3
);
43261 arg4
= wxString_in_helper(obj3
);
43262 if (arg4
== NULL
) SWIG_fail
;
43268 arg5
= wxString_in_helper(obj4
);
43269 if (arg5
== NULL
) SWIG_fail
;
43275 arg6
= wxString_in_helper(obj5
);
43276 if (arg6
== NULL
) SWIG_fail
;
43283 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43289 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43293 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43294 if (!SWIG_IsOK(ecode9
)) {
43295 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43297 arg9
= static_cast< long >(val9
);
43300 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43301 if (!SWIG_IsOK(res10
)) {
43302 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43307 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43311 arg11
= wxString_in_helper(obj10
);
43312 if (arg11
== NULL
) SWIG_fail
;
43317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43318 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
);
43319 wxPyEndAllowThreads(__tstate
);
43320 if (PyErr_Occurred()) SWIG_fail
;
43323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43363 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43364 PyObject
*resultobj
= 0;
43365 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43369 PyObject
*swig_obj
[1] ;
43371 if (!args
) SWIG_fail
;
43372 swig_obj
[0] = args
;
43373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43374 if (!SWIG_IsOK(res1
)) {
43375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43377 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43380 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43381 wxPyEndAllowThreads(__tstate
);
43382 if (PyErr_Occurred()) SWIG_fail
;
43386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43397 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43398 PyObject
*resultobj
= 0;
43399 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43400 wxString
*arg2
= 0 ;
43403 bool temp2
= false ;
43404 PyObject
* obj0
= 0 ;
43405 PyObject
* obj1
= 0 ;
43406 char * kwnames
[] = {
43407 (char *) "self",(char *) "str", NULL
43410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43412 if (!SWIG_IsOK(res1
)) {
43413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43415 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43417 arg2
= wxString_in_helper(obj1
);
43418 if (arg2
== NULL
) SWIG_fail
;
43422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43423 (arg1
)->SetPath((wxString
const &)*arg2
);
43424 wxPyEndAllowThreads(__tstate
);
43425 if (PyErr_Occurred()) SWIG_fail
;
43427 resultobj
= SWIG_Py_Void();
43442 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43445 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43446 return SWIG_Py_Void();
43449 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43450 return SWIG_Python_InitShadowInstance(args
);
43453 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43454 PyObject
*resultobj
= 0;
43455 wxWindow
*arg1
= (wxWindow
*) 0 ;
43456 int arg2
= (int) -1 ;
43457 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43458 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43459 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43460 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43465 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43466 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43467 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43468 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43469 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43470 wxDirPickerCtrl
*result
= 0 ;
43475 bool temp3
= false ;
43476 bool temp4
= false ;
43483 bool temp9
= false ;
43484 PyObject
* obj0
= 0 ;
43485 PyObject
* obj1
= 0 ;
43486 PyObject
* obj2
= 0 ;
43487 PyObject
* obj3
= 0 ;
43488 PyObject
* obj4
= 0 ;
43489 PyObject
* obj5
= 0 ;
43490 PyObject
* obj6
= 0 ;
43491 PyObject
* obj7
= 0 ;
43492 PyObject
* obj8
= 0 ;
43493 char * kwnames
[] = {
43494 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43499 if (!SWIG_IsOK(res1
)) {
43500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43505 if (!SWIG_IsOK(ecode2
)) {
43506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43508 arg2
= static_cast< int >(val2
);
43512 arg3
= wxString_in_helper(obj2
);
43513 if (arg3
== NULL
) SWIG_fail
;
43519 arg4
= wxString_in_helper(obj3
);
43520 if (arg4
== NULL
) SWIG_fail
;
43527 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43533 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43537 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43538 if (!SWIG_IsOK(ecode7
)) {
43539 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43541 arg7
= static_cast< long >(val7
);
43544 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43545 if (!SWIG_IsOK(res8
)) {
43546 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43551 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43555 arg9
= wxString_in_helper(obj8
);
43556 if (arg9
== NULL
) SWIG_fail
;
43561 if (!wxPyCheckForApp()) SWIG_fail
;
43562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43563 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
);
43564 wxPyEndAllowThreads(__tstate
);
43565 if (PyErr_Occurred()) SWIG_fail
;
43567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43598 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43599 PyObject
*resultobj
= 0;
43600 wxDirPickerCtrl
*result
= 0 ;
43602 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
43604 if (!wxPyCheckForApp()) SWIG_fail
;
43605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43606 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
43607 wxPyEndAllowThreads(__tstate
);
43608 if (PyErr_Occurred()) SWIG_fail
;
43610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43617 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43618 PyObject
*resultobj
= 0;
43619 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43620 wxWindow
*arg2
= (wxWindow
*) 0 ;
43621 int arg3
= (int) -1 ;
43622 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43623 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43624 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
43625 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43626 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43627 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43628 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43629 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43630 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
43631 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43632 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43633 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
43634 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43642 bool temp4
= false ;
43643 bool temp5
= false ;
43650 bool temp10
= false ;
43651 PyObject
* obj0
= 0 ;
43652 PyObject
* obj1
= 0 ;
43653 PyObject
* obj2
= 0 ;
43654 PyObject
* obj3
= 0 ;
43655 PyObject
* obj4
= 0 ;
43656 PyObject
* obj5
= 0 ;
43657 PyObject
* obj6
= 0 ;
43658 PyObject
* obj7
= 0 ;
43659 PyObject
* obj8
= 0 ;
43660 PyObject
* obj9
= 0 ;
43661 char * kwnames
[] = {
43662 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
43667 if (!SWIG_IsOK(res1
)) {
43668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43670 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
43671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43672 if (!SWIG_IsOK(res2
)) {
43673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43675 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43678 if (!SWIG_IsOK(ecode3
)) {
43679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43681 arg3
= static_cast< int >(val3
);
43685 arg4
= wxString_in_helper(obj3
);
43686 if (arg4
== NULL
) SWIG_fail
;
43692 arg5
= wxString_in_helper(obj4
);
43693 if (arg5
== NULL
) SWIG_fail
;
43700 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43706 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43710 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43711 if (!SWIG_IsOK(ecode8
)) {
43712 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
43714 arg8
= static_cast< long >(val8
);
43717 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43718 if (!SWIG_IsOK(res9
)) {
43719 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43724 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43728 arg10
= wxString_in_helper(obj9
);
43729 if (arg10
== NULL
) SWIG_fail
;
43734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43735 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
);
43736 wxPyEndAllowThreads(__tstate
);
43737 if (PyErr_Occurred()) SWIG_fail
;
43740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43772 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43773 PyObject
*resultobj
= 0;
43774 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43778 PyObject
*swig_obj
[1] ;
43780 if (!args
) SWIG_fail
;
43781 swig_obj
[0] = args
;
43782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
43783 if (!SWIG_IsOK(res1
)) {
43784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
43786 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
43788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43789 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
43790 wxPyEndAllowThreads(__tstate
);
43791 if (PyErr_Occurred()) SWIG_fail
;
43795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43806 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43807 PyObject
*resultobj
= 0;
43808 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43809 wxString
*arg2
= 0 ;
43812 bool temp2
= false ;
43813 PyObject
* obj0
= 0 ;
43814 PyObject
* obj1
= 0 ;
43815 char * kwnames
[] = {
43816 (char *) "self",(char *) "str", NULL
43819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
43821 if (!SWIG_IsOK(res1
)) {
43822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43824 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
43826 arg2
= wxString_in_helper(obj1
);
43827 if (arg2
== NULL
) SWIG_fail
;
43831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43832 (arg1
)->SetPath((wxString
const &)*arg2
);
43833 wxPyEndAllowThreads(__tstate
);
43834 if (PyErr_Occurred()) SWIG_fail
;
43836 resultobj
= SWIG_Py_Void();
43851 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43854 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
43855 return SWIG_Py_Void();
43858 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43859 return SWIG_Python_InitShadowInstance(args
);
43862 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43863 PyObject
*resultobj
= 0;
43865 wxObject
*arg2
= (wxObject
*) 0 ;
43867 wxString
*arg4
= 0 ;
43868 wxFileDirPickerEvent
*result
= 0 ;
43875 bool temp4
= false ;
43876 PyObject
* obj0
= 0 ;
43877 PyObject
* obj1
= 0 ;
43878 PyObject
* obj2
= 0 ;
43879 PyObject
* obj3
= 0 ;
43880 char * kwnames
[] = {
43881 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
43884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43885 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
43886 if (!SWIG_IsOK(ecode1
)) {
43887 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
43889 arg1
= static_cast< wxEventType
>(val1
);
43890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
43891 if (!SWIG_IsOK(res2
)) {
43892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
43894 arg2
= reinterpret_cast< wxObject
* >(argp2
);
43895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43896 if (!SWIG_IsOK(ecode3
)) {
43897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
43899 arg3
= static_cast< int >(val3
);
43901 arg4
= wxString_in_helper(obj3
);
43902 if (arg4
== NULL
) SWIG_fail
;
43906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43907 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
43908 wxPyEndAllowThreads(__tstate
);
43909 if (PyErr_Occurred()) SWIG_fail
;
43911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
43926 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43927 PyObject
*resultobj
= 0;
43928 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 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_wxFileDirPickerEvent
, 0 | 0 );
43937 if (!SWIG_IsOK(res1
)) {
43938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
43940 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
43942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43943 result
= ((wxFileDirPickerEvent
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_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43961 PyObject
*resultobj
= 0;
43962 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
43963 wxString
*arg2
= 0 ;
43966 bool temp2
= false ;
43967 PyObject
* obj0
= 0 ;
43968 PyObject
* obj1
= 0 ;
43969 char * kwnames
[] = {
43970 (char *) "self",(char *) "p", NULL
43973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
43975 if (!SWIG_IsOK(res1
)) {
43976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
43978 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(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
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44008 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44009 return SWIG_Py_Void();
44012 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44013 return SWIG_Python_InitShadowInstance(args
);
44016 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44017 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44022 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44023 PyObject
*pyobj
= 0;
44027 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44029 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44036 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44037 PyObject
*resultobj
= 0;
44038 wxWindow
*arg1
= (wxWindow
*) 0 ;
44039 int arg2
= (int) -1 ;
44040 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44041 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44046 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44049 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44051 wxFontPickerCtrl
*result
= 0 ;
44064 bool temp8
= false ;
44065 PyObject
* obj0
= 0 ;
44066 PyObject
* obj1
= 0 ;
44067 PyObject
* obj2
= 0 ;
44068 PyObject
* obj3
= 0 ;
44069 PyObject
* obj4
= 0 ;
44070 PyObject
* obj5
= 0 ;
44071 PyObject
* obj6
= 0 ;
44072 PyObject
* obj7
= 0 ;
44073 char * kwnames
[] = {
44074 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44079 if (!SWIG_IsOK(res1
)) {
44080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44085 if (!SWIG_IsOK(ecode2
)) {
44086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44088 arg2
= static_cast< int >(val2
);
44091 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44092 if (!SWIG_IsOK(res3
)) {
44093 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44098 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44113 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44114 if (!SWIG_IsOK(ecode6
)) {
44115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44117 arg6
= static_cast< long >(val6
);
44120 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44121 if (!SWIG_IsOK(res7
)) {
44122 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44127 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44131 arg8
= wxString_in_helper(obj7
);
44132 if (arg8
== NULL
) SWIG_fail
;
44137 if (!wxPyCheckForApp()) SWIG_fail
;
44138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44139 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44140 wxPyEndAllowThreads(__tstate
);
44141 if (PyErr_Occurred()) SWIG_fail
;
44143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44158 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44159 PyObject
*resultobj
= 0;
44160 wxFontPickerCtrl
*result
= 0 ;
44162 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44164 if (!wxPyCheckForApp()) SWIG_fail
;
44165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44166 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44167 wxPyEndAllowThreads(__tstate
);
44168 if (PyErr_Occurred()) SWIG_fail
;
44170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44177 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44178 PyObject
*resultobj
= 0;
44179 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44180 wxWindow
*arg2
= (wxWindow
*) 0 ;
44181 int arg3
= (int) -1 ;
44182 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44183 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44184 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44185 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44186 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44187 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44188 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44189 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44190 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44191 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44192 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44208 bool temp9
= false ;
44209 PyObject
* obj0
= 0 ;
44210 PyObject
* obj1
= 0 ;
44211 PyObject
* obj2
= 0 ;
44212 PyObject
* obj3
= 0 ;
44213 PyObject
* obj4
= 0 ;
44214 PyObject
* obj5
= 0 ;
44215 PyObject
* obj6
= 0 ;
44216 PyObject
* obj7
= 0 ;
44217 PyObject
* obj8
= 0 ;
44218 char * kwnames
[] = {
44219 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44224 if (!SWIG_IsOK(res1
)) {
44225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44227 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44229 if (!SWIG_IsOK(res2
)) {
44230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44232 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44235 if (!SWIG_IsOK(ecode3
)) {
44236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44238 arg3
= static_cast< int >(val3
);
44241 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44242 if (!SWIG_IsOK(res4
)) {
44243 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44248 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44253 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44259 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44263 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44264 if (!SWIG_IsOK(ecode7
)) {
44265 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44267 arg7
= static_cast< long >(val7
);
44270 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44271 if (!SWIG_IsOK(res8
)) {
44272 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44277 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44281 arg9
= wxString_in_helper(obj8
);
44282 if (arg9
== NULL
) SWIG_fail
;
44287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44288 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44289 wxPyEndAllowThreads(__tstate
);
44290 if (PyErr_Occurred()) SWIG_fail
;
44293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44309 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44310 PyObject
*resultobj
= 0;
44311 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44315 PyObject
*swig_obj
[1] ;
44317 if (!args
) SWIG_fail
;
44318 swig_obj
[0] = args
;
44319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44320 if (!SWIG_IsOK(res1
)) {
44321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44323 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44326 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44327 wxPyEndAllowThreads(__tstate
);
44328 if (PyErr_Occurred()) SWIG_fail
;
44330 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44337 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44338 PyObject
*resultobj
= 0;
44339 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44345 PyObject
* obj0
= 0 ;
44346 PyObject
* obj1
= 0 ;
44347 char * kwnames
[] = {
44348 (char *) "self",(char *) "f", NULL
44351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44353 if (!SWIG_IsOK(res1
)) {
44354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44356 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44358 if (!SWIG_IsOK(res2
)) {
44359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44364 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44367 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44368 wxPyEndAllowThreads(__tstate
);
44369 if (PyErr_Occurred()) SWIG_fail
;
44371 resultobj
= SWIG_Py_Void();
44378 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44379 PyObject
*resultobj
= 0;
44380 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44381 unsigned int arg2
;
44384 unsigned int val2
;
44386 PyObject
* obj0
= 0 ;
44387 PyObject
* obj1
= 0 ;
44388 char * kwnames
[] = {
44389 (char *) "self",(char *) "max", NULL
44392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44394 if (!SWIG_IsOK(res1
)) {
44395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44397 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44398 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44399 if (!SWIG_IsOK(ecode2
)) {
44400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44402 arg2
= static_cast< unsigned int >(val2
);
44404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44405 (arg1
)->SetMaxPointSize(arg2
);
44406 wxPyEndAllowThreads(__tstate
);
44407 if (PyErr_Occurred()) SWIG_fail
;
44409 resultobj
= SWIG_Py_Void();
44416 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44417 PyObject
*resultobj
= 0;
44418 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44419 unsigned int result
;
44422 PyObject
*swig_obj
[1] ;
44424 if (!args
) SWIG_fail
;
44425 swig_obj
[0] = args
;
44426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44427 if (!SWIG_IsOK(res1
)) {
44428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44430 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44433 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44434 wxPyEndAllowThreads(__tstate
);
44435 if (PyErr_Occurred()) SWIG_fail
;
44437 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44444 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44447 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44448 return SWIG_Py_Void();
44451 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44452 return SWIG_Python_InitShadowInstance(args
);
44455 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44456 PyObject
*resultobj
= 0;
44457 wxObject
*arg1
= (wxObject
*) 0 ;
44460 wxFontPickerEvent
*result
= 0 ;
44467 PyObject
* obj0
= 0 ;
44468 PyObject
* obj1
= 0 ;
44469 PyObject
* obj2
= 0 ;
44470 char * kwnames
[] = {
44471 (char *) "generator",(char *) "id",(char *) "f", NULL
44474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44476 if (!SWIG_IsOK(res1
)) {
44477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44479 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44481 if (!SWIG_IsOK(ecode2
)) {
44482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44484 arg2
= static_cast< int >(val2
);
44485 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44486 if (!SWIG_IsOK(res3
)) {
44487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44492 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44495 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
44496 wxPyEndAllowThreads(__tstate
);
44497 if (PyErr_Occurred()) SWIG_fail
;
44499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
44506 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44507 PyObject
*resultobj
= 0;
44508 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44512 PyObject
*swig_obj
[1] ;
44514 if (!args
) SWIG_fail
;
44515 swig_obj
[0] = args
;
44516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44517 if (!SWIG_IsOK(res1
)) {
44518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44520 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44523 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
44524 wxPyEndAllowThreads(__tstate
);
44525 if (PyErr_Occurred()) SWIG_fail
;
44527 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44534 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44535 PyObject
*resultobj
= 0;
44536 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44542 PyObject
* obj0
= 0 ;
44543 PyObject
* obj1
= 0 ;
44544 char * kwnames
[] = {
44545 (char *) "self",(char *) "c", NULL
44548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44550 if (!SWIG_IsOK(res1
)) {
44551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44553 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44555 if (!SWIG_IsOK(res2
)) {
44556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44561 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44564 (arg1
)->SetFont((wxFont
const &)*arg2
);
44565 wxPyEndAllowThreads(__tstate
);
44566 if (PyErr_Occurred()) SWIG_fail
;
44568 resultobj
= SWIG_Py_Void();
44575 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44578 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
44579 return SWIG_Py_Void();
44582 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44583 return SWIG_Python_InitShadowInstance(args
);
44586 static PyMethodDef SwigMethods
[] = {
44587 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
44589 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
44591 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
44592 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
44594 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
44595 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
44597 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
44599 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
44600 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
44601 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
44602 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
44603 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44606 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
44610 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
44611 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
44612 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
44613 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44614 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
44615 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
44617 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
44618 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
44620 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
44622 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
44623 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
44625 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
44626 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44627 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
44628 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44629 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
44630 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
44632 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
44633 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
44635 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44636 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
44637 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
44639 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
44640 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
44641 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44642 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
44643 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
44644 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
44647 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
44648 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
44652 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
44654 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
44655 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
44656 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
44657 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
44658 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
44659 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
44660 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
44661 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
44662 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
44664 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
44665 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
44667 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
44670 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
44672 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
44673 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
44675 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
44677 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
44679 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
44680 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
44682 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44683 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44684 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
44685 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
44686 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
44688 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44689 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
44690 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
44691 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44692 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
44693 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
44694 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44695 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
44696 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44698 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44699 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
44700 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
44701 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
44703 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
44705 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
44709 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
44710 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44711 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
44712 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44721 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
44723 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
44728 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
44734 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
44735 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
44737 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
44741 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
44742 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
44743 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
44745 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
44746 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
44756 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
44757 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
44758 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
44759 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
44760 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
44761 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
44762 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
44764 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
44765 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
44766 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
44767 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
44768 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
44769 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
44770 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
44771 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
44772 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
44773 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
44775 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
44776 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
44778 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
44780 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
44785 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
44786 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
44787 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
44788 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
44789 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
44790 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
44791 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
44792 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
44797 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
44798 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
44806 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
44812 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
44813 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
44814 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
44815 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
44816 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
44817 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
44818 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
44819 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
44820 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
44821 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
44823 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
44824 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
44825 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
44827 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
44832 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
44833 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
44835 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
44836 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
44837 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
44838 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
44839 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
44841 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
44843 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
44844 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
44845 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
44846 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
44847 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
44850 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
44851 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
44853 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
44855 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
44856 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
44857 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
44862 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
44864 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
44865 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
44867 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
44869 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
44873 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
44874 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
44877 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
44878 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
44880 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
44882 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
44883 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
44885 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
44888 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
44889 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
44891 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
44899 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
44900 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
44907 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
44908 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
44910 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
44912 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
44915 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
44916 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
44918 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
44920 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
44923 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
44924 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
44929 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
44930 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
44932 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
44934 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
44935 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
44937 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
44938 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
44939 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
44942 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
44943 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
44945 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
44948 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
44950 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
44951 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
44952 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
44954 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
44955 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
44960 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
44965 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
44967 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
44969 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
44971 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
44972 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
44975 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
44982 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
44984 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
44986 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
44988 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
44989 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
44991 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
44993 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
44996 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
44998 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
44999 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45001 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45002 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45004 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45006 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45007 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45008 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45010 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45011 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45013 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45015 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45016 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45017 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45019 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45020 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45022 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45030 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45031 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45032 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45034 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45035 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45037 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45039 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45040 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45041 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45042 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45044 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45045 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45046 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45047 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45048 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45049 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45050 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45051 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45052 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45053 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45054 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45055 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45056 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45057 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45058 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45059 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45060 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45061 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45062 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45064 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45071 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45073 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45075 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45083 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45088 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45089 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45106 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45107 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45108 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45109 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45112 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45113 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45115 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45116 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45119 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45120 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45121 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45123 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45126 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45127 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45129 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45133 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45134 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45135 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45136 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45137 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45138 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45140 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45141 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45142 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45143 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45144 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45145 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45146 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45160 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45161 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45162 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45163 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45164 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45165 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45166 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45167 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45168 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45169 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45170 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45171 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45172 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45173 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45174 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45175 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45176 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45177 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45178 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45179 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45180 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45181 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45182 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45183 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45184 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45185 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45186 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45187 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45188 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45189 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45190 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45191 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45192 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45193 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45194 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45195 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45197 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45198 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45199 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45200 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45201 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45202 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45203 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45204 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45205 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45206 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45207 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45208 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45209 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45210 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45211 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45212 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45213 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45214 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45215 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45216 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45217 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45218 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45219 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45220 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45222 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45223 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45225 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45232 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45233 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45234 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45249 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45250 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45251 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45253 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45254 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45256 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45262 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45263 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45268 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45270 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45271 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45294 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45296 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45297 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45299 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45303 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45305 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45309 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45310 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45311 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45312 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45313 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45316 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45317 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45318 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45319 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45321 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45322 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45324 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45326 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45327 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45328 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45330 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45332 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45334 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45336 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45337 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45339 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45341 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45344 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45345 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45346 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45348 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45351 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45352 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45354 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45356 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45357 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45385 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45386 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45387 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45394 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45404 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45409 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45411 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45417 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45423 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45424 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45425 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45427 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45431 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45433 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45434 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45437 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45438 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45440 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45442 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45443 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45444 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45446 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45447 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45448 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45449 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45451 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45454 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45455 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45457 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45465 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45466 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45467 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45468 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45469 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45470 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45471 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45472 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45473 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45475 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45477 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45479 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45481 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45484 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
45486 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
45488 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
45489 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
45490 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
45492 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
45493 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
45494 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
45496 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
45503 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
45504 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
45505 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
45506 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
45507 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
45513 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
45517 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
45519 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
45520 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
45525 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
45526 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
45528 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
45531 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
45533 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
45534 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45535 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45536 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
45538 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
45540 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
45542 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
45544 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
45546 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
45549 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
45550 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
45551 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
45553 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
45555 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
45556 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
45559 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
45561 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
45562 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
45563 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
45564 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
45565 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
45567 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
45569 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45571 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45572 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
45574 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45576 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45577 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
45579 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
45581 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45583 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45584 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
45586 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
45588 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45590 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45591 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
45593 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45595 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45596 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
45598 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
45600 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
45603 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45604 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45605 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
45607 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45609 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45610 { NULL
, NULL
, 0, NULL
}
45614 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45616 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45617 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45619 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45620 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45622 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45623 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45625 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45626 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45628 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45629 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45631 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
45632 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
45634 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
45635 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
45637 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45638 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45640 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
45641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
45643 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
45644 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
45646 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
45647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
45649 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45650 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45652 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45653 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45655 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
45656 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
45658 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45659 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45661 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45662 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45664 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
45665 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
45667 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
45668 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
45670 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
45671 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
45673 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
45674 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
45676 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
45677 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
45679 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
45680 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
45682 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
45683 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
45685 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45686 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45688 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45691 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45692 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45694 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45695 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45697 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45698 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45700 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45701 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45703 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45704 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45706 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45707 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45709 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
45710 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
45712 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
45713 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
45715 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45716 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45718 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45719 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45721 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45724 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45725 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45727 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45728 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45730 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45731 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45733 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45734 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45736 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
45737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
45739 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45740 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45742 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45743 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45745 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45746 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45748 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45749 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45751 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45752 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45754 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45755 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45757 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45760 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45761 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45763 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45764 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45766 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45767 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45769 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
45770 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
45772 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
45773 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
45775 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
45776 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
45778 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
45779 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
45781 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
45782 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
45784 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
45785 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
45787 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
45788 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
45790 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
45791 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
45793 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45794 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45796 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
45797 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
45799 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
45800 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
45802 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
45803 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
45805 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
45806 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
45808 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
45809 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
45811 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
45812 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
45814 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
45815 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
45817 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
45818 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
45820 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
45821 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
45823 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
45824 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
45826 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
45827 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
45829 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
45830 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
45832 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
45833 return (void *)((wxControl
*) ((wxComboBox
*) x
));
45835 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
45836 return (void *)((wxControl
*) ((wxPyControl
*) x
));
45838 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
45839 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
45841 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
45842 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
45844 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45845 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45847 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
45848 return (void *)((wxControl
*) ((wxGauge
*) x
));
45850 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
45851 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
45853 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
45854 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
45856 static void *_p_wxListbookTo_p_wxControl(void *x
) {
45857 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
45859 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
45860 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
45862 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
45863 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
45865 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
45866 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
45868 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
45869 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
45871 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
45872 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
45874 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
45875 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
45877 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
45878 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
45880 static void *_p_wxListViewTo_p_wxControl(void *x
) {
45881 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
45883 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
45884 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
45886 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
45887 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
45889 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
45890 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
45892 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
45893 return (void *)((wxControl
*) ((wxStaticText
*) x
));
45895 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
45896 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
45898 static void *_p_wxSliderTo_p_wxControl(void *x
) {
45899 return (void *)((wxControl
*) ((wxSlider
*) x
));
45901 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
45902 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
45904 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
45905 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
45907 static void *_p_wxButtonTo_p_wxControl(void *x
) {
45908 return (void *)((wxControl
*) ((wxButton
*) x
));
45910 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
45911 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
45913 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
45914 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
45916 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
45917 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
45919 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
45920 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
45922 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
45923 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
45925 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
45926 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
45928 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
45929 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
45931 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
45932 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
45934 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
45935 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
45937 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
45938 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
45940 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
45941 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
45943 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
45944 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
45946 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
45947 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
45949 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
45950 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
45952 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
45953 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
45955 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
45956 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
45958 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
45959 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
45961 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
45962 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
45964 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
45965 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
45967 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
45968 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
45970 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
45971 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
45973 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
45974 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
45976 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
45977 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
45979 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
45980 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
45982 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45983 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45985 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
45986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
45988 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45989 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45991 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45992 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45994 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
45995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
45997 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
45998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46000 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46001 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46003 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46006 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46009 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46012 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46013 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46015 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46016 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46018 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46021 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46024 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46027 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46030 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46031 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46033 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46034 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46036 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46037 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46039 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46042 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46045 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46048 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46051 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46054 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46057 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46060 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46063 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46066 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46069 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46072 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46075 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46078 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46081 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46084 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46087 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46090 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46093 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46096 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46099 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46102 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46105 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46108 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46111 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46114 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46117 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46120 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46123 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46126 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46129 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46132 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46133 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46135 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46136 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46138 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46139 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46141 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46142 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46144 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46145 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46147 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46148 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46150 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46153 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46154 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46156 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46157 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46159 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46160 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46162 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46163 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46165 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46168 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46169 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46171 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46172 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46174 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46175 return (void *)((wxObject
*) ((wxSizer
*) x
));
46177 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46178 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46180 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46183 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46186 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46187 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46189 static void *_p_wxEventTo_p_wxObject(void *x
) {
46190 return (void *)((wxObject
*) ((wxEvent
*) x
));
46192 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46193 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46195 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46196 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46198 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46199 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46201 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46204 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46207 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46208 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46210 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46213 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46216 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46217 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46219 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46220 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46222 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46223 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46225 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46226 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46228 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46229 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46231 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46232 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46234 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46237 static void *_p_wxControlTo_p_wxObject(void *x
) {
46238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46240 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46243 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46246 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46249 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46252 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46255 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46256 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46258 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46259 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46261 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46264 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46265 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46267 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46270 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46271 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46273 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46274 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46276 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46279 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46282 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46285 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46288 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46291 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46292 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46294 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46297 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46300 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46303 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46304 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46306 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46309 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46312 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46313 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46315 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46318 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46319 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46321 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46322 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46324 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46325 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46327 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46328 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46330 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46331 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46333 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46334 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46336 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46337 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46339 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46340 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46342 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46345 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46346 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46348 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46351 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46352 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46354 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46355 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46357 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46358 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46360 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46361 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46363 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46366 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46367 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46369 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46370 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46372 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46373 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46375 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46378 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46381 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46382 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46384 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46385 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46387 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46388 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46390 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46391 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46393 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46396 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46399 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46402 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46405 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46408 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46411 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46414 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46415 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46417 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46418 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46420 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46423 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46426 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46429 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46432 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46433 return (void *)((wxObject
*) ((wxListItem
*) x
));
46435 static void *_p_wxImageTo_p_wxObject(void *x
) {
46436 return (void *)((wxObject
*) ((wxImage
*) x
));
46438 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46439 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46441 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46444 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46445 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46447 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46450 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46453 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46456 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46459 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46462 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46465 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46468 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46469 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46471 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46472 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46474 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46475 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46477 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46478 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46480 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46483 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46484 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46486 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46489 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46490 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46492 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46493 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46495 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46496 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46498 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46499 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46501 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46502 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46504 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
46505 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46507 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
46508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46510 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46513 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46514 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46516 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
46517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46519 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46520 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46522 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46523 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46525 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46528 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
46529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46531 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
46532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46534 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
46535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46537 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
46538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46540 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
46541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46543 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46546 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
46547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46549 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
46550 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
46552 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
46553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46555 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46558 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46559 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46561 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46562 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46564 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
46565 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
46567 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
46568 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46570 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
46571 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
46573 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
46574 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
46576 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
46577 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
46579 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
46580 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46582 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46583 return (void *)((wxWindow
*) ((wxControl
*) x
));
46585 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
46586 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
46588 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
46589 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
46591 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
46592 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
46594 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
46595 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46597 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
46598 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
46600 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
46601 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
46603 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
46604 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
46606 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46607 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46609 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
46610 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
46612 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
46613 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
46615 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
46616 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46618 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
46619 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46621 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
46622 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
46624 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
46625 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
46627 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
46628 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
46630 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
46631 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
46633 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
46634 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46636 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
46637 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46639 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
46640 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46642 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
46643 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46645 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
46646 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46648 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
46649 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
46651 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
46652 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
46654 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
46655 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
46657 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
46658 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
46660 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
46661 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
46663 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
46664 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46666 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
46667 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
46669 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
46670 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
46672 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
46673 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46675 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
46676 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46678 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
46679 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
46681 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
46682 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46684 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
46685 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46687 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
46688 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46690 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
46691 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46693 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
46694 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
46696 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46697 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46699 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46700 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46702 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46703 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46705 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46706 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46708 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46709 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46711 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46712 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46714 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
46715 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46717 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
46718 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46720 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
46721 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46723 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
46724 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46726 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
46727 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46729 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
46730 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46732 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46733 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46735 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46736 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46738 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46739 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46741 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46742 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46744 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
46745 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46747 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
46748 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46750 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
46751 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46753 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
46754 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46756 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
46757 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46759 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46760 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46762 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46763 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46765 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
46766 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
46768 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
46769 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46771 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
46772 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46774 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
46775 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46777 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
46778 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
46780 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46781 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46783 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46784 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46786 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
46787 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46789 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
46790 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
46792 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
46793 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
46795 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
46796 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
46798 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46799 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46801 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
46802 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
46803 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};
46804 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
46805 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
46806 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
46807 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
46808 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
46809 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
46810 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
46811 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
46812 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
46813 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
46814 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
46815 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
46816 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
46817 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
46818 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
46819 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
46820 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
46821 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
46822 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
46823 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
46824 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
46825 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
46826 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
46827 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
46828 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
46829 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
46830 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
46831 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
46832 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
46833 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
46834 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
46835 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
46836 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
46837 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
46838 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
46839 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
46840 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
46841 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
46842 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
46843 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
46844 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
46845 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
46846 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
46847 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
46848 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
46849 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
46850 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
46851 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
46852 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
46853 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
46854 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
46855 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
46856 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
46857 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
46858 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
46859 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
46860 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
46861 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
46862 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
46863 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
46864 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
46865 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
46866 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
46867 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
46868 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
46869 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
46870 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
46871 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
46872 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
46873 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
46874 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
46875 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
46876 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
46877 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
46878 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
46879 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
46880 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
46881 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
46882 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
46883 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
46884 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
46885 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
46886 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
46887 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
46888 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
46889 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
46890 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
46891 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
46892 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
46893 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
46894 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
46895 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
46896 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
46897 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
46898 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
46899 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
46900 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
46901 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
46902 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
46903 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
46904 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
46905 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
46906 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
46907 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
46908 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
46909 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
46910 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
46911 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
46912 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
46913 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
46914 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
46915 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
46916 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
46917 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
46918 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
46919 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
46920 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
46921 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
46922 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
46923 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
46924 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
46925 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
46926 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
46927 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
46928 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
46929 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
46930 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
46931 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
46932 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
46933 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
46934 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
46935 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
46936 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
46937 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
46938 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
46939 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
46940 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
46941 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
46942 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
46943 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
46944 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
46945 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
46946 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
46947 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
46948 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
46949 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
46950 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
46951 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
46952 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
46953 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
46954 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
46955 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
46956 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
46957 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
46958 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
46959 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
46960 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
46961 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
46962 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
46963 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
46964 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
46965 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
46966 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
46967 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
46968 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
46969 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
46970 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
46971 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
46972 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
46973 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
46974 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
46975 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
46977 static swig_type_info
*swig_type_initial
[] = {
46980 &_swigt__p_form_ops_t
,
46983 &_swigt__p_unsigned_char
,
46984 &_swigt__p_unsigned_int
,
46985 &_swigt__p_unsigned_long
,
46987 &_swigt__p_wxANIHandler
,
46988 &_swigt__p_wxAcceleratorTable
,
46989 &_swigt__p_wxActivateEvent
,
46990 &_swigt__p_wxArrayInt
,
46991 &_swigt__p_wxArrayString
,
46992 &_swigt__p_wxBMPHandler
,
46993 &_swigt__p_wxBitmap
,
46994 &_swigt__p_wxBitmapButton
,
46995 &_swigt__p_wxBookCtrlBase
,
46996 &_swigt__p_wxBookCtrlBaseEvent
,
46997 &_swigt__p_wxBoxSizer
,
46998 &_swigt__p_wxButton
,
46999 &_swigt__p_wxCURHandler
,
47000 &_swigt__p_wxCheckBox
,
47001 &_swigt__p_wxCheckListBox
,
47002 &_swigt__p_wxChildFocusEvent
,
47003 &_swigt__p_wxChoice
,
47004 &_swigt__p_wxChoicebook
,
47005 &_swigt__p_wxChoicebookEvent
,
47006 &_swigt__p_wxClipboardTextEvent
,
47007 &_swigt__p_wxCloseEvent
,
47008 &_swigt__p_wxColour
,
47009 &_swigt__p_wxColourPickerCtrl
,
47010 &_swigt__p_wxColourPickerEvent
,
47011 &_swigt__p_wxComboBox
,
47012 &_swigt__p_wxCommandEvent
,
47013 &_swigt__p_wxContextHelp
,
47014 &_swigt__p_wxContextHelpButton
,
47015 &_swigt__p_wxContextMenuEvent
,
47016 &_swigt__p_wxControl
,
47017 &_swigt__p_wxControlWithItems
,
47018 &_swigt__p_wxCursor
,
47020 &_swigt__p_wxDateEvent
,
47021 &_swigt__p_wxDatePickerCtrl
,
47022 &_swigt__p_wxDateTime
,
47023 &_swigt__p_wxDirFilterListCtrl
,
47024 &_swigt__p_wxDirPickerCtrl
,
47025 &_swigt__p_wxDisplayChangedEvent
,
47026 &_swigt__p_wxDropFilesEvent
,
47027 &_swigt__p_wxDuplexMode
,
47028 &_swigt__p_wxEraseEvent
,
47029 &_swigt__p_wxEvent
,
47030 &_swigt__p_wxEvtHandler
,
47031 &_swigt__p_wxFSFile
,
47032 &_swigt__p_wxFileDirPickerEvent
,
47033 &_swigt__p_wxFilePickerCtrl
,
47034 &_swigt__p_wxFileSystem
,
47035 &_swigt__p_wxFlexGridSizer
,
47036 &_swigt__p_wxFocusEvent
,
47038 &_swigt__p_wxFontPickerCtrl
,
47039 &_swigt__p_wxFontPickerEvent
,
47040 &_swigt__p_wxGBSizerItem
,
47041 &_swigt__p_wxGIFHandler
,
47042 &_swigt__p_wxGauge
,
47043 &_swigt__p_wxGenericDirCtrl
,
47044 &_swigt__p_wxGenericDragImage
,
47045 &_swigt__p_wxGridBagSizer
,
47046 &_swigt__p_wxGridSizer
,
47047 &_swigt__p_wxHelpEvent
,
47048 &_swigt__p_wxHelpProvider
,
47049 &_swigt__p_wxHyperlinkCtrl
,
47050 &_swigt__p_wxHyperlinkEvent
,
47051 &_swigt__p_wxICOHandler
,
47053 &_swigt__p_wxIconizeEvent
,
47054 &_swigt__p_wxIdleEvent
,
47055 &_swigt__p_wxImage
,
47056 &_swigt__p_wxImageHandler
,
47057 &_swigt__p_wxImageList
,
47058 &_swigt__p_wxIndividualLayoutConstraint
,
47059 &_swigt__p_wxInitDialogEvent
,
47060 &_swigt__p_wxItemContainer
,
47061 &_swigt__p_wxJPEGHandler
,
47062 &_swigt__p_wxKeyEvent
,
47063 &_swigt__p_wxLayoutConstraints
,
47064 &_swigt__p_wxListBox
,
47065 &_swigt__p_wxListEvent
,
47066 &_swigt__p_wxListItem
,
47067 &_swigt__p_wxListItemAttr
,
47068 &_swigt__p_wxListView
,
47069 &_swigt__p_wxListbook
,
47070 &_swigt__p_wxListbookEvent
,
47071 &_swigt__p_wxMaximizeEvent
,
47072 &_swigt__p_wxMemoryDC
,
47074 &_swigt__p_wxMenuBar
,
47075 &_swigt__p_wxMenuEvent
,
47076 &_swigt__p_wxMenuItem
,
47077 &_swigt__p_wxMouseCaptureChangedEvent
,
47078 &_swigt__p_wxMouseEvent
,
47079 &_swigt__p_wxMoveEvent
,
47080 &_swigt__p_wxNavigationKeyEvent
,
47081 &_swigt__p_wxNcPaintEvent
,
47082 &_swigt__p_wxNotebook
,
47083 &_swigt__p_wxNotebookEvent
,
47084 &_swigt__p_wxNotifyEvent
,
47085 &_swigt__p_wxObject
,
47086 &_swigt__p_wxPCXHandler
,
47087 &_swigt__p_wxPNGHandler
,
47088 &_swigt__p_wxPNMHandler
,
47089 &_swigt__p_wxPaintEvent
,
47090 &_swigt__p_wxPaletteChangedEvent
,
47091 &_swigt__p_wxPaperSize
,
47092 &_swigt__p_wxPickerBase
,
47093 &_swigt__p_wxPoint
,
47094 &_swigt__p_wxPyApp
,
47095 &_swigt__p_wxPyCommandEvent
,
47096 &_swigt__p_wxPyControl
,
47097 &_swigt__p_wxPyEvent
,
47098 &_swigt__p_wxPyImageHandler
,
47099 &_swigt__p_wxPyListCtrl
,
47100 &_swigt__p_wxPySizer
,
47101 &_swigt__p_wxPyTreeCtrl
,
47102 &_swigt__p_wxPyTreeItemData
,
47103 &_swigt__p_wxPyValidator
,
47104 &_swigt__p_wxQueryNewPaletteEvent
,
47105 &_swigt__p_wxRadioBox
,
47106 &_swigt__p_wxRadioButton
,
47108 &_swigt__p_wxScrollBar
,
47109 &_swigt__p_wxScrollEvent
,
47110 &_swigt__p_wxScrollWinEvent
,
47111 &_swigt__p_wxSetCursorEvent
,
47112 &_swigt__p_wxShowEvent
,
47113 &_swigt__p_wxSimpleHelpProvider
,
47115 &_swigt__p_wxSizeEvent
,
47116 &_swigt__p_wxSizer
,
47117 &_swigt__p_wxSizerItem
,
47118 &_swigt__p_wxSlider
,
47119 &_swigt__p_wxSpinButton
,
47120 &_swigt__p_wxSpinCtrl
,
47121 &_swigt__p_wxSpinEvent
,
47122 &_swigt__p_wxStaticBitmap
,
47123 &_swigt__p_wxStaticBox
,
47124 &_swigt__p_wxStaticBoxSizer
,
47125 &_swigt__p_wxStaticLine
,
47126 &_swigt__p_wxStaticText
,
47127 &_swigt__p_wxStdDialogButtonSizer
,
47128 &_swigt__p_wxString
,
47129 &_swigt__p_wxSysColourChangedEvent
,
47130 &_swigt__p_wxTIFFHandler
,
47131 &_swigt__p_wxTextAttr
,
47132 &_swigt__p_wxTextCtrl
,
47133 &_swigt__p_wxTextUrlEvent
,
47134 &_swigt__p_wxToggleButton
,
47135 &_swigt__p_wxToolBar
,
47136 &_swigt__p_wxToolBarBase
,
47137 &_swigt__p_wxToolBarToolBase
,
47138 &_swigt__p_wxToolbook
,
47139 &_swigt__p_wxToolbookEvent
,
47140 &_swigt__p_wxTreeCtrl
,
47141 &_swigt__p_wxTreeEvent
,
47142 &_swigt__p_wxTreeItemId
,
47143 &_swigt__p_wxTreebook
,
47144 &_swigt__p_wxTreebookEvent
,
47145 &_swigt__p_wxUpdateUIEvent
,
47146 &_swigt__p_wxValidator
,
47147 &_swigt__p_wxVisualAttributes
,
47148 &_swigt__p_wxWindow
,
47149 &_swigt__p_wxWindowBase
,
47150 &_swigt__p_wxWindowCreateEvent
,
47151 &_swigt__p_wxWindowDestroyEvent
,
47152 &_swigt__p_wxXPMHandler
,
47155 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47156 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47157 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47158 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47159 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47160 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47161 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47162 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47163 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47164 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47165 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47166 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47172 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47173 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
47174 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47175 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47176 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47177 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47178 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47179 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47180 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47181 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47182 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47183 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47184 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47185 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47186 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47187 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47188 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47189 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}};
47190 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47191 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47192 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}};
47193 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
47194 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47195 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47196 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47197 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47198 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47199 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47200 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47201 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47202 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47203 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47204 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47205 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47206 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47207 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47208 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47209 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47210 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47211 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47212 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47213 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47214 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47215 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47216 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47217 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47218 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47219 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47220 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47221 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47222 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47223 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47224 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47225 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}};
47226 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47227 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47228 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47229 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47230 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}};
47231 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47232 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47233 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47234 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47235 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47236 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47237 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47238 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47239 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47240 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}};
47241 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47242 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47243 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47244 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47245 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}};
47246 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47247 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}};
47248 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47249 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47250 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47251 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47252 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47253 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47254 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47255 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47256 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47257 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47258 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}};
47259 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47260 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47261 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47262 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47263 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47264 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47265 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47266 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47267 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47268 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47269 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47270 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47271 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47272 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47273 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47274 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47275 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47276 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47277 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47278 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47279 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47280 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47281 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47282 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47283 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47284 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47285 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47286 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47287 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47288 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47289 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}};
47290 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47291 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}};
47292 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47293 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47294 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}};
47295 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47296 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47297 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47298 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47299 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47300 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47301 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47302 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47303 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47304 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47305 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47306 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47307 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47308 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47309 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47310 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47311 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47312 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47313 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47314 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47315 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47316 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47317 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}};
47318 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47319 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47320 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47321 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47322 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47323 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47324 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47325 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47326 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}};
47327 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47328 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}};
47329 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47331 static swig_cast_info
*swig_cast_initial
[] = {
47334 _swigc__p_form_ops_t
,
47337 _swigc__p_unsigned_char
,
47338 _swigc__p_unsigned_int
,
47339 _swigc__p_unsigned_long
,
47341 _swigc__p_wxANIHandler
,
47342 _swigc__p_wxAcceleratorTable
,
47343 _swigc__p_wxActivateEvent
,
47344 _swigc__p_wxArrayInt
,
47345 _swigc__p_wxArrayString
,
47346 _swigc__p_wxBMPHandler
,
47347 _swigc__p_wxBitmap
,
47348 _swigc__p_wxBitmapButton
,
47349 _swigc__p_wxBookCtrlBase
,
47350 _swigc__p_wxBookCtrlBaseEvent
,
47351 _swigc__p_wxBoxSizer
,
47352 _swigc__p_wxButton
,
47353 _swigc__p_wxCURHandler
,
47354 _swigc__p_wxCheckBox
,
47355 _swigc__p_wxCheckListBox
,
47356 _swigc__p_wxChildFocusEvent
,
47357 _swigc__p_wxChoice
,
47358 _swigc__p_wxChoicebook
,
47359 _swigc__p_wxChoicebookEvent
,
47360 _swigc__p_wxClipboardTextEvent
,
47361 _swigc__p_wxCloseEvent
,
47362 _swigc__p_wxColour
,
47363 _swigc__p_wxColourPickerCtrl
,
47364 _swigc__p_wxColourPickerEvent
,
47365 _swigc__p_wxComboBox
,
47366 _swigc__p_wxCommandEvent
,
47367 _swigc__p_wxContextHelp
,
47368 _swigc__p_wxContextHelpButton
,
47369 _swigc__p_wxContextMenuEvent
,
47370 _swigc__p_wxControl
,
47371 _swigc__p_wxControlWithItems
,
47372 _swigc__p_wxCursor
,
47374 _swigc__p_wxDateEvent
,
47375 _swigc__p_wxDatePickerCtrl
,
47376 _swigc__p_wxDateTime
,
47377 _swigc__p_wxDirFilterListCtrl
,
47378 _swigc__p_wxDirPickerCtrl
,
47379 _swigc__p_wxDisplayChangedEvent
,
47380 _swigc__p_wxDropFilesEvent
,
47381 _swigc__p_wxDuplexMode
,
47382 _swigc__p_wxEraseEvent
,
47384 _swigc__p_wxEvtHandler
,
47385 _swigc__p_wxFSFile
,
47386 _swigc__p_wxFileDirPickerEvent
,
47387 _swigc__p_wxFilePickerCtrl
,
47388 _swigc__p_wxFileSystem
,
47389 _swigc__p_wxFlexGridSizer
,
47390 _swigc__p_wxFocusEvent
,
47392 _swigc__p_wxFontPickerCtrl
,
47393 _swigc__p_wxFontPickerEvent
,
47394 _swigc__p_wxGBSizerItem
,
47395 _swigc__p_wxGIFHandler
,
47397 _swigc__p_wxGenericDirCtrl
,
47398 _swigc__p_wxGenericDragImage
,
47399 _swigc__p_wxGridBagSizer
,
47400 _swigc__p_wxGridSizer
,
47401 _swigc__p_wxHelpEvent
,
47402 _swigc__p_wxHelpProvider
,
47403 _swigc__p_wxHyperlinkCtrl
,
47404 _swigc__p_wxHyperlinkEvent
,
47405 _swigc__p_wxICOHandler
,
47407 _swigc__p_wxIconizeEvent
,
47408 _swigc__p_wxIdleEvent
,
47410 _swigc__p_wxImageHandler
,
47411 _swigc__p_wxImageList
,
47412 _swigc__p_wxIndividualLayoutConstraint
,
47413 _swigc__p_wxInitDialogEvent
,
47414 _swigc__p_wxItemContainer
,
47415 _swigc__p_wxJPEGHandler
,
47416 _swigc__p_wxKeyEvent
,
47417 _swigc__p_wxLayoutConstraints
,
47418 _swigc__p_wxListBox
,
47419 _swigc__p_wxListEvent
,
47420 _swigc__p_wxListItem
,
47421 _swigc__p_wxListItemAttr
,
47422 _swigc__p_wxListView
,
47423 _swigc__p_wxListbook
,
47424 _swigc__p_wxListbookEvent
,
47425 _swigc__p_wxMaximizeEvent
,
47426 _swigc__p_wxMemoryDC
,
47428 _swigc__p_wxMenuBar
,
47429 _swigc__p_wxMenuEvent
,
47430 _swigc__p_wxMenuItem
,
47431 _swigc__p_wxMouseCaptureChangedEvent
,
47432 _swigc__p_wxMouseEvent
,
47433 _swigc__p_wxMoveEvent
,
47434 _swigc__p_wxNavigationKeyEvent
,
47435 _swigc__p_wxNcPaintEvent
,
47436 _swigc__p_wxNotebook
,
47437 _swigc__p_wxNotebookEvent
,
47438 _swigc__p_wxNotifyEvent
,
47439 _swigc__p_wxObject
,
47440 _swigc__p_wxPCXHandler
,
47441 _swigc__p_wxPNGHandler
,
47442 _swigc__p_wxPNMHandler
,
47443 _swigc__p_wxPaintEvent
,
47444 _swigc__p_wxPaletteChangedEvent
,
47445 _swigc__p_wxPaperSize
,
47446 _swigc__p_wxPickerBase
,
47449 _swigc__p_wxPyCommandEvent
,
47450 _swigc__p_wxPyControl
,
47451 _swigc__p_wxPyEvent
,
47452 _swigc__p_wxPyImageHandler
,
47453 _swigc__p_wxPyListCtrl
,
47454 _swigc__p_wxPySizer
,
47455 _swigc__p_wxPyTreeCtrl
,
47456 _swigc__p_wxPyTreeItemData
,
47457 _swigc__p_wxPyValidator
,
47458 _swigc__p_wxQueryNewPaletteEvent
,
47459 _swigc__p_wxRadioBox
,
47460 _swigc__p_wxRadioButton
,
47462 _swigc__p_wxScrollBar
,
47463 _swigc__p_wxScrollEvent
,
47464 _swigc__p_wxScrollWinEvent
,
47465 _swigc__p_wxSetCursorEvent
,
47466 _swigc__p_wxShowEvent
,
47467 _swigc__p_wxSimpleHelpProvider
,
47469 _swigc__p_wxSizeEvent
,
47471 _swigc__p_wxSizerItem
,
47472 _swigc__p_wxSlider
,
47473 _swigc__p_wxSpinButton
,
47474 _swigc__p_wxSpinCtrl
,
47475 _swigc__p_wxSpinEvent
,
47476 _swigc__p_wxStaticBitmap
,
47477 _swigc__p_wxStaticBox
,
47478 _swigc__p_wxStaticBoxSizer
,
47479 _swigc__p_wxStaticLine
,
47480 _swigc__p_wxStaticText
,
47481 _swigc__p_wxStdDialogButtonSizer
,
47482 _swigc__p_wxString
,
47483 _swigc__p_wxSysColourChangedEvent
,
47484 _swigc__p_wxTIFFHandler
,
47485 _swigc__p_wxTextAttr
,
47486 _swigc__p_wxTextCtrl
,
47487 _swigc__p_wxTextUrlEvent
,
47488 _swigc__p_wxToggleButton
,
47489 _swigc__p_wxToolBar
,
47490 _swigc__p_wxToolBarBase
,
47491 _swigc__p_wxToolBarToolBase
,
47492 _swigc__p_wxToolbook
,
47493 _swigc__p_wxToolbookEvent
,
47494 _swigc__p_wxTreeCtrl
,
47495 _swigc__p_wxTreeEvent
,
47496 _swigc__p_wxTreeItemId
,
47497 _swigc__p_wxTreebook
,
47498 _swigc__p_wxTreebookEvent
,
47499 _swigc__p_wxUpdateUIEvent
,
47500 _swigc__p_wxValidator
,
47501 _swigc__p_wxVisualAttributes
,
47502 _swigc__p_wxWindow
,
47503 _swigc__p_wxWindowBase
,
47504 _swigc__p_wxWindowCreateEvent
,
47505 _swigc__p_wxWindowDestroyEvent
,
47506 _swigc__p_wxXPMHandler
,
47510 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47512 static swig_const_info swig_const_table
[] = {
47513 {0, 0, 0, 0.0, 0, 0}};
47518 /* -----------------------------------------------------------------------------
47519 * Type initialization:
47520 * This problem is tough by the requirement that no dynamic
47521 * memory is used. Also, since swig_type_info structures store pointers to
47522 * swig_cast_info structures and swig_cast_info structures store pointers back
47523 * to swig_type_info structures, we need some lookup code at initialization.
47524 * The idea is that swig generates all the structures that are needed.
47525 * The runtime then collects these partially filled structures.
47526 * The SWIG_InitializeModule function takes these initial arrays out of
47527 * swig_module, and does all the lookup, filling in the swig_module.types
47528 * array with the correct data and linking the correct swig_cast_info
47529 * structures together.
47531 * The generated swig_type_info structures are assigned staticly to an initial
47532 * array. We just loop though that array, and handle each type individually.
47533 * First we lookup if this type has been already loaded, and if so, use the
47534 * loaded structure instead of the generated one. Then we have to fill in the
47535 * cast linked list. The cast data is initially stored in something like a
47536 * two-dimensional array. Each row corresponds to a type (there are the same
47537 * number of rows as there are in the swig_type_initial array). Each entry in
47538 * a column is one of the swig_cast_info structures for that type.
47539 * The cast_initial array is actually an array of arrays, because each row has
47540 * a variable number of columns. So to actually build the cast linked list,
47541 * we find the array of casts associated with the type, and loop through it
47542 * adding the casts to the list. The one last trick we need to do is making
47543 * sure the type pointer in the swig_cast_info struct is correct.
47545 * First off, we lookup the cast->type name to see if it is already loaded.
47546 * There are three cases to handle:
47547 * 1) If the cast->type has already been loaded AND the type we are adding
47548 * casting info to has not been loaded (it is in this module), THEN we
47549 * replace the cast->type pointer with the type pointer that has already
47551 * 2) If BOTH types (the one we are adding casting info to, and the
47552 * cast->type) are loaded, THEN the cast info has already been loaded by
47553 * the previous module so we just ignore it.
47554 * 3) Finally, if cast->type has not already been loaded, then we add that
47555 * swig_cast_info to the linked list (because the cast->type) pointer will
47557 * ----------------------------------------------------------------------------- */
47567 #define SWIGRUNTIME_DEBUG
47571 SWIG_InitializeModule(void *clientdata
) {
47573 swig_module_info
*module_head
;
47574 static int init_run
= 0;
47576 clientdata
= clientdata
;
47578 if (init_run
) return;
47581 /* Initialize the swig_module */
47582 swig_module
.type_initial
= swig_type_initial
;
47583 swig_module
.cast_initial
= swig_cast_initial
;
47585 /* Try and load any already created modules */
47586 module_head
= SWIG_GetModule(clientdata
);
47588 swig_module
.next
= module_head
->next
;
47589 module_head
->next
= &swig_module
;
47591 /* This is the first module loaded */
47592 swig_module
.next
= &swig_module
;
47593 SWIG_SetModule(clientdata
, &swig_module
);
47596 /* Now work on filling in swig_module.types */
47597 #ifdef SWIGRUNTIME_DEBUG
47598 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
47600 for (i
= 0; i
< swig_module
.size
; ++i
) {
47601 swig_type_info
*type
= 0;
47602 swig_type_info
*ret
;
47603 swig_cast_info
*cast
;
47605 #ifdef SWIGRUNTIME_DEBUG
47606 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
47609 /* if there is another module already loaded */
47610 if (swig_module
.next
!= &swig_module
) {
47611 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
47614 /* Overwrite clientdata field */
47615 #ifdef SWIGRUNTIME_DEBUG
47616 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
47618 if (swig_module
.type_initial
[i
]->clientdata
) {
47619 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
47620 #ifdef SWIGRUNTIME_DEBUG
47621 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
47625 type
= swig_module
.type_initial
[i
];
47628 /* Insert casting types */
47629 cast
= swig_module
.cast_initial
[i
];
47630 while (cast
->type
) {
47631 /* Don't need to add information already in the list */
47633 #ifdef SWIGRUNTIME_DEBUG
47634 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
47636 if (swig_module
.next
!= &swig_module
) {
47637 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
47638 #ifdef SWIGRUNTIME_DEBUG
47639 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
47643 if (type
== swig_module
.type_initial
[i
]) {
47644 #ifdef SWIGRUNTIME_DEBUG
47645 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
47650 /* Check for casting already in the list */
47651 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
47652 #ifdef SWIGRUNTIME_DEBUG
47653 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
47655 if (!ocast
) ret
= 0;
47660 #ifdef SWIGRUNTIME_DEBUG
47661 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
47664 type
->cast
->prev
= cast
;
47665 cast
->next
= type
->cast
;
47671 /* Set entry in modules->types array equal to the type */
47672 swig_module
.types
[i
] = type
;
47674 swig_module
.types
[i
] = 0;
47676 #ifdef SWIGRUNTIME_DEBUG
47677 printf("**** SWIG_InitializeModule: Cast List ******\n");
47678 for (i
= 0; i
< swig_module
.size
; ++i
) {
47680 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
47681 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
47682 while (cast
->type
) {
47683 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
47687 printf("---- Total casts: %d\n",j
);
47689 printf("**** SWIG_InitializeModule: Cast List ******\n");
47693 /* This function will propagate the clientdata field of type to
47694 * any new swig_type_info structures that have been added into the list
47695 * of equivalent types. It is like calling
47696 * SWIG_TypeClientData(type, clientdata) a second time.
47699 SWIG_PropagateClientData(void) {
47701 swig_cast_info
*equiv
;
47702 static int init_run
= 0;
47704 if (init_run
) return;
47707 for (i
= 0; i
< swig_module
.size
; i
++) {
47708 if (swig_module
.types
[i
]->clientdata
) {
47709 equiv
= swig_module
.types
[i
]->cast
;
47711 if (!equiv
->converter
) {
47712 if (equiv
->type
&& !equiv
->type
->clientdata
)
47713 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
47715 equiv
= equiv
->next
;
47735 /* Python-specific SWIG API */
47736 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47737 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47738 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47740 /* -----------------------------------------------------------------------------
47741 * global variable support code.
47742 * ----------------------------------------------------------------------------- */
47744 typedef struct swig_globalvar
{
47745 char *name
; /* Name of global variable */
47746 PyObject
*(*get_attr
)(void); /* Return the current value */
47747 int (*set_attr
)(PyObject
*); /* Set the value */
47748 struct swig_globalvar
*next
;
47751 typedef struct swig_varlinkobject
{
47753 swig_globalvar
*vars
;
47754 } swig_varlinkobject
;
47756 SWIGINTERN PyObject
*
47757 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
47758 return PyString_FromString("<Swig global variables>");
47761 SWIGINTERN PyObject
*
47762 swig_varlink_str(swig_varlinkobject
*v
) {
47763 PyObject
*str
= PyString_FromString("(");
47764 swig_globalvar
*var
;
47765 for (var
= v
->vars
; var
; var
=var
->next
) {
47766 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
47767 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
47769 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
47774 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
47775 PyObject
*str
= swig_varlink_str(v
);
47776 fprintf(fp
,"Swig global variables ");
47777 fprintf(fp
,"%s\n", PyString_AsString(str
));
47783 swig_varlink_dealloc(swig_varlinkobject
*v
) {
47784 swig_globalvar
*var
= v
->vars
;
47786 swig_globalvar
*n
= var
->next
;
47793 SWIGINTERN PyObject
*
47794 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47795 PyObject
*res
= NULL
;
47796 swig_globalvar
*var
= v
->vars
;
47798 if (strcmp(var
->name
,n
) == 0) {
47799 res
= (*var
->get_attr
)();
47804 if (res
== NULL
&& !PyErr_Occurred()) {
47805 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47811 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47813 swig_globalvar
*var
= v
->vars
;
47815 if (strcmp(var
->name
,n
) == 0) {
47816 res
= (*var
->set_attr
)(p
);
47821 if (res
== 1 && !PyErr_Occurred()) {
47822 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47827 SWIGINTERN PyTypeObject
*
47828 swig_varlink_type(void) {
47829 static char varlink__doc__
[] = "Swig var link object";
47830 static PyTypeObject varlink_type
;
47831 static int type_init
= 0;
47833 const PyTypeObject tmp
47835 PyObject_HEAD_INIT(NULL
)
47836 0, /* Number of items in variable part (ob_size) */
47837 (char *)"swigvarlink", /* Type name (tp_name) */
47838 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47839 0, /* Itemsize (tp_itemsize) */
47840 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
47841 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47842 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47843 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47844 0, /* tp_compare */
47845 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47846 0, /* tp_as_number */
47847 0, /* tp_as_sequence */
47848 0, /* tp_as_mapping */
47851 (reprfunc
)swig_varlink_str
, /* tp_str */
47852 0, /* tp_getattro */
47853 0, /* tp_setattro */
47854 0, /* tp_as_buffer */
47856 varlink__doc__
, /* tp_doc */
47857 0, /* tp_traverse */
47859 0, /* tp_richcompare */
47860 0, /* tp_weaklistoffset */
47861 #if PY_VERSION_HEX >= 0x02020000
47862 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47864 #if PY_VERSION_HEX >= 0x02030000
47867 #ifdef COUNT_ALLOCS
47868 0,0,0,0 /* tp_alloc -> tp_next */
47871 varlink_type
= tmp
;
47872 varlink_type
.ob_type
= &PyType_Type
;
47875 return &varlink_type
;
47878 /* Create a variable linking object for use later */
47879 SWIGINTERN PyObject
*
47880 SWIG_Python_newvarlink(void) {
47881 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
47885 return ((PyObject
*) result
);
47889 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47890 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
47891 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47893 size_t size
= strlen(name
)+1;
47894 gv
->name
= (char *)malloc(size
);
47896 strncpy(gv
->name
,name
,size
);
47897 gv
->get_attr
= get_attr
;
47898 gv
->set_attr
= set_attr
;
47899 gv
->next
= v
->vars
;
47905 SWIGINTERN PyObject
*
47907 static PyObject
*_SWIG_globals
= 0;
47908 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
47909 return _SWIG_globals
;
47912 /* -----------------------------------------------------------------------------
47913 * constants/methods manipulation
47914 * ----------------------------------------------------------------------------- */
47916 /* Install Constants */
47918 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47921 for (i
= 0; constants
[i
].type
; ++i
) {
47922 switch(constants
[i
].type
) {
47923 case SWIG_PY_POINTER
:
47924 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47926 case SWIG_PY_BINARY
:
47927 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47934 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
47940 /* -----------------------------------------------------------------------------*/
47941 /* Fix SwigMethods to carry the callback ptrs when needed */
47942 /* -----------------------------------------------------------------------------*/
47945 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47946 swig_const_info
*const_table
,
47947 swig_type_info
**types
,
47948 swig_type_info
**types_initial
) {
47950 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47951 char *c
= methods
[i
].ml_doc
;
47952 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47954 swig_const_info
*ci
= 0;
47955 char *name
= c
+ 10;
47956 for (j
= 0; const_table
[j
].type
; ++j
) {
47957 if (strncmp(const_table
[j
].name
, name
,
47958 strlen(const_table
[j
].name
)) == 0) {
47959 ci
= &(const_table
[j
]);
47964 size_t shift
= (ci
->ptype
) - types
;
47965 swig_type_info
*ty
= types_initial
[shift
];
47966 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47967 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47968 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47971 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
47973 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47975 strncpy(buff
, "swig_ptr: ", 10);
47977 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47978 methods
[i
].ml_doc
= ndoc
;
47990 /* -----------------------------------------------------------------------------*
47991 * Partial Init method
47992 * -----------------------------------------------------------------------------*/
47997 SWIGEXPORT
void SWIG_init(void) {
48000 /* Fix SwigMethods to carry the callback ptrs when needed */
48001 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48003 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48004 d
= PyModule_GetDict(m
);
48006 SWIG_InitializeModule(0);
48007 SWIG_InstallConstants(d
,swig_const_table
);
48010 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48011 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48012 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48013 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48014 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48015 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48016 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48017 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48018 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48019 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48020 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48021 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48022 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48023 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48024 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48025 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48026 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48027 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48028 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48029 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48030 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48031 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48032 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48033 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48034 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48035 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48036 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48037 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48038 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48039 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48040 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48041 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48042 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48043 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48044 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48045 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48046 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48047 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48048 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48049 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48050 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48051 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48052 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48053 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48054 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48055 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48056 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48057 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48058 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48059 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48060 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48061 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48062 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48063 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48064 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48065 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48066 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48067 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48068 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48069 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48070 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48071 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48072 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48073 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48074 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48075 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48076 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48077 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48078 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48079 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48080 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48081 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48082 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48083 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48084 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48085 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48086 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48087 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48088 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48089 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48090 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48091 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48092 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48093 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48094 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48095 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48096 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48097 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48098 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48099 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48100 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48101 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48102 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48103 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48104 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48105 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48106 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48107 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48108 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48109 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48110 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48111 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48112 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48113 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48114 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48115 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48116 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48117 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48118 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48119 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48120 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48121 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48122 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48123 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48124 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48125 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48126 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48127 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48128 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48129 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48130 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48131 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48132 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48133 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48134 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48135 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48136 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48137 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48138 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48139 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48140 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48141 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48142 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48143 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48144 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48145 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48146 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48147 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48148 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48149 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48150 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48151 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48152 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48153 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48154 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48155 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48156 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48157 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48158 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48159 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48160 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48161 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48162 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48163 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48164 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48165 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48166 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48167 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48168 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48169 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48170 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48171 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48172 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48173 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48174 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48175 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48176 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48177 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48178 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48179 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48180 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48181 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48182 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48183 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48184 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48185 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48186 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48187 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48188 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48189 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48190 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48191 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48192 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48193 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48194 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48195 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48196 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48197 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48198 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48199 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48200 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48201 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48202 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48203 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48204 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48205 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48206 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48207 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48208 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48209 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48210 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48211 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48212 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48213 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48214 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48215 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48216 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48217 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48218 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48219 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48220 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48221 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48222 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48223 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48224 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48225 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48226 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48227 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48228 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48229 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48230 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48231 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48232 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48233 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48234 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48235 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48236 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48237 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48238 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48239 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48240 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48241 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48242 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48243 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48244 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48245 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48246 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48247 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48251 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48252 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48253 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48254 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48255 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48256 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48257 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48258 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48260 // Map renamed classes back to their common name for OOR
48261 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48263 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48264 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48265 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48266 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48267 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48268 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48269 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48270 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48271 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48272 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48273 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48274 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48275 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48276 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48277 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48278 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48279 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48280 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48281 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48282 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48283 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48284 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48285 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48286 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48287 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48288 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48289 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48290 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48291 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48292 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48293 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48294 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48295 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48296 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48297 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48308 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48309 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48310 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48311 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48312 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48313 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48314 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48315 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48316 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48317 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48319 // Map renamed classes back to their common name for OOR
48320 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48321 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48323 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48324 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48325 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48326 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48327 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48328 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48329 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48330 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48331 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48332 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48333 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48334 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48335 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48337 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48339 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48340 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48341 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48342 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48343 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48344 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48345 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48346 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48347 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48348 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48349 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48350 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48351 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48352 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48353 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48354 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48355 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48356 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48357 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48358 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48359 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48360 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48361 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48362 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48363 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48364 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48365 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48366 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48367 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48368 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48369 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48370 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48371 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48372 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48373 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48374 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48375 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48376 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48377 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48378 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));