1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3112 return (wxWindow
*)self
->m_mainWin
;
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6188 long *arg2
= (long *) 0 ;
6189 long *arg3
= (long *) 0 ;
6193 int res2
= SWIG_TMPOBJ
;
6195 int res3
= SWIG_TMPOBJ
;
6196 PyObject
*swig_obj
[1] ;
6200 if (!args
) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6206 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 (arg1
)->GetSelection(arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2
)) {
6215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6220 if (SWIG_IsTmpObj(res3
)) {
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6232 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 PyObject
*resultobj
= 0;
6234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6238 PyObject
*swig_obj
[1] ;
6240 if (!args
) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6246 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_From_int(static_cast< int >(result
));
6260 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6263 wxString
*arg2
= 0 ;
6267 bool temp2
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "string", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6279 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6281 arg2
= wxString_in_helper(obj1
);
6282 if (arg2
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6308 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6312 wxString
*arg3
= 0 ;
6317 bool temp3
= false ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 PyObject
* obj2
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6330 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6332 if (!SWIG_IsOK(ecode2
)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6335 arg2
= static_cast< int >(val2
);
6337 arg3
= wxString_in_helper(obj2
);
6338 if (arg3
== NULL
) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6362 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 char * kwnames
[] = {
6373 (char *) "self",(char *) "editable", NULL
6376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6381 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6383 if (!SWIG_IsOK(ecode2
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6386 arg2
= static_cast< bool >(val2
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetEditable(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6405 PyObject
*swig_obj
[1] ;
6407 if (!args
) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6413 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 PyObject
* obj2
= 0 ;
6441 char * kwnames
[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6450 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6452 if (!SWIG_IsOK(ecode2
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6455 arg2
= static_cast< long >(val2
);
6456 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6457 if (!SWIG_IsOK(ecode3
)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6460 arg3
= static_cast< long >(val3
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->Remove(arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_Py_Void();
6474 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6488 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6563 PyObject
*swig_obj
[1] ;
6565 if (!args
) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6571 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SelectAll();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6586 PyObject
*resultobj
= 0;
6587 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6591 PyObject
*swig_obj
[1] ;
6593 if (!args
) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6599 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6616 PyObject
*resultobj
= 0;
6617 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6621 PyObject
*swig_obj
[1] ;
6623 if (!args
) SWIG_fail
;
6625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6626 if (!SWIG_IsOK(res1
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6629 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6651 PyObject
*swig_obj
[1] ;
6653 if (!args
) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6659 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6719 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6735 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6738 SwigValueWrapper
<wxVisualAttributes
> result
;
6741 PyObject
* obj0
= 0 ;
6742 char * kwnames
[] = {
6743 (char *) "variant", NULL
6746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6749 if (!SWIG_IsOK(ecode1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6752 arg1
= static_cast< wxWindowVariant
>(val1
);
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6768 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6772 return SWIG_Py_Void();
6775 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6776 return SWIG_Python_InitShadowInstance(args
);
6779 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6780 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6785 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6786 PyObject
*pyobj
= 0;
6790 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6792 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6799 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 wxWindow
*arg1
= (wxWindow
*) 0 ;
6802 int arg2
= (int) -1 ;
6803 int arg3
= (int) 100 ;
6804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6808 long arg6
= (long) wxGA_HORIZONTAL
;
6809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6811 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6813 wxGauge
*result
= 0 ;
6826 bool temp8
= false ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6829 PyObject
* obj2
= 0 ;
6830 PyObject
* obj3
= 0 ;
6831 PyObject
* obj4
= 0 ;
6832 PyObject
* obj5
= 0 ;
6833 PyObject
* obj6
= 0 ;
6834 PyObject
* obj7
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6847 if (!SWIG_IsOK(ecode2
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6850 arg2
= static_cast< int >(val2
);
6853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6854 if (!SWIG_IsOK(ecode3
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6857 arg3
= static_cast< int >(val3
);
6862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6872 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6873 if (!SWIG_IsOK(ecode6
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6876 arg6
= static_cast< long >(val6
);
6879 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6880 if (!SWIG_IsOK(res7
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6886 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6890 arg8
= wxString_in_helper(obj7
);
6891 if (arg8
== NULL
) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6917 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6919 wxGauge
*result
= 0 ;
6921 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxGauge
*)new wxGauge();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxGauge
*arg1
= (wxGauge
*) 0 ;
6939 wxWindow
*arg2
= (wxWindow
*) 0 ;
6940 int arg3
= (int) -1 ;
6941 int arg4
= (int) 100 ;
6942 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6943 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6944 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6945 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6946 long arg7
= (long) wxGA_HORIZONTAL
;
6947 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6948 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6949 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6950 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6966 bool temp9
= false ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6970 PyObject
* obj3
= 0 ;
6971 PyObject
* obj4
= 0 ;
6972 PyObject
* obj5
= 0 ;
6973 PyObject
* obj6
= 0 ;
6974 PyObject
* obj7
= 0 ;
6975 PyObject
* obj8
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6985 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6987 if (!SWIG_IsOK(res2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7000 if (!SWIG_IsOK(ecode4
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7003 arg4
= static_cast< int >(val4
);
7008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7018 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7019 if (!SWIG_IsOK(ecode7
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7022 arg7
= static_cast< long >(val7
);
7025 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7026 if (!SWIG_IsOK(res8
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7032 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7036 arg9
= wxString_in_helper(obj8
);
7037 if (arg9
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxGauge
*arg1
= (wxGauge
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "range", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7083 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7085 if (!SWIG_IsOK(ecode2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7088 arg2
= static_cast< int >(val2
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetRange(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_Py_Void();
7102 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7103 PyObject
*resultobj
= 0;
7104 wxGauge
*arg1
= (wxGauge
*) 0 ;
7108 PyObject
*swig_obj
[1] ;
7110 if (!args
) SWIG_fail
;
7112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7113 if (!SWIG_IsOK(res1
)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7116 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_From_int(static_cast< int >(result
));
7130 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxGauge
*arg1
= (wxGauge
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 char * kwnames
[] = {
7141 (char *) "self",(char *) "pos", NULL
7144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7146 if (!SWIG_IsOK(res1
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7149 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7151 if (!SWIG_IsOK(ecode2
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7154 arg2
= static_cast< int >(val2
);
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetValue(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 PyObject
*resultobj
= 0;
7170 wxGauge
*arg1
= (wxGauge
*) 0 ;
7174 PyObject
*swig_obj
[1] ;
7176 if (!args
) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7182 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_int(static_cast< int >(result
));
7196 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxGauge
*arg1
= (wxGauge
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7209 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_Py_Void();
7223 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7224 PyObject
*resultobj
= 0;
7225 wxGauge
*arg1
= (wxGauge
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7237 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxGauge
*arg1
= (wxGauge
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 char * kwnames
[] = {
7264 (char *) "self",(char *) "w", NULL
7267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7272 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7274 if (!SWIG_IsOK(ecode2
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7277 arg2
= static_cast< int >(val2
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 (arg1
)->SetShadowWidth(arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_Py_Void();
7291 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7292 PyObject
*resultobj
= 0;
7293 wxGauge
*arg1
= (wxGauge
*) 0 ;
7297 PyObject
*swig_obj
[1] ;
7299 if (!args
) SWIG_fail
;
7301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7302 if (!SWIG_IsOK(res1
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7305 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_From_int(static_cast< int >(result
));
7319 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxGauge
*arg1
= (wxGauge
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 char * kwnames
[] = {
7330 (char *) "self",(char *) "w", NULL
7333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7338 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7340 if (!SWIG_IsOK(ecode2
)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7343 arg2
= static_cast< int >(val2
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->SetBezelFace(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_Py_Void();
7357 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 PyObject
*resultobj
= 0;
7359 wxGauge
*arg1
= (wxGauge
*) 0 ;
7363 PyObject
*swig_obj
[1] ;
7365 if (!args
) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7371 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int(static_cast< int >(result
));
7385 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
= 0;
7387 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7388 SwigValueWrapper
<wxVisualAttributes
> result
;
7391 PyObject
* obj0
= 0 ;
7392 char * kwnames
[] = {
7393 (char *) "variant", NULL
7396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7399 if (!SWIG_IsOK(ecode1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7402 arg1
= static_cast< wxWindowVariant
>(val1
);
7405 if (!wxPyCheckForApp()) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7418 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7422 return SWIG_Py_Void();
7425 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7426 return SWIG_Python_InitShadowInstance(args
);
7429 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7430 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7435 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7436 PyObject
*pyobj
= 0;
7440 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7442 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7449 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7450 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7455 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7456 PyObject
*pyobj
= 0;
7460 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7462 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7469 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7470 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7475 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7476 PyObject
*pyobj
= 0;
7480 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7482 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7489 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
= 0;
7491 wxWindow
*arg1
= (wxWindow
*) 0 ;
7492 int arg2
= (int) -1 ;
7493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7499 long arg6
= (long) 0 ;
7500 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7502 wxStaticBox
*result
= 0 ;
7507 bool temp3
= false ;
7512 bool temp7
= false ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7515 PyObject
* obj2
= 0 ;
7516 PyObject
* obj3
= 0 ;
7517 PyObject
* obj4
= 0 ;
7518 PyObject
* obj5
= 0 ;
7519 PyObject
* obj6
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7532 if (!SWIG_IsOK(ecode2
)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7535 arg2
= static_cast< int >(val2
);
7539 arg3
= wxString_in_helper(obj2
);
7540 if (arg3
== NULL
) SWIG_fail
;
7547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7557 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7558 if (!SWIG_IsOK(ecode6
)) {
7559 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7561 arg6
= static_cast< long >(val6
);
7565 arg7
= wxString_in_helper(obj6
);
7566 if (arg7
== NULL
) SWIG_fail
;
7571 if (!wxPyCheckForApp()) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7600 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7601 PyObject
*resultobj
= 0;
7602 wxStaticBox
*result
= 0 ;
7604 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7606 if (!wxPyCheckForApp()) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (wxStaticBox
*)new wxStaticBox();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7619 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
= 0;
7621 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7622 wxWindow
*arg2
= (wxWindow
*) 0 ;
7623 int arg3
= (int) -1 ;
7624 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7625 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7626 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7627 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7628 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7629 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7630 long arg7
= (long) 0 ;
7631 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7632 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7640 bool temp4
= false ;
7645 bool temp8
= false ;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7648 PyObject
* obj2
= 0 ;
7649 PyObject
* obj3
= 0 ;
7650 PyObject
* obj4
= 0 ;
7651 PyObject
* obj5
= 0 ;
7652 PyObject
* obj6
= 0 ;
7653 PyObject
* obj7
= 0 ;
7654 char * kwnames
[] = {
7655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7660 if (!SWIG_IsOK(res1
)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7663 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7665 if (!SWIG_IsOK(res2
)) {
7666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7671 if (!SWIG_IsOK(ecode3
)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7674 arg3
= static_cast< int >(val3
);
7678 arg4
= wxString_in_helper(obj3
);
7679 if (arg4
== NULL
) SWIG_fail
;
7686 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7692 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7696 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7697 if (!SWIG_IsOK(ecode7
)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7700 arg7
= static_cast< long >(val7
);
7704 arg8
= wxString_in_helper(obj7
);
7705 if (arg8
== NULL
) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7740 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
= 0;
7742 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7743 SwigValueWrapper
<wxVisualAttributes
> result
;
7746 PyObject
* obj0
= 0 ;
7747 char * kwnames
[] = {
7748 (char *) "variant", NULL
7751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7754 if (!SWIG_IsOK(ecode1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7757 arg1
= static_cast< wxWindowVariant
>(val1
);
7760 if (!wxPyCheckForApp()) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7773 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7776 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7777 return SWIG_Py_Void();
7780 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7781 return SWIG_Python_InitShadowInstance(args
);
7784 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxWindow
*arg1
= (wxWindow
*) 0 ;
7787 int arg2
= (int) -1 ;
7788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7792 long arg5
= (long) wxLI_HORIZONTAL
;
7793 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7794 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7795 wxStaticLine
*result
= 0 ;
7804 bool temp6
= false ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7807 PyObject
* obj2
= 0 ;
7808 PyObject
* obj3
= 0 ;
7809 PyObject
* obj4
= 0 ;
7810 PyObject
* obj5
= 0 ;
7811 char * kwnames
[] = {
7812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7817 if (!SWIG_IsOK(res1
)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7823 if (!SWIG_IsOK(ecode2
)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7826 arg2
= static_cast< int >(val2
);
7831 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7837 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7841 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7842 if (!SWIG_IsOK(ecode5
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7845 arg5
= static_cast< long >(val5
);
7849 arg6
= wxString_in_helper(obj5
);
7850 if (arg6
== NULL
) SWIG_fail
;
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7876 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7877 PyObject
*resultobj
= 0;
7878 wxStaticLine
*result
= 0 ;
7880 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7882 if (!wxPyCheckForApp()) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxStaticLine
*)new wxStaticLine();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7895 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7898 wxWindow
*arg2
= (wxWindow
*) 0 ;
7899 int arg3
= (int) -1 ;
7900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7904 long arg6
= (long) wxLI_HORIZONTAL
;
7905 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7906 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7918 bool temp7
= false ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7922 PyObject
* obj3
= 0 ;
7923 PyObject
* obj4
= 0 ;
7924 PyObject
* obj5
= 0 ;
7925 PyObject
* obj6
= 0 ;
7926 char * kwnames
[] = {
7927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7932 if (!SWIG_IsOK(res1
)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7935 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7937 if (!SWIG_IsOK(res2
)) {
7938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7943 if (!SWIG_IsOK(ecode3
)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7946 arg3
= static_cast< int >(val3
);
7951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7961 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7962 if (!SWIG_IsOK(ecode6
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7965 arg6
= static_cast< long >(val6
);
7969 arg7
= wxString_in_helper(obj6
);
7970 if (arg7
== NULL
) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7997 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7998 PyObject
*resultobj
= 0;
7999 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8003 PyObject
*swig_obj
[1] ;
8005 if (!args
) SWIG_fail
;
8007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8008 if (!SWIG_IsOK(res1
)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8011 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8027 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 PyObject
*resultobj
= 0;
8031 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (int)wxStaticLine::GetDefaultSize();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= SWIG_From_int(static_cast< int >(result
));
8045 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
= 0;
8047 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8048 SwigValueWrapper
<wxVisualAttributes
> result
;
8051 PyObject
* obj0
= 0 ;
8052 char * kwnames
[] = {
8053 (char *) "variant", NULL
8056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8059 if (!SWIG_IsOK(ecode1
)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8062 arg1
= static_cast< wxWindowVariant
>(val1
);
8065 if (!wxPyCheckForApp()) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8078 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8081 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8082 return SWIG_Py_Void();
8085 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8086 return SWIG_Python_InitShadowInstance(args
);
8089 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxWindow
*arg1
= (wxWindow
*) 0 ;
8092 int arg2
= (int) -1 ;
8093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8099 long arg6
= (long) 0 ;
8100 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8102 wxStaticText
*result
= 0 ;
8107 bool temp3
= false ;
8112 bool temp7
= false ;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8115 PyObject
* obj2
= 0 ;
8116 PyObject
* obj3
= 0 ;
8117 PyObject
* obj4
= 0 ;
8118 PyObject
* obj5
= 0 ;
8119 PyObject
* obj6
= 0 ;
8120 char * kwnames
[] = {
8121 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8129 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8132 if (!SWIG_IsOK(ecode2
)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8135 arg2
= static_cast< int >(val2
);
8139 arg3
= wxString_in_helper(obj2
);
8140 if (arg3
== NULL
) SWIG_fail
;
8147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8157 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8158 if (!SWIG_IsOK(ecode6
)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8161 arg6
= static_cast< long >(val6
);
8165 arg7
= wxString_in_helper(obj6
);
8166 if (arg7
== NULL
) SWIG_fail
;
8171 if (!wxPyCheckForApp()) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8200 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 PyObject
*resultobj
= 0;
8202 wxStaticText
*result
= 0 ;
8204 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8206 if (!wxPyCheckForApp()) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (wxStaticText
*)new wxStaticText();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8219 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= 0;
8221 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8222 wxWindow
*arg2
= (wxWindow
*) 0 ;
8223 int arg3
= (int) -1 ;
8224 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8225 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8226 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8227 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8228 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8229 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8230 long arg7
= (long) 0 ;
8231 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8240 bool temp4
= false ;
8245 bool temp8
= false ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8248 PyObject
* obj2
= 0 ;
8249 PyObject
* obj3
= 0 ;
8250 PyObject
* obj4
= 0 ;
8251 PyObject
* obj5
= 0 ;
8252 PyObject
* obj6
= 0 ;
8253 PyObject
* obj7
= 0 ;
8254 char * kwnames
[] = {
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8260 if (!SWIG_IsOK(res1
)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8263 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8265 if (!SWIG_IsOK(res2
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8271 if (!SWIG_IsOK(ecode3
)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8274 arg3
= static_cast< int >(val3
);
8278 arg4
= wxString_in_helper(obj3
);
8279 if (arg4
== NULL
) SWIG_fail
;
8286 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8292 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8296 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8297 if (!SWIG_IsOK(ecode7
)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8300 arg7
= static_cast< long >(val7
);
8304 arg8
= wxString_in_helper(obj7
);
8305 if (arg8
== NULL
) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8340 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8342 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8350 char * kwnames
[] = {
8351 (char *) "self",(char *) "width", NULL
8354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8356 if (!SWIG_IsOK(res1
)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8359 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8361 if (!SWIG_IsOK(ecode2
)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8364 arg2
= static_cast< int >(val2
);
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_Py_Void();
8378 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
= 0;
8380 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8381 SwigValueWrapper
<wxVisualAttributes
> result
;
8384 PyObject
* obj0
= 0 ;
8385 char * kwnames
[] = {
8386 (char *) "variant", NULL
8389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8391 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8392 if (!SWIG_IsOK(ecode1
)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8395 arg1
= static_cast< wxWindowVariant
>(val1
);
8398 if (!wxPyCheckForApp()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8411 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8415 return SWIG_Py_Void();
8418 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 return SWIG_Python_InitShadowInstance(args
);
8422 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
= 0;
8424 wxWindow
*arg1
= (wxWindow
*) 0 ;
8425 int arg2
= (int) -1 ;
8426 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8427 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8432 long arg6
= (long) 0 ;
8433 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8434 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8435 wxStaticBitmap
*result
= 0 ;
8446 bool temp7
= false ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8449 PyObject
* obj2
= 0 ;
8450 PyObject
* obj3
= 0 ;
8451 PyObject
* obj4
= 0 ;
8452 PyObject
* obj5
= 0 ;
8453 PyObject
* obj6
= 0 ;
8454 char * kwnames
[] = {
8455 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8460 if (!SWIG_IsOK(res1
)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8463 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8466 if (!SWIG_IsOK(ecode2
)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8469 arg2
= static_cast< int >(val2
);
8472 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8473 if (!SWIG_IsOK(res3
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8479 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8494 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8495 if (!SWIG_IsOK(ecode6
)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8498 arg6
= static_cast< long >(val6
);
8502 arg7
= wxString_in_helper(obj6
);
8503 if (arg7
== NULL
) SWIG_fail
;
8508 if (!wxPyCheckForApp()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8529 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8530 PyObject
*resultobj
= 0;
8531 wxStaticBitmap
*result
= 0 ;
8533 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8535 if (!wxPyCheckForApp()) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8548 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
= 0;
8550 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8551 wxWindow
*arg2
= (wxWindow
*) 0 ;
8552 int arg3
= (int) -1 ;
8553 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8554 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8555 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8556 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8557 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8558 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8559 long arg7
= (long) 0 ;
8560 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8561 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8575 bool temp8
= false ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8578 PyObject
* obj2
= 0 ;
8579 PyObject
* obj3
= 0 ;
8580 PyObject
* obj4
= 0 ;
8581 PyObject
* obj5
= 0 ;
8582 PyObject
* obj6
= 0 ;
8583 PyObject
* obj7
= 0 ;
8584 char * kwnames
[] = {
8585 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8590 if (!SWIG_IsOK(res1
)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8593 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8595 if (!SWIG_IsOK(res2
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8601 if (!SWIG_IsOK(ecode3
)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8604 arg3
= static_cast< int >(val3
);
8607 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8608 if (!SWIG_IsOK(res4
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8614 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8619 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8625 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8629 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8630 if (!SWIG_IsOK(ecode7
)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8633 arg7
= static_cast< long >(val7
);
8637 arg8
= wxString_in_helper(obj7
);
8638 if (arg8
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8665 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8666 PyObject
*resultobj
= 0;
8667 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8671 PyObject
*swig_obj
[1] ;
8673 if (!args
) SWIG_fail
;
8675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8676 if (!SWIG_IsOK(res1
)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8679 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (arg1
)->GetBitmap();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8693 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
= 0;
8695 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8696 wxBitmap
*arg2
= 0 ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 char * kwnames
[] = {
8704 (char *) "self",(char *) "bitmap", NULL
8707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8709 if (!SWIG_IsOK(res1
)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8712 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8714 if (!SWIG_IsOK(res2
)) {
8715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8720 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_Py_Void();
8734 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= 0;
8736 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 char * kwnames
[] = {
8745 (char *) "self",(char *) "icon", NULL
8748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8750 if (!SWIG_IsOK(res1
)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8753 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8755 if (!SWIG_IsOK(res2
)) {
8756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8761 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= SWIG_Py_Void();
8775 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
= 0;
8777 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8778 SwigValueWrapper
<wxVisualAttributes
> result
;
8781 PyObject
* obj0
= 0 ;
8782 char * kwnames
[] = {
8783 (char *) "variant", NULL
8786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8788 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8789 if (!SWIG_IsOK(ecode1
)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8792 arg1
= static_cast< wxWindowVariant
>(val1
);
8795 if (!wxPyCheckForApp()) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8808 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8811 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8812 return SWIG_Py_Void();
8815 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8816 return SWIG_Python_InitShadowInstance(args
);
8819 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8820 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8825 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8826 PyObject
*pyobj
= 0;
8830 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8832 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8839 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
= 0;
8841 wxWindow
*arg1
= (wxWindow
*) 0 ;
8842 int arg2
= (int) -1 ;
8843 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8844 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8845 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8846 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8847 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8848 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8849 long arg6
= (long) 0 ;
8850 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8851 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8852 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8854 wxListBox
*result
= 0 ;
8861 bool temp5
= false ;
8866 bool temp8
= false ;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8869 PyObject
* obj2
= 0 ;
8870 PyObject
* obj3
= 0 ;
8871 PyObject
* obj4
= 0 ;
8872 PyObject
* obj5
= 0 ;
8873 PyObject
* obj6
= 0 ;
8874 PyObject
* obj7
= 0 ;
8875 char * kwnames
[] = {
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8881 if (!SWIG_IsOK(res1
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8887 if (!SWIG_IsOK(ecode2
)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8890 arg2
= static_cast< int >(val2
);
8895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8906 if (! PySequence_Check(obj4
)) {
8907 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8910 arg5
= new wxArrayString
;
8912 int i
, len
=PySequence_Length(obj4
);
8913 for (i
=0; i
<len
; i
++) {
8914 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8915 wxString
* s
= wxString_in_helper(item
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8924 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8925 if (!SWIG_IsOK(ecode6
)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8928 arg6
= static_cast< long >(val6
);
8931 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8932 if (!SWIG_IsOK(res7
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8938 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8942 arg8
= wxString_in_helper(obj7
);
8943 if (arg8
== NULL
) SWIG_fail
;
8948 if (!wxPyCheckForApp()) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8956 if (temp5
) delete arg5
;
8965 if (temp5
) delete arg5
;
8975 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8976 PyObject
*resultobj
= 0;
8977 wxListBox
*result
= 0 ;
8979 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8981 if (!wxPyCheckForApp()) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (wxListBox
*)new wxListBox();
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8994 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= 0;
8996 wxListBox
*arg1
= (wxListBox
*) 0 ;
8997 wxWindow
*arg2
= (wxWindow
*) 0 ;
8998 int arg3
= (int) -1 ;
8999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9003 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9004 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9005 long arg7
= (long) 0 ;
9006 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9007 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9008 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9009 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9019 bool temp6
= false ;
9024 bool temp9
= false ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9028 PyObject
* obj3
= 0 ;
9029 PyObject
* obj4
= 0 ;
9030 PyObject
* obj5
= 0 ;
9031 PyObject
* obj6
= 0 ;
9032 PyObject
* obj7
= 0 ;
9033 PyObject
* obj8
= 0 ;
9034 char * kwnames
[] = {
9035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9043 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9044 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9045 if (!SWIG_IsOK(res2
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9048 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9051 if (!SWIG_IsOK(ecode3
)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9054 arg3
= static_cast< int >(val3
);
9059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9070 if (! PySequence_Check(obj5
)) {
9071 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9074 arg6
= new wxArrayString
;
9076 int i
, len
=PySequence_Length(obj5
);
9077 for (i
=0; i
<len
; i
++) {
9078 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9079 wxString
* s
= wxString_in_helper(item
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9088 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9089 if (!SWIG_IsOK(ecode7
)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9092 arg7
= static_cast< long >(val7
);
9095 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9096 if (!SWIG_IsOK(res8
)) {
9097 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9102 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9106 arg9
= wxString_in_helper(obj8
);
9107 if (arg9
== NULL
) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9121 if (temp6
) delete arg6
;
9130 if (temp6
) delete arg6
;
9140 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= 0;
9142 wxListBox
*arg1
= (wxListBox
*) 0 ;
9143 wxString
*arg2
= 0 ;
9145 PyObject
*arg4
= (PyObject
*) NULL
;
9148 bool temp2
= false ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9154 PyObject
* obj3
= 0 ;
9155 char * kwnames
[] = {
9156 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9164 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9166 arg2
= wxString_in_helper(obj1
);
9167 if (arg2
== NULL
) SWIG_fail
;
9170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9171 if (!SWIG_IsOK(ecode3
)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9174 arg3
= static_cast< int >(val3
);
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_Py_Void();
9199 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
= 0;
9201 wxListBox
*arg1
= (wxListBox
*) 0 ;
9202 wxArrayString
*arg2
= 0 ;
9206 bool temp2
= false ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9212 char * kwnames
[] = {
9213 (char *) "self",(char *) "items",(char *) "pos", NULL
9216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9218 if (!SWIG_IsOK(res1
)) {
9219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9221 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9223 if (! PySequence_Check(obj1
)) {
9224 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9227 arg2
= new wxArrayString
;
9229 int i
, len
=PySequence_Length(obj1
);
9230 for (i
=0; i
<len
; i
++) {
9231 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9232 wxString
* s
= wxString_in_helper(item
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9239 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9240 if (!SWIG_IsOK(ecode3
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9243 arg3
= static_cast< unsigned int >(val3
);
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_Py_Void();
9252 if (temp2
) delete arg2
;
9257 if (temp2
) delete arg2
;
9263 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
= 0;
9265 wxListBox
*arg1
= (wxListBox
*) 0 ;
9266 wxArrayString
*arg2
= 0 ;
9269 bool temp2
= false ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "items", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9281 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9283 if (! PySequence_Check(obj1
)) {
9284 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9287 arg2
= new wxArrayString
;
9289 int i
, len
=PySequence_Length(obj1
);
9290 for (i
=0; i
<len
; i
++) {
9291 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9292 wxString
* s
= wxString_in_helper(item
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 (arg1
)->Set((wxArrayString
const &)*arg2
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_Py_Void();
9307 if (temp2
) delete arg2
;
9312 if (temp2
) delete arg2
;
9318 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
= 0;
9320 wxListBox
*arg1
= (wxListBox
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 char * kwnames
[] = {
9330 (char *) "self",(char *) "n", NULL
9333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9338 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9340 if (!SWIG_IsOK(ecode2
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9343 arg2
= static_cast< int >(val2
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxListBox
*arg1
= (wxListBox
*) 0 ;
9363 bool arg3
= (bool) true ;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9372 PyObject
* obj2
= 0 ;
9373 char * kwnames
[] = {
9374 (char *) "self",(char *) "n",(char *) "select", NULL
9377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9382 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9384 if (!SWIG_IsOK(ecode2
)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9387 arg2
= static_cast< int >(val2
);
9389 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9390 if (!SWIG_IsOK(ecode3
)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9393 arg3
= static_cast< bool >(val3
);
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->SetSelection(arg2
,arg3
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_Py_Void();
9408 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
= 0;
9410 wxListBox
*arg1
= (wxListBox
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9417 PyObject
* obj1
= 0 ;
9418 char * kwnames
[] = {
9419 (char *) "self",(char *) "n", NULL
9422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9424 if (!SWIG_IsOK(res1
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9427 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9429 if (!SWIG_IsOK(ecode2
)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9432 arg2
= static_cast< int >(val2
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 (arg1
)->Select(arg2
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_Py_Void();
9446 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= 0;
9448 wxListBox
*arg1
= (wxListBox
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 char * kwnames
[] = {
9457 (char *) "self",(char *) "n", NULL
9460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9462 if (!SWIG_IsOK(res1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9465 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9467 if (!SWIG_IsOK(ecode2
)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9470 arg2
= static_cast< int >(val2
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 (arg1
)->Deselect(arg2
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxListBox
*arg1
= (wxListBox
*) 0 ;
9487 int arg2
= (int) -1 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 char * kwnames
[] = {
9495 (char *) "self",(char *) "itemToLeaveSelected", NULL
9498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9503 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9506 if (!SWIG_IsOK(ecode2
)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9509 arg2
= static_cast< int >(val2
);
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->DeselectAll(arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= 0;
9526 wxListBox
*arg1
= (wxListBox
*) 0 ;
9527 wxString
*arg2
= 0 ;
9528 bool arg3
= (bool) true ;
9532 bool temp2
= false ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9537 PyObject
* obj2
= 0 ;
9538 char * kwnames
[] = {
9539 (char *) "self",(char *) "s",(char *) "select", NULL
9542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9547 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9549 arg2
= wxString_in_helper(obj1
);
9550 if (arg2
== NULL
) SWIG_fail
;
9554 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9555 if (!SWIG_IsOK(ecode3
)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9558 arg3
= static_cast< bool >(val3
);
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 PyObject
*resultobj
= 0;
9585 wxListBox
*arg1
= (wxListBox
*) 0 ;
9586 PyObject
*result
= 0 ;
9589 PyObject
*swig_obj
[1] ;
9591 if (!args
) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9597 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9611 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
= 0;
9613 wxListBox
*arg1
= (wxListBox
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9621 char * kwnames
[] = {
9622 (char *) "self",(char *) "n", NULL
9625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9627 if (!SWIG_IsOK(res1
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9630 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9632 if (!SWIG_IsOK(ecode2
)) {
9633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9635 arg2
= static_cast< int >(val2
);
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 (arg1
)->SetFirstItem(arg2
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_Py_Void();
9649 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
= 0;
9651 wxListBox
*arg1
= (wxListBox
*) 0 ;
9652 wxString
*arg2
= 0 ;
9655 bool temp2
= false ;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9658 char * kwnames
[] = {
9659 (char *) "self",(char *) "s", NULL
9662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9667 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9669 arg2
= wxString_in_helper(obj1
);
9670 if (arg2
== NULL
) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= SWIG_Py_Void();
9694 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
= 0;
9696 wxListBox
*arg1
= (wxListBox
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 char * kwnames
[] = {
9705 (char *) "self",(char *) "n", NULL
9708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9713 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9715 if (!SWIG_IsOK(ecode2
)) {
9716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9718 arg2
= static_cast< int >(val2
);
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->EnsureVisible(arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_Py_Void();
9732 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9734 wxListBox
*arg1
= (wxListBox
*) 0 ;
9735 wxString
*arg2
= 0 ;
9738 bool temp2
= false ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9741 char * kwnames
[] = {
9742 (char *) "self",(char *) "s", NULL
9745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9747 if (!SWIG_IsOK(res1
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9750 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9752 arg2
= wxString_in_helper(obj1
);
9753 if (arg2
== NULL
) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_Py_Void();
9777 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9778 PyObject
*resultobj
= 0;
9779 wxListBox
*arg1
= (wxListBox
*) 0 ;
9783 PyObject
*swig_obj
[1] ;
9785 if (!args
) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9791 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9807 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= 0;
9809 wxListBox
*arg1
= (wxListBox
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 char * kwnames
[] = {
9818 (char *) "self",(char *) "pt", NULL
9821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9823 if (!SWIG_IsOK(res1
)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9826 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_From_int(static_cast< int >(result
));
9844 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
= 0;
9846 wxListBox
*arg1
= (wxListBox
*) 0 ;
9848 wxColour
*arg3
= 0 ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9856 PyObject
* obj2
= 0 ;
9857 char * kwnames
[] = {
9858 (char *) "self",(char *) "item",(char *) "c", NULL
9861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9863 if (!SWIG_IsOK(res1
)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9866 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9868 if (!SWIG_IsOK(ecode2
)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9871 arg2
= static_cast< int >(val2
);
9874 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_Py_Void();
9889 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
= 0;
9891 wxListBox
*arg1
= (wxListBox
*) 0 ;
9893 wxColour
*arg3
= 0 ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 PyObject
* obj2
= 0 ;
9902 char * kwnames
[] = {
9903 (char *) "self",(char *) "item",(char *) "c", NULL
9906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9911 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9913 if (!SWIG_IsOK(ecode2
)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9916 arg2
= static_cast< int >(val2
);
9919 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_Py_Void();
9934 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxListBox
*arg1
= (wxListBox
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9947 PyObject
* obj2
= 0 ;
9948 char * kwnames
[] = {
9949 (char *) "self",(char *) "item",(char *) "f", NULL
9952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9954 if (!SWIG_IsOK(res1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9957 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9959 if (!SWIG_IsOK(ecode2
)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9962 arg2
= static_cast< int >(val2
);
9963 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9964 if (!SWIG_IsOK(res3
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9970 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_Py_Void();
9984 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
= 0;
9986 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9987 SwigValueWrapper
<wxVisualAttributes
> result
;
9990 PyObject
* obj0
= 0 ;
9991 char * kwnames
[] = {
9992 (char *) "variant", NULL
9995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9998 if (!SWIG_IsOK(ecode1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10001 arg1
= static_cast< wxWindowVariant
>(val1
);
10004 if (!wxPyCheckForApp()) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10017 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10020 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10021 return SWIG_Py_Void();
10024 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10025 return SWIG_Python_InitShadowInstance(args
);
10028 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxWindow
*arg1
= (wxWindow
*) 0 ;
10031 int arg2
= (int) -1 ;
10032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10036 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10037 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10038 long arg6
= (long) 0 ;
10039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10041 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10043 wxCheckListBox
*result
= 0 ;
10050 bool temp5
= false ;
10055 bool temp8
= false ;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 PyObject
* obj2
= 0 ;
10059 PyObject
* obj3
= 0 ;
10060 PyObject
* obj4
= 0 ;
10061 PyObject
* obj5
= 0 ;
10062 PyObject
* obj6
= 0 ;
10063 PyObject
* obj7
= 0 ;
10064 char * kwnames
[] = {
10065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10070 if (!SWIG_IsOK(res1
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10076 if (!SWIG_IsOK(ecode2
)) {
10077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10079 arg2
= static_cast< int >(val2
);
10084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10090 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10095 if (! PySequence_Check(obj4
)) {
10096 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10099 arg5
= new wxArrayString
;
10101 int i
, len
=PySequence_Length(obj4
);
10102 for (i
=0; i
<len
; i
++) {
10103 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10104 wxString
* s
= wxString_in_helper(item
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10113 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10114 if (!SWIG_IsOK(ecode6
)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10117 arg6
= static_cast< long >(val6
);
10120 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10121 if (!SWIG_IsOK(res7
)) {
10122 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10127 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10131 arg8
= wxString_in_helper(obj7
);
10132 if (arg8
== NULL
) SWIG_fail
;
10137 if (!wxPyCheckForApp()) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10145 if (temp5
) delete arg5
;
10154 if (temp5
) delete arg5
;
10164 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 PyObject
*resultobj
= 0;
10166 wxCheckListBox
*result
= 0 ;
10168 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10170 if (!wxPyCheckForApp()) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (wxCheckListBox
*)new wxCheckListBox();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10183 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
= 0;
10185 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10186 wxWindow
*arg2
= (wxWindow
*) 0 ;
10187 int arg3
= (int) -1 ;
10188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10192 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10193 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10194 long arg7
= (long) 0 ;
10195 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10196 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10197 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10198 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10208 bool temp6
= false ;
10213 bool temp9
= false ;
10214 PyObject
* obj0
= 0 ;
10215 PyObject
* obj1
= 0 ;
10216 PyObject
* obj2
= 0 ;
10217 PyObject
* obj3
= 0 ;
10218 PyObject
* obj4
= 0 ;
10219 PyObject
* obj5
= 0 ;
10220 PyObject
* obj6
= 0 ;
10221 PyObject
* obj7
= 0 ;
10222 PyObject
* obj8
= 0 ;
10223 char * kwnames
[] = {
10224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10232 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10234 if (!SWIG_IsOK(res2
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10240 if (!SWIG_IsOK(ecode3
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10243 arg3
= static_cast< int >(val3
);
10248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10259 if (! PySequence_Check(obj5
)) {
10260 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10263 arg6
= new wxArrayString
;
10265 int i
, len
=PySequence_Length(obj5
);
10266 for (i
=0; i
<len
; i
++) {
10267 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10268 wxString
* s
= wxString_in_helper(item
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10277 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10278 if (!SWIG_IsOK(ecode7
)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10281 arg7
= static_cast< long >(val7
);
10284 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10285 if (!SWIG_IsOK(res8
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10291 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10295 arg9
= wxString_in_helper(obj8
);
10296 if (arg9
== NULL
) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10310 if (temp6
) delete arg6
;
10319 if (temp6
) delete arg6
;
10329 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
= 0;
10331 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10332 unsigned int arg2
;
10336 unsigned int val2
;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "index", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10349 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10350 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10354 arg2
= static_cast< unsigned int >(val2
);
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (bool)(arg1
)->IsChecked(arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10370 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
= 0;
10372 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10373 unsigned int arg2
;
10374 int arg3
= (int) true ;
10377 unsigned int val2
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 char * kwnames
[] = {
10385 (char *) "self",(char *) "index",(char *) "check", NULL
10388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10393 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10394 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10395 if (!SWIG_IsOK(ecode2
)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10398 arg2
= static_cast< unsigned int >(val2
);
10400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10401 if (!SWIG_IsOK(ecode3
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10404 arg3
= static_cast< int >(val3
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 (arg1
)->Check(arg2
,arg3
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_Py_Void();
10419 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10420 PyObject
*resultobj
= 0;
10421 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10425 PyObject
*swig_obj
[1] ;
10427 if (!args
) SWIG_fail
;
10428 swig_obj
[0] = args
;
10429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10433 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (int)(arg1
)->GetItemHeight();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_From_int(static_cast< int >(result
));
10447 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10450 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10451 return SWIG_Py_Void();
10454 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10455 return SWIG_Python_InitShadowInstance(args
);
10458 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10459 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10464 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10465 PyObject
*pyobj
= 0;
10469 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10471 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10478 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
= 0;
10480 wxColour
const &arg1_defvalue
= wxNullColour
;
10481 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10482 wxColour
const &arg2_defvalue
= wxNullColour
;
10483 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10484 wxFont
const &arg3_defvalue
= wxNullFont
;
10485 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10486 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10487 wxTextAttr
*result
= 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 char * kwnames
[] = {
10499 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10506 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10516 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10517 if (!SWIG_IsOK(res3
)) {
10518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10523 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10527 if (!SWIG_IsOK(ecode4
)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10530 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10545 SWIGINTERN PyObject
*_wrap_delete_TextAttr(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
, SWIG_POINTER_DISOWN
| 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10558 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10574 PyObject
*resultobj
= 0;
10575 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10578 PyObject
*swig_obj
[1] ;
10580 if (!args
) SWIG_fail
;
10581 swig_obj
[0] = args
;
10582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10583 if (!SWIG_IsOK(res1
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10586 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= SWIG_Py_Void();
10600 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
= 0;
10602 wxTextAttr
*arg1
= 0 ;
10603 wxTextAttr
*arg2
= 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char * kwnames
[] = {
10612 (char *) "base",(char *) "overlay", NULL
10615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10616 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10623 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10625 if (!SWIG_IsOK(res2
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10631 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10645 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
= 0;
10647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10648 wxColour
*arg2
= 0 ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char * kwnames
[] = {
10655 (char *) "self",(char *) "colText", NULL
10658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10660 if (!SWIG_IsOK(res1
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10663 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_Py_Void();
10681 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
= 0;
10683 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10684 wxColour
*arg2
= 0 ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "self",(char *) "colBack", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10699 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_Py_Void();
10717 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
= 0;
10719 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10721 long arg3
= (long) wxTEXT_ATTR_FONT
;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 PyObject
* obj2
= 0 ;
10731 char * kwnames
[] = {
10732 (char *) "self",(char *) "font",(char *) "flags", NULL
10735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10740 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10742 if (!SWIG_IsOK(res2
)) {
10743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10748 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10750 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10751 if (!SWIG_IsOK(ecode3
)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10754 arg3
= static_cast< long >(val3
);
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_Py_Void();
10769 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10772 wxTextAttrAlignment arg2
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "alignment", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10788 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10790 if (!SWIG_IsOK(ecode2
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10793 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetAlignment(arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10810 wxArrayInt
*arg2
= 0 ;
10813 bool temp2
= false ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 char * kwnames
[] = {
10817 (char *) "self",(char *) "tabs", NULL
10820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10822 if (!SWIG_IsOK(res1
)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10825 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10827 if (! PySequence_Check(obj1
)) {
10828 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10831 arg2
= new wxArrayInt
;
10833 int i
, len
=PySequence_Length(obj1
);
10834 for (i
=0; i
<len
; i
++) {
10835 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10836 PyObject
* number
= PyNumber_Int(item
);
10837 arg2
->Add(PyInt_AS_LONG(number
));
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= SWIG_Py_Void();
10850 if (temp2
) delete arg2
;
10855 if (temp2
) delete arg2
;
10861 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10865 int arg3
= (int) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 PyObject
* obj2
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10884 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10886 if (!SWIG_IsOK(ecode2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10889 arg2
= static_cast< int >(val2
);
10891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10892 if (!SWIG_IsOK(ecode3
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10895 arg3
= static_cast< int >(val3
);
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->SetLeftIndent(arg2
,arg3
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_Py_Void();
10910 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
= 0;
10912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 PyObject
* obj1
= 0 ;
10920 char * kwnames
[] = {
10921 (char *) "self",(char *) "indent", NULL
10924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10926 if (!SWIG_IsOK(res1
)) {
10927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10929 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10931 if (!SWIG_IsOK(ecode2
)) {
10932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10934 arg2
= static_cast< int >(val2
);
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->SetRightIndent(arg2
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_Py_Void();
10948 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
= 0;
10950 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 char * kwnames
[] = {
10959 (char *) "self",(char *) "flags", NULL
10962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10964 if (!SWIG_IsOK(res1
)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10967 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10968 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10969 if (!SWIG_IsOK(ecode2
)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10972 arg2
= static_cast< long >(val2
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 (arg1
)->SetFlags(arg2
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_Py_Void();
10986 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10987 PyObject
*resultobj
= 0;
10988 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10992 PyObject
*swig_obj
[1] ;
10994 if (!args
) SWIG_fail
;
10995 swig_obj
[0] = args
;
10996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10997 if (!SWIG_IsOK(res1
)) {
10998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11000 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11017 PyObject
*resultobj
= 0;
11018 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11022 PyObject
*swig_obj
[1] ;
11024 if (!args
) SWIG_fail
;
11025 swig_obj
[0] = args
;
11026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11030 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11046 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11047 PyObject
*resultobj
= 0;
11048 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11052 PyObject
*swig_obj
[1] ;
11054 if (!args
) SWIG_fail
;
11055 swig_obj
[0] = args
;
11056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11057 if (!SWIG_IsOK(res1
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11060 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11077 PyObject
*resultobj
= 0;
11078 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11082 PyObject
*swig_obj
[1] ;
11084 if (!args
) SWIG_fail
;
11085 swig_obj
[0] = args
;
11086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11090 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11107 PyObject
*resultobj
= 0;
11108 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11112 PyObject
*swig_obj
[1] ;
11114 if (!args
) SWIG_fail
;
11115 swig_obj
[0] = args
;
11116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11117 if (!SWIG_IsOK(res1
)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11120 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11136 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11137 PyObject
*resultobj
= 0;
11138 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11142 PyObject
*swig_obj
[1] ;
11144 if (!args
) SWIG_fail
;
11145 swig_obj
[0] = args
;
11146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11150 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11167 PyObject
*resultobj
= 0;
11168 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11172 PyObject
*swig_obj
[1] ;
11174 if (!args
) SWIG_fail
;
11175 swig_obj
[0] = args
;
11176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11177 if (!SWIG_IsOK(res1
)) {
11178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11180 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11196 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
= 0;
11198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 char * kwnames
[] = {
11208 (char *) "self",(char *) "flag", NULL
11211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11213 if (!SWIG_IsOK(res1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11216 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11218 if (!SWIG_IsOK(ecode2
)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11221 arg2
= static_cast< long >(val2
);
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11238 PyObject
*resultobj
= 0;
11239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11240 wxColour
*result
= 0 ;
11243 PyObject
*swig_obj
[1] ;
11245 if (!args
) SWIG_fail
;
11246 swig_obj
[0] = args
;
11247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11248 if (!SWIG_IsOK(res1
)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11251 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11256 result
= (wxColour
*) &_result_ref
;
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11268 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11269 PyObject
*resultobj
= 0;
11270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11271 wxColour
*result
= 0 ;
11274 PyObject
*swig_obj
[1] ;
11276 if (!args
) SWIG_fail
;
11277 swig_obj
[0] = args
;
11278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11282 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11287 result
= (wxColour
*) &_result_ref
;
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11299 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11300 PyObject
*resultobj
= 0;
11301 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11302 wxFont
*result
= 0 ;
11305 PyObject
*swig_obj
[1] ;
11307 if (!args
) SWIG_fail
;
11308 swig_obj
[0] = args
;
11309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11313 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11318 result
= (wxFont
*) &_result_ref
;
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 wxFont
* resultptr
= new wxFont(*result
);
11325 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11333 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11335 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11336 wxTextAttrAlignment result
;
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_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11347 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_From_int(static_cast< int >(result
));
11361 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11362 PyObject
*resultobj
= 0;
11363 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11364 wxArrayInt
*result
= 0 ;
11367 PyObject
*swig_obj
[1] ;
11369 if (!args
) SWIG_fail
;
11370 swig_obj
[0] = args
;
11371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11372 if (!SWIG_IsOK(res1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11375 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11380 result
= (wxArrayInt
*) &_result_ref
;
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= wxArrayInt2PyList_helper(*result
);
11394 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11395 PyObject
*resultobj
= 0;
11396 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11400 PyObject
*swig_obj
[1] ;
11402 if (!args
) SWIG_fail
;
11403 swig_obj
[0] = args
;
11404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11405 if (!SWIG_IsOK(res1
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11408 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_From_long(static_cast< long >(result
));
11422 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11423 PyObject
*resultobj
= 0;
11424 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11428 PyObject
*swig_obj
[1] ;
11430 if (!args
) SWIG_fail
;
11431 swig_obj
[0] = args
;
11432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11433 if (!SWIG_IsOK(res1
)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11436 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= SWIG_From_long(static_cast< long >(result
));
11450 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11451 PyObject
*resultobj
= 0;
11452 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11456 PyObject
*swig_obj
[1] ;
11458 if (!args
) SWIG_fail
;
11459 swig_obj
[0] = args
;
11460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11464 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= SWIG_From_long(static_cast< long >(result
));
11478 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11479 PyObject
*resultobj
= 0;
11480 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11484 PyObject
*swig_obj
[1] ;
11486 if (!args
) SWIG_fail
;
11487 swig_obj
[0] = args
;
11488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11492 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_From_long(static_cast< long >(result
));
11506 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11507 PyObject
*resultobj
= 0;
11508 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11512 PyObject
*swig_obj
[1] ;
11514 if (!args
) SWIG_fail
;
11515 swig_obj
[0] = args
;
11516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11517 if (!SWIG_IsOK(res1
)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11520 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11536 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
= 0;
11538 wxTextAttr
*arg1
= 0 ;
11539 wxTextAttr
*arg2
= 0 ;
11540 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 PyObject
* obj2
= 0 ;
11551 char * kwnames
[] = {
11552 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11556 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11557 if (!SWIG_IsOK(res1
)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11563 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11565 if (!SWIG_IsOK(res2
)) {
11566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11571 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11572 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11573 if (!SWIG_IsOK(res3
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11576 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11590 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11593 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11594 return SWIG_Py_Void();
11597 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11598 return SWIG_Python_InitShadowInstance(args
);
11601 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
= 0;
11603 wxWindow
*arg1
= (wxWindow
*) 0 ;
11604 int arg2
= (int) -1 ;
11605 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11606 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11607 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11608 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11609 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11610 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11611 long arg6
= (long) 0 ;
11612 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11613 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11614 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11615 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11616 wxTextCtrl
*result
= 0 ;
11621 bool temp3
= false ;
11628 bool temp8
= false ;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj1
= 0 ;
11631 PyObject
* obj2
= 0 ;
11632 PyObject
* obj3
= 0 ;
11633 PyObject
* obj4
= 0 ;
11634 PyObject
* obj5
= 0 ;
11635 PyObject
* obj6
= 0 ;
11636 PyObject
* obj7
= 0 ;
11637 char * kwnames
[] = {
11638 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11643 if (!SWIG_IsOK(res1
)) {
11644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11649 if (!SWIG_IsOK(ecode2
)) {
11650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11652 arg2
= static_cast< int >(val2
);
11656 arg3
= wxString_in_helper(obj2
);
11657 if (arg3
== NULL
) SWIG_fail
;
11664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11675 if (!SWIG_IsOK(ecode6
)) {
11676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11678 arg6
= static_cast< long >(val6
);
11681 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11682 if (!SWIG_IsOK(res7
)) {
11683 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11688 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11692 arg8
= wxString_in_helper(obj7
);
11693 if (arg8
== NULL
) SWIG_fail
;
11698 if (!wxPyCheckForApp()) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11727 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11728 PyObject
*resultobj
= 0;
11729 wxTextCtrl
*result
= 0 ;
11731 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11733 if (!wxPyCheckForApp()) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (wxTextCtrl
*)new wxTextCtrl();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11746 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
= 0;
11748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11749 wxWindow
*arg2
= (wxWindow
*) 0 ;
11750 int arg3
= (int) -1 ;
11751 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11752 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11753 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11754 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11755 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11756 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11757 long arg7
= (long) 0 ;
11758 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11759 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11760 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11761 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11769 bool temp4
= false ;
11776 bool temp9
= false ;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 PyObject
* obj2
= 0 ;
11780 PyObject
* obj3
= 0 ;
11781 PyObject
* obj4
= 0 ;
11782 PyObject
* obj5
= 0 ;
11783 PyObject
* obj6
= 0 ;
11784 PyObject
* obj7
= 0 ;
11785 PyObject
* obj8
= 0 ;
11786 char * kwnames
[] = {
11787 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11792 if (!SWIG_IsOK(res1
)) {
11793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11795 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11797 if (!SWIG_IsOK(res2
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11800 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11803 if (!SWIG_IsOK(ecode3
)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11806 arg3
= static_cast< int >(val3
);
11810 arg4
= wxString_in_helper(obj3
);
11811 if (arg4
== NULL
) SWIG_fail
;
11818 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11824 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11828 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11829 if (!SWIG_IsOK(ecode7
)) {
11830 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11832 arg7
= static_cast< long >(val7
);
11835 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11836 if (!SWIG_IsOK(res8
)) {
11837 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11842 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11846 arg9
= wxString_in_helper(obj8
);
11847 if (arg9
== NULL
) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11882 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11883 PyObject
*resultobj
= 0;
11884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11888 PyObject
*swig_obj
[1] ;
11890 if (!args
) SWIG_fail
;
11891 swig_obj
[0] = args
;
11892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11893 if (!SWIG_IsOK(res1
)) {
11894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11896 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11916 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
= 0;
11918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11919 wxString
*arg2
= 0 ;
11922 bool temp2
= false ;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 char * kwnames
[] = {
11926 (char *) "self",(char *) "value", NULL
11929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11931 if (!SWIG_IsOK(res1
)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11934 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11936 arg2
= wxString_in_helper(obj1
);
11937 if (arg2
== NULL
) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 (arg1
)->SetValue((wxString
const &)*arg2
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_Py_Void();
11961 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 PyObject
*resultobj
= 0;
11963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11967 PyObject
*swig_obj
[1] ;
11969 if (!args
) SWIG_fail
;
11970 swig_obj
[0] = args
;
11971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11972 if (!SWIG_IsOK(res1
)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11975 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11991 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
= 0;
11993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11994 wxString
*arg2
= 0 ;
11997 bool temp2
= false ;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 char * kwnames
[] = {
12001 (char *) "self",(char *) "value", NULL
12004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12006 if (!SWIG_IsOK(res1
)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12009 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12011 arg2
= wxString_in_helper(obj1
);
12012 if (arg2
== NULL
) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_Py_Void();
12036 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
= 0;
12038 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 PyObject
* obj2
= 0 ;
12051 char * kwnames
[] = {
12052 (char *) "self",(char *) "from",(char *) "to", NULL
12055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12060 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12062 if (!SWIG_IsOK(ecode2
)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12065 arg2
= static_cast< long >(val2
);
12066 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12067 if (!SWIG_IsOK(ecode3
)) {
12068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12070 arg3
= static_cast< long >(val3
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12090 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
= 0;
12092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char * kwnames
[] = {
12102 (char *) "self",(char *) "lineNo", NULL
12105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12107 if (!SWIG_IsOK(res1
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12110 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12111 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12112 if (!SWIG_IsOK(ecode2
)) {
12113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12115 arg2
= static_cast< long >(val2
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_From_int(static_cast< int >(result
));
12129 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char * kwnames
[] = {
12141 (char *) "self",(char *) "lineNo", NULL
12144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12151 if (!SWIG_IsOK(ecode2
)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12154 arg2
= static_cast< long >(val2
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12174 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12188 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int(static_cast< int >(result
));
12202 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12203 PyObject
*resultobj
= 0;
12204 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12208 PyObject
*swig_obj
[1] ;
12210 if (!args
) SWIG_fail
;
12211 swig_obj
[0] = args
;
12212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12216 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12238 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_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12246 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12262 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12263 PyObject
*resultobj
= 0;
12264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12268 PyObject
*swig_obj
[1] ;
12270 if (!args
) SWIG_fail
;
12271 swig_obj
[0] = args
;
12272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12273 if (!SWIG_IsOK(res1
)) {
12274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12276 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12292 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12293 PyObject
*resultobj
= 0;
12294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12298 PyObject
*swig_obj
[1] ;
12300 if (!args
) SWIG_fail
;
12301 swig_obj
[0] = args
;
12302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12303 if (!SWIG_IsOK(res1
)) {
12304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12306 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12322 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12325 long *arg2
= (long *) 0 ;
12326 long *arg3
= (long *) 0 ;
12330 int res2
= SWIG_TMPOBJ
;
12332 int res3
= SWIG_TMPOBJ
;
12333 PyObject
*swig_obj
[1] ;
12337 if (!args
) SWIG_fail
;
12338 swig_obj
[0] = args
;
12339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12343 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_Py_Void();
12351 if (SWIG_IsTmpObj(res2
)) {
12352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12354 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12357 if (SWIG_IsTmpObj(res3
)) {
12358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12360 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12369 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12370 PyObject
*resultobj
= 0;
12371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12375 PyObject
*swig_obj
[1] ;
12377 if (!args
) SWIG_fail
;
12378 swig_obj
[0] = args
;
12379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12380 if (!SWIG_IsOK(res1
)) {
12381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12403 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 PyObject
*resultobj
= 0;
12405 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12408 PyObject
*swig_obj
[1] ;
12410 if (!args
) SWIG_fail
;
12411 swig_obj
[0] = args
;
12412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12416 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= SWIG_Py_Void();
12430 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
= 0;
12432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12435 wxString
*arg4
= 0 ;
12442 bool temp4
= false ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 PyObject
* obj2
= 0 ;
12446 PyObject
* obj3
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12456 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12457 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12458 if (!SWIG_IsOK(ecode2
)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12461 arg2
= static_cast< long >(val2
);
12462 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12463 if (!SWIG_IsOK(ecode3
)) {
12464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12466 arg3
= static_cast< long >(val3
);
12468 arg4
= wxString_in_helper(obj3
);
12469 if (arg4
== NULL
) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_Py_Void();
12493 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
= 0;
12495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 PyObject
* obj1
= 0 ;
12506 PyObject
* obj2
= 0 ;
12507 char * kwnames
[] = {
12508 (char *) "self",(char *) "from",(char *) "to", NULL
12511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12516 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12517 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12518 if (!SWIG_IsOK(ecode2
)) {
12519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12521 arg2
= static_cast< long >(val2
);
12522 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12523 if (!SWIG_IsOK(ecode3
)) {
12524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12526 arg3
= static_cast< long >(val3
);
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->Remove(arg2
,arg3
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= SWIG_Py_Void();
12540 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
= 0;
12542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12543 wxString
*arg2
= 0 ;
12544 int arg3
= (int) wxTEXT_TYPE_ANY
;
12548 bool temp2
= false ;
12551 PyObject
* obj0
= 0 ;
12552 PyObject
* obj1
= 0 ;
12553 PyObject
* obj2
= 0 ;
12554 char * kwnames
[] = {
12555 (char *) "self",(char *) "file",(char *) "fileType", NULL
12558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12563 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12565 arg2
= wxString_in_helper(obj1
);
12566 if (arg2
== NULL
) SWIG_fail
;
12570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12571 if (!SWIG_IsOK(ecode3
)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12574 arg3
= static_cast< int >(val3
);
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12599 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
= 0;
12601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12602 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12603 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12604 int arg3
= (int) wxTEXT_TYPE_ANY
;
12608 bool temp2
= false ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 PyObject
* obj2
= 0 ;
12614 char * kwnames
[] = {
12615 (char *) "self",(char *) "file",(char *) "fileType", NULL
12618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12623 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12626 arg2
= wxString_in_helper(obj1
);
12627 if (arg2
== NULL
) SWIG_fail
;
12632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12633 if (!SWIG_IsOK(ecode3
)) {
12634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12636 arg3
= static_cast< int >(val3
);
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12661 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12662 PyObject
*resultobj
= 0;
12663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12666 PyObject
*swig_obj
[1] ;
12668 if (!args
) SWIG_fail
;
12669 swig_obj
[0] = args
;
12670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12671 if (!SWIG_IsOK(res1
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 (arg1
)->MarkDirty();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= SWIG_Py_Void();
12688 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12689 PyObject
*resultobj
= 0;
12690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12693 PyObject
*swig_obj
[1] ;
12695 if (!args
) SWIG_fail
;
12696 swig_obj
[0] = args
;
12697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12701 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 (arg1
)->DiscardEdits();
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= SWIG_Py_Void();
12715 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= 0;
12717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 char * kwnames
[] = {
12726 (char *) "self",(char *) "modified", NULL
12729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12731 if (!SWIG_IsOK(res1
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12734 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12735 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12736 if (!SWIG_IsOK(ecode2
)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12739 arg2
= static_cast< bool >(val2
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 (arg1
)->SetModified(arg2
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_Py_Void();
12753 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
= 0;
12755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12756 unsigned long arg2
;
12759 unsigned long val2
;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 char * kwnames
[] = {
12764 (char *) "self",(char *) "len", NULL
12767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12769 if (!SWIG_IsOK(res1
)) {
12770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12772 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12773 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12774 if (!SWIG_IsOK(ecode2
)) {
12775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12777 arg2
= static_cast< unsigned long >(val2
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 (arg1
)->SetMaxLength(arg2
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_Py_Void();
12791 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
= 0;
12793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12794 wxString
*arg2
= 0 ;
12797 bool temp2
= false ;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 char * kwnames
[] = {
12801 (char *) "self",(char *) "text", NULL
12804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12809 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12811 arg2
= wxString_in_helper(obj1
);
12812 if (arg2
== NULL
) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->WriteText((wxString
const &)*arg2
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_Py_Void();
12836 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
= 0;
12838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12839 wxString
*arg2
= 0 ;
12842 bool temp2
= false ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char * kwnames
[] = {
12846 (char *) "self",(char *) "text", NULL
12849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) 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_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12854 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12856 arg2
= wxString_in_helper(obj1
);
12857 if (arg2
== NULL
) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->AppendText((wxString
const &)*arg2
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= SWIG_Py_Void();
12881 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
= 0;
12883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12884 wxKeyEvent
*arg2
= 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char * kwnames
[] = {
12893 (char *) "self",(char *) "event", NULL
12896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12898 if (!SWIG_IsOK(res1
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12901 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12903 if (!SWIG_IsOK(res2
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12909 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12925 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
= 0;
12927 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12930 wxTextAttr
*arg4
= 0 ;
12940 PyObject
* obj0
= 0 ;
12941 PyObject
* obj1
= 0 ;
12942 PyObject
* obj2
= 0 ;
12943 PyObject
* obj3
= 0 ;
12944 char * kwnames
[] = {
12945 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12950 if (!SWIG_IsOK(res1
)) {
12951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12953 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12955 if (!SWIG_IsOK(ecode2
)) {
12956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12958 arg2
= static_cast< long >(val2
);
12959 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12960 if (!SWIG_IsOK(ecode3
)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12963 arg3
= static_cast< long >(val3
);
12964 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12965 if (!SWIG_IsOK(res4
)) {
12966 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12971 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12987 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= 0;
12989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12991 wxTextAttr
*arg3
= 0 ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "self",(char *) "position",(char *) "style", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13008 if (!SWIG_IsOK(res1
)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13011 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13012 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13013 if (!SWIG_IsOK(ecode2
)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13016 arg2
= static_cast< long >(val2
);
13017 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13018 if (!SWIG_IsOK(res3
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13024 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13040 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13043 wxTextAttr
*arg2
= 0 ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char * kwnames
[] = {
13052 (char *) "self",(char *) "style", NULL
13055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13057 if (!SWIG_IsOK(res1
)) {
13058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13060 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13062 if (!SWIG_IsOK(res2
)) {
13063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13068 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13084 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13085 PyObject
*resultobj
= 0;
13086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13087 wxTextAttr
*result
= 0 ;
13090 PyObject
*swig_obj
[1] ;
13092 if (!args
) SWIG_fail
;
13093 swig_obj
[0] = args
;
13094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13095 if (!SWIG_IsOK(res1
)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13098 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13103 result
= (wxTextAttr
*) &_result_ref
;
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13115 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
= 0;
13117 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 char * kwnames
[] = {
13131 (char *) "self",(char *) "x",(char *) "y", NULL
13134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13136 if (!SWIG_IsOK(res1
)) {
13137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13139 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13140 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13141 if (!SWIG_IsOK(ecode2
)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13144 arg2
= static_cast< long >(val2
);
13145 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13146 if (!SWIG_IsOK(ecode3
)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13149 arg3
= static_cast< long >(val3
);
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_From_long(static_cast< long >(result
));
13163 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
= 0;
13165 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13167 long *arg3
= (long *) 0 ;
13168 long *arg4
= (long *) 0 ;
13174 int res3
= SWIG_TMPOBJ
;
13176 int res4
= SWIG_TMPOBJ
;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char * kwnames
[] = {
13180 (char *) "self",(char *) "pos", NULL
13185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13187 if (!SWIG_IsOK(res1
)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13190 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13192 if (!SWIG_IsOK(ecode2
)) {
13193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13195 arg2
= static_cast< long >(val2
);
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= SWIG_Py_Void();
13203 if (SWIG_IsTmpObj(res3
)) {
13204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13206 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13209 if (SWIG_IsTmpObj(res4
)) {
13210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13212 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13221 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
= 0;
13223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 PyObject
* obj1
= 0 ;
13231 char * kwnames
[] = {
13232 (char *) "self",(char *) "pos", NULL
13235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13237 if (!SWIG_IsOK(res1
)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13240 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13241 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13242 if (!SWIG_IsOK(ecode2
)) {
13243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13245 arg2
= static_cast< long >(val2
);
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->ShowPosition(arg2
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 resultobj
= SWIG_Py_Void();
13259 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= 0;
13261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13262 wxPoint
*arg2
= 0 ;
13263 long *arg3
= (long *) 0 ;
13264 long *arg4
= (long *) 0 ;
13265 wxTextCtrlHitTestResult result
;
13270 int res3
= SWIG_TMPOBJ
;
13272 int res4
= SWIG_TMPOBJ
;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "self",(char *) "pt", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13289 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_From_int(static_cast< int >(result
));
13298 if (SWIG_IsTmpObj(res3
)) {
13299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13304 if (SWIG_IsTmpObj(res4
)) {
13305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13307 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13316 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
= 0;
13318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13319 wxPoint
*arg2
= 0 ;
13320 long *arg3
= (long *) 0 ;
13321 wxTextCtrlHitTestResult result
;
13326 int res3
= SWIG_TMPOBJ
;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 char * kwnames
[] = {
13330 (char *) "self",(char *) "pt", NULL
13334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13336 if (!SWIG_IsOK(res1
)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13339 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= SWIG_From_int(static_cast< int >(result
));
13351 if (SWIG_IsTmpObj(res3
)) {
13352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13354 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13363 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13364 PyObject
*resultobj
= 0;
13365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13368 PyObject
*swig_obj
[1] ;
13370 if (!args
) SWIG_fail
;
13371 swig_obj
[0] = args
;
13372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13373 if (!SWIG_IsOK(res1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13376 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_Py_Void();
13390 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13395 PyObject
*swig_obj
[1] ;
13397 if (!args
) SWIG_fail
;
13398 swig_obj
[0] = args
;
13399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13400 if (!SWIG_IsOK(res1
)) {
13401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13403 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_Py_Void();
13417 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13418 PyObject
*resultobj
= 0;
13419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13422 PyObject
*swig_obj
[1] ;
13424 if (!args
) SWIG_fail
;
13425 swig_obj
[0] = args
;
13426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13427 if (!SWIG_IsOK(res1
)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13430 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_Py_Void();
13444 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13445 PyObject
*resultobj
= 0;
13446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13450 PyObject
*swig_obj
[1] ;
13452 if (!args
) SWIG_fail
;
13453 swig_obj
[0] = args
;
13454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13455 if (!SWIG_IsOK(res1
)) {
13456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13458 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13474 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 PyObject
*resultobj
= 0;
13476 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13480 PyObject
*swig_obj
[1] ;
13482 if (!args
) SWIG_fail
;
13483 swig_obj
[0] = args
;
13484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13488 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13505 PyObject
*resultobj
= 0;
13506 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13510 PyObject
*swig_obj
[1] ;
13512 if (!args
) SWIG_fail
;
13513 swig_obj
[0] = args
;
13514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13515 if (!SWIG_IsOK(res1
)) {
13516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13518 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13534 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13535 PyObject
*resultobj
= 0;
13536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13539 PyObject
*swig_obj
[1] ;
13541 if (!args
) SWIG_fail
;
13542 swig_obj
[0] = args
;
13543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13544 if (!SWIG_IsOK(res1
)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13547 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_Py_Void();
13561 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13562 PyObject
*resultobj
= 0;
13563 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13566 PyObject
*swig_obj
[1] ;
13568 if (!args
) SWIG_fail
;
13569 swig_obj
[0] = args
;
13570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13571 if (!SWIG_IsOK(res1
)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13574 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13588 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13589 PyObject
*resultobj
= 0;
13590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13594 PyObject
*swig_obj
[1] ;
13596 if (!args
) SWIG_fail
;
13597 swig_obj
[0] = args
;
13598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13599 if (!SWIG_IsOK(res1
)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13602 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13618 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13619 PyObject
*resultobj
= 0;
13620 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13624 PyObject
*swig_obj
[1] ;
13626 if (!args
) SWIG_fail
;
13627 swig_obj
[0] = args
;
13628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13629 if (!SWIG_IsOK(res1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13632 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13648 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "self",(char *) "pos", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13664 if (!SWIG_IsOK(res1
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13667 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13669 if (!SWIG_IsOK(ecode2
)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13672 arg2
= static_cast< long >(val2
);
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->SetInsertionPoint(arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_Py_Void();
13686 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13687 PyObject
*resultobj
= 0;
13688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13691 PyObject
*swig_obj
[1] ;
13693 if (!args
) SWIG_fail
;
13694 swig_obj
[0] = args
;
13695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->SetInsertionPointEnd();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_Py_Void();
13713 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13714 PyObject
*resultobj
= 0;
13715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13719 PyObject
*swig_obj
[1] ;
13721 if (!args
) SWIG_fail
;
13722 swig_obj
[0] = args
;
13723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13724 if (!SWIG_IsOK(res1
)) {
13725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13727 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= SWIG_From_long(static_cast< long >(result
));
13741 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13742 PyObject
*resultobj
= 0;
13743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13747 PyObject
*swig_obj
[1] ;
13749 if (!args
) SWIG_fail
;
13750 swig_obj
[0] = args
;
13751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13755 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_From_long(static_cast< long >(result
));
13769 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
= 0;
13771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 PyObject
* obj2
= 0 ;
13783 char * kwnames
[] = {
13784 (char *) "self",(char *) "from",(char *) "to", NULL
13787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13789 if (!SWIG_IsOK(res1
)) {
13790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13792 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13793 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13794 if (!SWIG_IsOK(ecode2
)) {
13795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13797 arg2
= static_cast< long >(val2
);
13798 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13799 if (!SWIG_IsOK(ecode3
)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13802 arg3
= static_cast< long >(val3
);
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 (arg1
)->SetSelection(arg2
,arg3
);
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_Py_Void();
13816 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13817 PyObject
*resultobj
= 0;
13818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13821 PyObject
*swig_obj
[1] ;
13823 if (!args
) SWIG_fail
;
13824 swig_obj
[0] = args
;
13825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13826 if (!SWIG_IsOK(res1
)) {
13827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13829 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 (arg1
)->SelectAll();
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= SWIG_Py_Void();
13843 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
= 0;
13845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 char * kwnames
[] = {
13854 (char *) "self",(char *) "editable", NULL
13857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13859 if (!SWIG_IsOK(res1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13862 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13863 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13864 if (!SWIG_IsOK(ecode2
)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13867 arg2
= static_cast< bool >(val2
);
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 (arg1
)->SetEditable(arg2
);
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_Py_Void();
13881 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13882 PyObject
*resultobj
= 0;
13883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13886 PyObject
*swig_obj
[1] ;
13888 if (!args
) SWIG_fail
;
13889 swig_obj
[0] = args
;
13890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13891 if (!SWIG_IsOK(res1
)) {
13892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13894 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->SendTextUpdatedEvent();
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= SWIG_Py_Void();
13908 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
= 0;
13910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13911 wxString
*arg2
= 0 ;
13914 bool temp2
= false ;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char * kwnames
[] = {
13918 (char *) "self",(char *) "text", NULL
13921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13923 if (!SWIG_IsOK(res1
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13926 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13928 arg2
= wxString_in_helper(obj1
);
13929 if (arg2
== NULL
) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= SWIG_Py_Void();
13953 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
= 0;
13955 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 PyObject
* obj2
= 0 ;
13968 char * kwnames
[] = {
13969 (char *) "self",(char *) "from",(char *) "to", NULL
13972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13974 if (!SWIG_IsOK(res1
)) {
13975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13977 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13979 if (!SWIG_IsOK(ecode2
)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13982 arg2
= static_cast< long >(val2
);
13983 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13984 if (!SWIG_IsOK(ecode3
)) {
13985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13987 arg3
= static_cast< long >(val3
);
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14007 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
= 0;
14009 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14010 SwigValueWrapper
<wxVisualAttributes
> result
;
14013 PyObject
* obj0
= 0 ;
14014 char * kwnames
[] = {
14015 (char *) "variant", NULL
14018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14020 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14021 if (!SWIG_IsOK(ecode1
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14024 arg1
= static_cast< wxWindowVariant
>(val1
);
14027 if (!wxPyCheckForApp()) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14040 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14043 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14044 return SWIG_Py_Void();
14047 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14048 return SWIG_Python_InitShadowInstance(args
);
14051 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
= 0;
14054 wxMouseEvent
*arg2
= 0 ;
14057 wxTextUrlEvent
*result
= 0 ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 PyObject
* obj2
= 0 ;
14069 PyObject
* obj3
= 0 ;
14070 char * kwnames
[] = {
14071 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14076 if (!SWIG_IsOK(ecode1
)) {
14077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14079 arg1
= static_cast< int >(val1
);
14080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14081 if (!SWIG_IsOK(res2
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14087 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14088 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14089 if (!SWIG_IsOK(ecode3
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14092 arg3
= static_cast< long >(val3
);
14093 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14094 if (!SWIG_IsOK(ecode4
)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14097 arg4
= static_cast< long >(val4
);
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14111 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14112 PyObject
*resultobj
= 0;
14113 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14114 wxMouseEvent
*result
= 0 ;
14117 PyObject
*swig_obj
[1] ;
14119 if (!args
) SWIG_fail
;
14120 swig_obj
[0] = args
;
14121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14122 if (!SWIG_IsOK(res1
)) {
14123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14125 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14130 result
= (wxMouseEvent
*) &_result_ref
;
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14142 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14143 PyObject
*resultobj
= 0;
14144 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14148 PyObject
*swig_obj
[1] ;
14150 if (!args
) SWIG_fail
;
14151 swig_obj
[0] = args
;
14152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14153 if (!SWIG_IsOK(res1
)) {
14154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14156 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_From_long(static_cast< long >(result
));
14170 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14171 PyObject
*resultobj
= 0;
14172 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14176 PyObject
*swig_obj
[1] ;
14178 if (!args
) SWIG_fail
;
14179 swig_obj
[0] = args
;
14180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14181 if (!SWIG_IsOK(res1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14184 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_From_long(static_cast< long >(result
));
14198 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14201 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14202 return SWIG_Py_Void();
14205 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14206 return SWIG_Python_InitShadowInstance(args
);
14209 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14210 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14215 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14216 PyObject
*pyobj
= 0;
14220 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14222 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14229 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
= 0;
14231 wxWindow
*arg1
= (wxWindow
*) 0 ;
14232 int arg2
= (int) -1 ;
14233 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14234 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14235 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14236 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14237 long arg5
= (long) wxSB_HORIZONTAL
;
14238 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14239 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14240 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14241 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14242 wxScrollBar
*result
= 0 ;
14253 bool temp7
= false ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 PyObject
* obj2
= 0 ;
14257 PyObject
* obj3
= 0 ;
14258 PyObject
* obj4
= 0 ;
14259 PyObject
* obj5
= 0 ;
14260 PyObject
* obj6
= 0 ;
14261 char * kwnames
[] = {
14262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14267 if (!SWIG_IsOK(res1
)) {
14268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14273 if (!SWIG_IsOK(ecode2
)) {
14274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14276 arg2
= static_cast< int >(val2
);
14281 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14287 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14291 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14292 if (!SWIG_IsOK(ecode5
)) {
14293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14295 arg5
= static_cast< long >(val5
);
14298 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14299 if (!SWIG_IsOK(res6
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14305 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14309 arg7
= wxString_in_helper(obj6
);
14310 if (arg7
== NULL
) SWIG_fail
;
14315 if (!wxPyCheckForApp()) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14336 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14337 PyObject
*resultobj
= 0;
14338 wxScrollBar
*result
= 0 ;
14340 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14342 if (!wxPyCheckForApp()) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (wxScrollBar
*)new wxScrollBar();
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14355 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
= 0;
14357 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14358 wxWindow
*arg2
= (wxWindow
*) 0 ;
14359 int arg3
= (int) -1 ;
14360 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14361 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14362 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14363 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14364 long arg6
= (long) wxSB_HORIZONTAL
;
14365 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14366 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14367 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14368 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14382 bool temp8
= false ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 PyObject
* obj2
= 0 ;
14386 PyObject
* obj3
= 0 ;
14387 PyObject
* obj4
= 0 ;
14388 PyObject
* obj5
= 0 ;
14389 PyObject
* obj6
= 0 ;
14390 PyObject
* obj7
= 0 ;
14391 char * kwnames
[] = {
14392 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14400 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14402 if (!SWIG_IsOK(res2
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14405 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14408 if (!SWIG_IsOK(ecode3
)) {
14409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14411 arg3
= static_cast< int >(val3
);
14416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14426 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14427 if (!SWIG_IsOK(ecode6
)) {
14428 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14430 arg6
= static_cast< long >(val6
);
14433 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14434 if (!SWIG_IsOK(res7
)) {
14435 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14440 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14444 arg8
= wxString_in_helper(obj7
);
14445 if (arg8
== NULL
) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14472 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 PyObject
*resultobj
= 0;
14474 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14478 PyObject
*swig_obj
[1] ;
14480 if (!args
) SWIG_fail
;
14481 swig_obj
[0] = args
;
14482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14486 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_From_int(static_cast< int >(result
));
14500 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14501 PyObject
*resultobj
= 0;
14502 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14506 PyObject
*swig_obj
[1] ;
14508 if (!args
) SWIG_fail
;
14509 swig_obj
[0] = args
;
14510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14511 if (!SWIG_IsOK(res1
)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14514 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= SWIG_From_int(static_cast< int >(result
));
14528 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14529 PyObject
*resultobj
= 0;
14530 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14534 PyObject
*swig_obj
[1] ;
14536 if (!args
) SWIG_fail
;
14537 swig_obj
[0] = args
;
14538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14539 if (!SWIG_IsOK(res1
)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14542 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_From_int(static_cast< int >(result
));
14556 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14557 PyObject
*resultobj
= 0;
14558 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14562 PyObject
*swig_obj
[1] ;
14564 if (!args
) SWIG_fail
;
14565 swig_obj
[0] = args
;
14566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14567 if (!SWIG_IsOK(res1
)) {
14568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14570 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= SWIG_From_int(static_cast< int >(result
));
14584 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14585 PyObject
*resultobj
= 0;
14586 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14590 PyObject
*swig_obj
[1] ;
14592 if (!args
) SWIG_fail
;
14593 swig_obj
[0] = args
;
14594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14595 if (!SWIG_IsOK(res1
)) {
14596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14598 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14614 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
= 0;
14616 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 PyObject
* obj1
= 0 ;
14624 char * kwnames
[] = {
14625 (char *) "self",(char *) "viewStart", NULL
14628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14630 if (!SWIG_IsOK(res1
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14633 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14635 if (!SWIG_IsOK(ecode2
)) {
14636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14638 arg2
= static_cast< int >(val2
);
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 (arg1
)->SetThumbPosition(arg2
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_Py_Void();
14652 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
= 0;
14654 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14655 SwigValueWrapper
<wxVisualAttributes
> result
;
14658 PyObject
* obj0
= 0 ;
14659 char * kwnames
[] = {
14660 (char *) "variant", NULL
14663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14666 if (!SWIG_IsOK(ecode1
)) {
14667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14669 arg1
= static_cast< wxWindowVariant
>(val1
);
14672 if (!wxPyCheckForApp()) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14685 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14688 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14689 return SWIG_Py_Void();
14692 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14693 return SWIG_Python_InitShadowInstance(args
);
14696 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14697 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14702 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14703 PyObject
*pyobj
= 0;
14707 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14709 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14716 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14717 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14722 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14723 PyObject
*pyobj
= 0;
14727 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14729 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14736 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
= 0;
14738 wxWindow
*arg1
= (wxWindow
*) 0 ;
14739 int arg2
= (int) -1 ;
14740 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14741 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14742 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14743 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14744 long arg5
= (long) wxSP_HORIZONTAL
;
14745 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14746 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14747 wxSpinButton
*result
= 0 ;
14756 bool temp6
= false ;
14757 PyObject
* obj0
= 0 ;
14758 PyObject
* obj1
= 0 ;
14759 PyObject
* obj2
= 0 ;
14760 PyObject
* obj3
= 0 ;
14761 PyObject
* obj4
= 0 ;
14762 PyObject
* obj5
= 0 ;
14763 char * kwnames
[] = {
14764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14775 if (!SWIG_IsOK(ecode2
)) {
14776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14778 arg2
= static_cast< int >(val2
);
14783 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14789 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14793 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14794 if (!SWIG_IsOK(ecode5
)) {
14795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14797 arg5
= static_cast< long >(val5
);
14801 arg6
= wxString_in_helper(obj5
);
14802 if (arg6
== NULL
) SWIG_fail
;
14807 if (!wxPyCheckForApp()) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14828 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14829 PyObject
*resultobj
= 0;
14830 wxSpinButton
*result
= 0 ;
14832 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14834 if (!wxPyCheckForApp()) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (wxSpinButton
*)new wxSpinButton();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14847 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
= 0;
14849 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14850 wxWindow
*arg2
= (wxWindow
*) 0 ;
14851 int arg3
= (int) -1 ;
14852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14856 long arg6
= (long) wxSP_HORIZONTAL
;
14857 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14858 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14870 bool temp7
= false ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 PyObject
* obj2
= 0 ;
14874 PyObject
* obj3
= 0 ;
14875 PyObject
* obj4
= 0 ;
14876 PyObject
* obj5
= 0 ;
14877 PyObject
* obj6
= 0 ;
14878 char * kwnames
[] = {
14879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14887 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14889 if (!SWIG_IsOK(res2
)) {
14890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14892 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14895 if (!SWIG_IsOK(ecode3
)) {
14896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14898 arg3
= static_cast< int >(val3
);
14903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14913 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14914 if (!SWIG_IsOK(ecode6
)) {
14915 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14917 arg6
= static_cast< long >(val6
);
14921 arg7
= wxString_in_helper(obj6
);
14922 if (arg7
== NULL
) SWIG_fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14949 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14950 PyObject
*resultobj
= 0;
14951 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14955 PyObject
*swig_obj
[1] ;
14957 if (!args
) SWIG_fail
;
14958 swig_obj
[0] = args
;
14959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14960 if (!SWIG_IsOK(res1
)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14963 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_From_int(static_cast< int >(result
));
14977 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14978 PyObject
*resultobj
= 0;
14979 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14983 PyObject
*swig_obj
[1] ;
14985 if (!args
) SWIG_fail
;
14986 swig_obj
[0] = args
;
14987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14991 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_From_int(static_cast< int >(result
));
15005 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 PyObject
*resultobj
= 0;
15007 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15011 PyObject
*swig_obj
[1] ;
15013 if (!args
) SWIG_fail
;
15014 swig_obj
[0] = args
;
15015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15019 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_From_int(static_cast< int >(result
));
15033 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
= 0;
15035 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char * kwnames
[] = {
15044 (char *) "self",(char *) "val", NULL
15047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15052 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15054 if (!SWIG_IsOK(ecode2
)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15057 arg2
= static_cast< int >(val2
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->SetValue(arg2
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "self",(char *) "minVal", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15090 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15092 if (!SWIG_IsOK(ecode2
)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15095 arg2
= static_cast< int >(val2
);
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->SetMin(arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= SWIG_Py_Void();
15109 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
= 0;
15111 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 char * kwnames
[] = {
15120 (char *) "self",(char *) "maxVal", NULL
15123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15125 if (!SWIG_IsOK(res1
)) {
15126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15128 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15130 if (!SWIG_IsOK(ecode2
)) {
15131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15133 arg2
= static_cast< int >(val2
);
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 (arg1
)->SetMax(arg2
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_Py_Void();
15147 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
= 0;
15149 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 PyObject
* obj2
= 0 ;
15161 char * kwnames
[] = {
15162 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15167 if (!SWIG_IsOK(res1
)) {
15168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15170 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15172 if (!SWIG_IsOK(ecode2
)) {
15173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15175 arg2
= static_cast< int >(val2
);
15176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15177 if (!SWIG_IsOK(ecode3
)) {
15178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15180 arg3
= static_cast< int >(val3
);
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 (arg1
)->SetRange(arg2
,arg3
);
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= SWIG_Py_Void();
15194 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15195 PyObject
*resultobj
= 0;
15196 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15200 PyObject
*swig_obj
[1] ;
15202 if (!args
) SWIG_fail
;
15203 swig_obj
[0] = args
;
15204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15208 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15224 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
= 0;
15226 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15227 SwigValueWrapper
<wxVisualAttributes
> result
;
15230 PyObject
* obj0
= 0 ;
15231 char * kwnames
[] = {
15232 (char *) "variant", NULL
15235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15238 if (!SWIG_IsOK(ecode1
)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15241 arg1
= static_cast< wxWindowVariant
>(val1
);
15244 if (!wxPyCheckForApp()) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15257 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15260 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15261 return SWIG_Py_Void();
15264 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15265 return SWIG_Python_InitShadowInstance(args
);
15268 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
= 0;
15270 wxWindow
*arg1
= (wxWindow
*) 0 ;
15271 int arg2
= (int) -1 ;
15272 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15273 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15278 long arg6
= (long) wxSP_ARROW_KEYS
;
15279 int arg7
= (int) 0 ;
15280 int arg8
= (int) 100 ;
15281 int arg9
= (int) 0 ;
15282 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15283 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15284 wxSpinCtrl
*result
= 0 ;
15289 bool temp3
= false ;
15300 bool temp10
= false ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 PyObject
* obj2
= 0 ;
15304 PyObject
* obj3
= 0 ;
15305 PyObject
* obj4
= 0 ;
15306 PyObject
* obj5
= 0 ;
15307 PyObject
* obj6
= 0 ;
15308 PyObject
* obj7
= 0 ;
15309 PyObject
* obj8
= 0 ;
15310 PyObject
* obj9
= 0 ;
15311 char * kwnames
[] = {
15312 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15317 if (!SWIG_IsOK(res1
)) {
15318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15320 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15323 if (!SWIG_IsOK(ecode2
)) {
15324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15326 arg2
= static_cast< int >(val2
);
15330 arg3
= wxString_in_helper(obj2
);
15331 if (arg3
== NULL
) SWIG_fail
;
15338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15348 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15349 if (!SWIG_IsOK(ecode6
)) {
15350 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15352 arg6
= static_cast< long >(val6
);
15355 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15356 if (!SWIG_IsOK(ecode7
)) {
15357 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15359 arg7
= static_cast< int >(val7
);
15362 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15363 if (!SWIG_IsOK(ecode8
)) {
15364 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15366 arg8
= static_cast< int >(val8
);
15369 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15370 if (!SWIG_IsOK(ecode9
)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15373 arg9
= static_cast< int >(val9
);
15377 arg10
= wxString_in_helper(obj9
);
15378 if (arg10
== NULL
) SWIG_fail
;
15383 if (!wxPyCheckForApp()) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15412 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15413 PyObject
*resultobj
= 0;
15414 wxSpinCtrl
*result
= 0 ;
15416 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15418 if (!wxPyCheckForApp()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15431 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
= 0;
15433 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15434 wxWindow
*arg2
= (wxWindow
*) 0 ;
15435 int arg3
= (int) -1 ;
15436 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15437 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15438 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15439 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15440 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15441 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15442 long arg7
= (long) wxSP_ARROW_KEYS
;
15443 int arg8
= (int) 0 ;
15444 int arg9
= (int) 100 ;
15445 int arg10
= (int) 0 ;
15446 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15447 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15455 bool temp4
= false ;
15466 bool temp11
= false ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 PyObject
* obj2
= 0 ;
15470 PyObject
* obj3
= 0 ;
15471 PyObject
* obj4
= 0 ;
15472 PyObject
* obj5
= 0 ;
15473 PyObject
* obj6
= 0 ;
15474 PyObject
* obj7
= 0 ;
15475 PyObject
* obj8
= 0 ;
15476 PyObject
* obj9
= 0 ;
15477 PyObject
* obj10
= 0 ;
15478 char * kwnames
[] = {
15479 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15484 if (!SWIG_IsOK(res1
)) {
15485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15487 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15489 if (!SWIG_IsOK(res2
)) {
15490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15492 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15495 if (!SWIG_IsOK(ecode3
)) {
15496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15498 arg3
= static_cast< int >(val3
);
15502 arg4
= wxString_in_helper(obj3
);
15503 if (arg4
== NULL
) SWIG_fail
;
15510 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15516 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15520 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15521 if (!SWIG_IsOK(ecode7
)) {
15522 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15524 arg7
= static_cast< long >(val7
);
15527 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15528 if (!SWIG_IsOK(ecode8
)) {
15529 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15531 arg8
= static_cast< int >(val8
);
15534 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15535 if (!SWIG_IsOK(ecode9
)) {
15536 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15538 arg9
= static_cast< int >(val9
);
15541 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15542 if (!SWIG_IsOK(ecode10
)) {
15543 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15545 arg10
= static_cast< int >(val10
);
15549 arg11
= wxString_in_helper(obj10
);
15550 if (arg11
== NULL
) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15585 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15586 PyObject
*resultobj
= 0;
15587 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15591 PyObject
*swig_obj
[1] ;
15593 if (!args
) SWIG_fail
;
15594 swig_obj
[0] = args
;
15595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15596 if (!SWIG_IsOK(res1
)) {
15597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15599 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_From_int(static_cast< int >(result
));
15613 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
= 0;
15615 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 char * kwnames
[] = {
15624 (char *) "self",(char *) "value", NULL
15627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15629 if (!SWIG_IsOK(res1
)) {
15630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15632 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15634 if (!SWIG_IsOK(ecode2
)) {
15635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15637 arg2
= static_cast< int >(val2
);
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 (arg1
)->SetValue(arg2
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_Py_Void();
15651 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
= 0;
15653 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15654 wxString
*arg2
= 0 ;
15657 bool temp2
= false ;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 char * kwnames
[] = {
15661 (char *) "self",(char *) "text", NULL
15664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15666 if (!SWIG_IsOK(res1
)) {
15667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15669 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15671 arg2
= wxString_in_helper(obj1
);
15672 if (arg2
== NULL
) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 (arg1
)->SetValue((wxString
const &)*arg2
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_Py_Void();
15696 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
= 0;
15698 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 PyObject
* obj2
= 0 ;
15710 char * kwnames
[] = {
15711 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15716 if (!SWIG_IsOK(res1
)) {
15717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15719 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15721 if (!SWIG_IsOK(ecode2
)) {
15722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15724 arg2
= static_cast< int >(val2
);
15725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15726 if (!SWIG_IsOK(ecode3
)) {
15727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15729 arg3
= static_cast< int >(val3
);
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 (arg1
)->SetRange(arg2
,arg3
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= SWIG_Py_Void();
15743 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15744 PyObject
*resultobj
= 0;
15745 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15749 PyObject
*swig_obj
[1] ;
15751 if (!args
) SWIG_fail
;
15752 swig_obj
[0] = args
;
15753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15754 if (!SWIG_IsOK(res1
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15757 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= SWIG_From_int(static_cast< int >(result
));
15771 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15772 PyObject
*resultobj
= 0;
15773 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15777 PyObject
*swig_obj
[1] ;
15779 if (!args
) SWIG_fail
;
15780 swig_obj
[0] = args
;
15781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15782 if (!SWIG_IsOK(res1
)) {
15783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15785 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_From_int(static_cast< int >(result
));
15799 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
= 0;
15801 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15810 PyObject
* obj0
= 0 ;
15811 PyObject
* obj1
= 0 ;
15812 PyObject
* obj2
= 0 ;
15813 char * kwnames
[] = {
15814 (char *) "self",(char *) "from",(char *) "to", NULL
15817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15819 if (!SWIG_IsOK(res1
)) {
15820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15822 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15823 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15824 if (!SWIG_IsOK(ecode2
)) {
15825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15827 arg2
= static_cast< long >(val2
);
15828 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15829 if (!SWIG_IsOK(ecode3
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15832 arg3
= static_cast< long >(val3
);
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 (arg1
)->SetSelection(arg2
,arg3
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= SWIG_Py_Void();
15846 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
= 0;
15848 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15849 SwigValueWrapper
<wxVisualAttributes
> result
;
15852 PyObject
* obj0
= 0 ;
15853 char * kwnames
[] = {
15854 (char *) "variant", NULL
15857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15859 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15860 if (!SWIG_IsOK(ecode1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15863 arg1
= static_cast< wxWindowVariant
>(val1
);
15866 if (!wxPyCheckForApp()) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15879 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15882 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15883 return SWIG_Py_Void();
15886 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15887 return SWIG_Python_InitShadowInstance(args
);
15890 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
= 0;
15892 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15893 int arg2
= (int) 0 ;
15894 wxSpinEvent
*result
= 0 ;
15899 PyObject
* obj0
= 0 ;
15900 PyObject
* obj1
= 0 ;
15901 char * kwnames
[] = {
15902 (char *) "commandType",(char *) "winid", NULL
15905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15908 if (!SWIG_IsOK(ecode1
)) {
15909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15911 arg1
= static_cast< wxEventType
>(val1
);
15914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15915 if (!SWIG_IsOK(ecode2
)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15918 arg2
= static_cast< int >(val2
);
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15933 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15939 PyObject
*swig_obj
[1] ;
15941 if (!args
) SWIG_fail
;
15942 swig_obj
[0] = args
;
15943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15944 if (!SWIG_IsOK(res1
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15947 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_From_int(static_cast< int >(result
));
15961 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
= 0;
15963 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 PyObject
* obj1
= 0 ;
15971 char * kwnames
[] = {
15972 (char *) "self",(char *) "pos", NULL
15975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15977 if (!SWIG_IsOK(res1
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15980 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15982 if (!SWIG_IsOK(ecode2
)) {
15983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15985 arg2
= static_cast< int >(val2
);
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 (arg1
)->SetPosition(arg2
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= SWIG_Py_Void();
15999 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16002 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16003 return SWIG_Py_Void();
16006 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16007 return SWIG_Python_InitShadowInstance(args
);
16010 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16011 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16016 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16017 PyObject
*pyobj
= 0;
16021 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16023 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16030 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16031 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16036 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16037 PyObject
*pyobj
= 0;
16041 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16043 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16050 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
= 0;
16052 wxWindow
*arg1
= (wxWindow
*) 0 ;
16053 int arg2
= (int) -1 ;
16054 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16055 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16056 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16057 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16058 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16059 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16060 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16061 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16062 int arg7
= (int) 0 ;
16063 long arg8
= (long) wxRA_HORIZONTAL
;
16064 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16065 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16066 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16067 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16068 wxRadioBox
*result
= 0 ;
16073 bool temp3
= false ;
16076 bool temp6
= false ;
16083 bool temp10
= false ;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 PyObject
* obj2
= 0 ;
16087 PyObject
* obj3
= 0 ;
16088 PyObject
* obj4
= 0 ;
16089 PyObject
* obj5
= 0 ;
16090 PyObject
* obj6
= 0 ;
16091 PyObject
* obj7
= 0 ;
16092 PyObject
* obj8
= 0 ;
16093 PyObject
* obj9
= 0 ;
16094 char * kwnames
[] = {
16095 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16100 if (!SWIG_IsOK(res1
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16106 if (!SWIG_IsOK(ecode2
)) {
16107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16109 arg2
= static_cast< int >(val2
);
16113 arg3
= wxString_in_helper(obj2
);
16114 if (arg3
== NULL
) SWIG_fail
;
16121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16132 if (! PySequence_Check(obj5
)) {
16133 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16136 arg6
= new wxArrayString
;
16138 int i
, len
=PySequence_Length(obj5
);
16139 for (i
=0; i
<len
; i
++) {
16140 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16141 wxString
* s
= wxString_in_helper(item
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16150 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16151 if (!SWIG_IsOK(ecode7
)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16154 arg7
= static_cast< int >(val7
);
16157 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16158 if (!SWIG_IsOK(ecode8
)) {
16159 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16161 arg8
= static_cast< long >(val8
);
16164 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16165 if (!SWIG_IsOK(res9
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16171 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16175 arg10
= wxString_in_helper(obj9
);
16176 if (arg10
== NULL
) SWIG_fail
;
16181 if (!wxPyCheckForApp()) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 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
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16193 if (temp6
) delete arg6
;
16206 if (temp6
) delete arg6
;
16216 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16217 PyObject
*resultobj
= 0;
16218 wxRadioBox
*result
= 0 ;
16220 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16222 if (!wxPyCheckForApp()) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (wxRadioBox
*)new wxRadioBox();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16235 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
= 0;
16237 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16238 wxWindow
*arg2
= (wxWindow
*) 0 ;
16239 int arg3
= (int) -1 ;
16240 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16241 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16242 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16243 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16244 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16245 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16246 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16247 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16248 int arg8
= (int) 0 ;
16249 long arg9
= (long) wxRA_HORIZONTAL
;
16250 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16251 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16252 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16253 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16261 bool temp4
= false ;
16264 bool temp7
= false ;
16271 bool temp11
= false ;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 PyObject
* obj2
= 0 ;
16275 PyObject
* obj3
= 0 ;
16276 PyObject
* obj4
= 0 ;
16277 PyObject
* obj5
= 0 ;
16278 PyObject
* obj6
= 0 ;
16279 PyObject
* obj7
= 0 ;
16280 PyObject
* obj8
= 0 ;
16281 PyObject
* obj9
= 0 ;
16282 PyObject
* obj10
= 0 ;
16283 char * kwnames
[] = {
16284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16289 if (!SWIG_IsOK(res1
)) {
16290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16292 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16294 if (!SWIG_IsOK(res2
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16300 if (!SWIG_IsOK(ecode3
)) {
16301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16303 arg3
= static_cast< int >(val3
);
16307 arg4
= wxString_in_helper(obj3
);
16308 if (arg4
== NULL
) SWIG_fail
;
16315 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16321 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16326 if (! PySequence_Check(obj6
)) {
16327 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16330 arg7
= new wxArrayString
;
16332 int i
, len
=PySequence_Length(obj6
);
16333 for (i
=0; i
<len
; i
++) {
16334 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16335 wxString
* s
= wxString_in_helper(item
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16344 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16345 if (!SWIG_IsOK(ecode8
)) {
16346 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16348 arg8
= static_cast< int >(val8
);
16351 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16352 if (!SWIG_IsOK(ecode9
)) {
16353 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16355 arg9
= static_cast< long >(val9
);
16358 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16359 if (!SWIG_IsOK(res10
)) {
16360 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16365 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16369 arg11
= wxString_in_helper(obj10
);
16370 if (arg11
== NULL
) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 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
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16388 if (temp7
) delete arg7
;
16401 if (temp7
) delete arg7
;
16411 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
= 0;
16413 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 char * kwnames
[] = {
16422 (char *) "self",(char *) "n", NULL
16425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16427 if (!SWIG_IsOK(res1
)) {
16428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16430 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16432 if (!SWIG_IsOK(ecode2
)) {
16433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16435 arg2
= static_cast< int >(val2
);
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 (arg1
)->SetSelection(arg2
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= SWIG_Py_Void();
16449 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16450 PyObject
*resultobj
= 0;
16451 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16455 PyObject
*swig_obj
[1] ;
16457 if (!args
) SWIG_fail
;
16458 swig_obj
[0] = args
;
16459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16463 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= SWIG_From_int(static_cast< int >(result
));
16477 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16478 PyObject
*resultobj
= 0;
16479 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16483 PyObject
*swig_obj
[1] ;
16485 if (!args
) SWIG_fail
;
16486 swig_obj
[0] = args
;
16487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16488 if (!SWIG_IsOK(res1
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16491 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16511 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
= 0;
16513 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16514 wxString
*arg2
= 0 ;
16518 bool temp2
= false ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 char * kwnames
[] = {
16522 (char *) "self",(char *) "s", NULL
16525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16527 if (!SWIG_IsOK(res1
)) {
16528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16530 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16532 arg2
= wxString_in_helper(obj1
);
16533 if (arg2
== NULL
) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16559 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16560 PyObject
*resultobj
= 0;
16561 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16565 PyObject
*swig_obj
[1] ;
16567 if (!args
) SWIG_fail
;
16568 swig_obj
[0] = args
;
16569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16570 if (!SWIG_IsOK(res1
)) {
16571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16573 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16587 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
= 0;
16589 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16590 wxString
*arg2
= 0 ;
16594 bool temp2
= false ;
16595 PyObject
* obj0
= 0 ;
16596 PyObject
* obj1
= 0 ;
16597 char * kwnames
[] = {
16598 (char *) "self",(char *) "s", NULL
16601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16603 if (!SWIG_IsOK(res1
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16606 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16608 arg2
= wxString_in_helper(obj1
);
16609 if (arg2
== NULL
) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= SWIG_From_int(static_cast< int >(result
));
16633 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
= 0;
16635 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 char * kwnames
[] = {
16645 (char *) "self",(char *) "n", NULL
16648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16650 if (!SWIG_IsOK(res1
)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16653 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16655 if (!SWIG_IsOK(ecode2
)) {
16656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16658 arg2
= static_cast< int >(val2
);
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16678 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
= 0;
16680 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16682 wxString
*arg3
= 0 ;
16687 bool temp3
= false ;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 PyObject
* obj2
= 0 ;
16691 char * kwnames
[] = {
16692 (char *) "self",(char *) "n",(char *) "label", NULL
16695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16697 if (!SWIG_IsOK(res1
)) {
16698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16700 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16702 if (!SWIG_IsOK(ecode2
)) {
16703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16705 arg2
= static_cast< int >(val2
);
16707 arg3
= wxString_in_helper(obj2
);
16708 if (arg3
== NULL
) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= SWIG_Py_Void();
16732 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
= 0;
16734 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16735 unsigned int arg2
;
16736 bool arg3
= (bool) true ;
16739 unsigned int val2
;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 PyObject
* obj2
= 0 ;
16746 char * kwnames
[] = {
16747 (char *) "self",(char *) "n",(char *) "enable", NULL
16750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16755 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16756 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16757 if (!SWIG_IsOK(ecode2
)) {
16758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16760 arg2
= static_cast< unsigned int >(val2
);
16762 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16763 if (!SWIG_IsOK(ecode3
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16766 arg3
= static_cast< bool >(val3
);
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 (arg1
)->Enable(arg2
,arg3
);
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= SWIG_Py_Void();
16781 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
= 0;
16783 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16784 unsigned int arg2
;
16785 bool arg3
= (bool) true ;
16788 unsigned int val2
;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 PyObject
* obj2
= 0 ;
16795 char * kwnames
[] = {
16796 (char *) "self",(char *) "n",(char *) "show", NULL
16799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16801 if (!SWIG_IsOK(res1
)) {
16802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16804 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16805 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16806 if (!SWIG_IsOK(ecode2
)) {
16807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16809 arg2
= static_cast< unsigned int >(val2
);
16811 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16812 if (!SWIG_IsOK(ecode3
)) {
16813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16815 arg3
= static_cast< bool >(val3
);
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 (arg1
)->Show(arg2
,arg3
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_Py_Void();
16830 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
= 0;
16832 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16833 unsigned int arg2
;
16837 unsigned int val2
;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 char * kwnames
[] = {
16842 (char *) "self",(char *) "n", NULL
16845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16847 if (!SWIG_IsOK(res1
)) {
16848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16850 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16851 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16852 if (!SWIG_IsOK(ecode2
)) {
16853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16855 arg2
= static_cast< unsigned int >(val2
);
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16871 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
= 0;
16873 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16874 unsigned int arg2
;
16878 unsigned int val2
;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 char * kwnames
[] = {
16883 (char *) "self",(char *) "n", NULL
16886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16888 if (!SWIG_IsOK(res1
)) {
16889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16891 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16892 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16893 if (!SWIG_IsOK(ecode2
)) {
16894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16896 arg2
= static_cast< unsigned int >(val2
);
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16912 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16913 PyObject
*resultobj
= 0;
16914 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16915 unsigned int result
;
16918 PyObject
*swig_obj
[1] ;
16920 if (!args
) SWIG_fail
;
16921 swig_obj
[0] = args
;
16922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16923 if (!SWIG_IsOK(res1
)) {
16924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16926 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16940 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16941 PyObject
*resultobj
= 0;
16942 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16943 unsigned int result
;
16946 PyObject
*swig_obj
[1] ;
16948 if (!args
) SWIG_fail
;
16949 swig_obj
[0] = args
;
16950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16951 if (!SWIG_IsOK(res1
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16954 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16968 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
= 0;
16970 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 PyObject
* obj2
= 0 ;
16986 PyObject
* obj3
= 0 ;
16987 char * kwnames
[] = {
16988 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16993 if (!SWIG_IsOK(res1
)) {
16994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16996 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16998 if (!SWIG_IsOK(ecode2
)) {
16999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17001 arg2
= static_cast< int >(val2
);
17002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17003 if (!SWIG_IsOK(ecode3
)) {
17004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17006 arg3
= static_cast< wxDirection
>(val3
);
17007 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17008 if (!SWIG_IsOK(ecode4
)) {
17009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17011 arg4
= static_cast< long >(val4
);
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= SWIG_From_int(static_cast< int >(result
));
17025 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= 0;
17027 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17028 unsigned int arg2
;
17029 wxString
*arg3
= 0 ;
17032 unsigned int val2
;
17034 bool temp3
= false ;
17035 PyObject
* obj0
= 0 ;
17036 PyObject
* obj1
= 0 ;
17037 PyObject
* obj2
= 0 ;
17038 char * kwnames
[] = {
17039 (char *) "self",(char *) "item",(char *) "text", NULL
17042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17044 if (!SWIG_IsOK(res1
)) {
17045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17047 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17048 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17049 if (!SWIG_IsOK(ecode2
)) {
17050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17052 arg2
= static_cast< unsigned int >(val2
);
17054 arg3
= wxString_in_helper(obj2
);
17055 if (arg3
== NULL
) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= SWIG_Py_Void();
17079 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
= 0;
17081 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17082 unsigned int arg2
;
17083 wxToolTip
*result
= 0 ;
17086 unsigned int val2
;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 char * kwnames
[] = {
17091 (char *) "self",(char *) "item", NULL
17094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17096 if (!SWIG_IsOK(res1
)) {
17097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17099 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17100 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17101 if (!SWIG_IsOK(ecode2
)) {
17102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17104 arg2
= static_cast< unsigned int >(val2
);
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17120 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
= 0;
17122 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17123 unsigned int arg2
;
17124 wxString
*arg3
= 0 ;
17127 unsigned int val2
;
17129 bool temp3
= false ;
17130 PyObject
* obj0
= 0 ;
17131 PyObject
* obj1
= 0 ;
17132 PyObject
* obj2
= 0 ;
17133 char * kwnames
[] = {
17134 (char *) "self",(char *) "n",(char *) "helpText", NULL
17137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17139 if (!SWIG_IsOK(res1
)) {
17140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17142 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17143 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17144 if (!SWIG_IsOK(ecode2
)) {
17145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17147 arg2
= static_cast< unsigned int >(val2
);
17149 arg3
= wxString_in_helper(obj2
);
17150 if (arg3
== NULL
) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= SWIG_Py_Void();
17174 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
= 0;
17176 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17177 unsigned int arg2
;
17181 unsigned int val2
;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char * kwnames
[] = {
17186 (char *) "self",(char *) "n", NULL
17189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17191 if (!SWIG_IsOK(res1
)) {
17192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17194 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17195 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17196 if (!SWIG_IsOK(ecode2
)) {
17197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17199 arg2
= static_cast< unsigned int >(val2
);
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17219 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
= 0;
17221 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17222 SwigValueWrapper
<wxVisualAttributes
> result
;
17225 PyObject
* obj0
= 0 ;
17226 char * kwnames
[] = {
17227 (char *) "variant", NULL
17230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17233 if (!SWIG_IsOK(ecode1
)) {
17234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17236 arg1
= static_cast< wxWindowVariant
>(val1
);
17239 if (!wxPyCheckForApp()) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17252 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17255 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17256 return SWIG_Py_Void();
17259 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17260 return SWIG_Python_InitShadowInstance(args
);
17263 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
= 0;
17265 wxWindow
*arg1
= (wxWindow
*) 0 ;
17266 int arg2
= (int) -1 ;
17267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17273 long arg6
= (long) 0 ;
17274 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17275 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17276 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17277 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17278 wxRadioButton
*result
= 0 ;
17283 bool temp3
= false ;
17290 bool temp8
= false ;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 PyObject
* obj2
= 0 ;
17294 PyObject
* obj3
= 0 ;
17295 PyObject
* obj4
= 0 ;
17296 PyObject
* obj5
= 0 ;
17297 PyObject
* obj6
= 0 ;
17298 PyObject
* obj7
= 0 ;
17299 char * kwnames
[] = {
17300 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17305 if (!SWIG_IsOK(res1
)) {
17306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17308 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17311 if (!SWIG_IsOK(ecode2
)) {
17312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17314 arg2
= static_cast< int >(val2
);
17318 arg3
= wxString_in_helper(obj2
);
17319 if (arg3
== NULL
) SWIG_fail
;
17326 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17332 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17336 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17337 if (!SWIG_IsOK(ecode6
)) {
17338 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17340 arg6
= static_cast< long >(val6
);
17343 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17344 if (!SWIG_IsOK(res7
)) {
17345 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17350 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17354 arg8
= wxString_in_helper(obj7
);
17355 if (arg8
== NULL
) SWIG_fail
;
17360 if (!wxPyCheckForApp()) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17389 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17390 PyObject
*resultobj
= 0;
17391 wxRadioButton
*result
= 0 ;
17393 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17395 if (!wxPyCheckForApp()) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (wxRadioButton
*)new wxRadioButton();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17408 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
= 0;
17410 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17411 wxWindow
*arg2
= (wxWindow
*) 0 ;
17412 int arg3
= (int) -1 ;
17413 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17414 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17415 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17416 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17417 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17418 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17419 long arg7
= (long) 0 ;
17420 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17421 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17422 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17423 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17431 bool temp4
= false ;
17438 bool temp9
= false ;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 PyObject
* obj2
= 0 ;
17442 PyObject
* obj3
= 0 ;
17443 PyObject
* obj4
= 0 ;
17444 PyObject
* obj5
= 0 ;
17445 PyObject
* obj6
= 0 ;
17446 PyObject
* obj7
= 0 ;
17447 PyObject
* obj8
= 0 ;
17448 char * kwnames
[] = {
17449 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17454 if (!SWIG_IsOK(res1
)) {
17455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17457 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17459 if (!SWIG_IsOK(res2
)) {
17460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17465 if (!SWIG_IsOK(ecode3
)) {
17466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17468 arg3
= static_cast< int >(val3
);
17472 arg4
= wxString_in_helper(obj3
);
17473 if (arg4
== NULL
) SWIG_fail
;
17480 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17486 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17490 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17491 if (!SWIG_IsOK(ecode7
)) {
17492 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17494 arg7
= static_cast< long >(val7
);
17497 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17498 if (!SWIG_IsOK(res8
)) {
17499 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17504 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17508 arg9
= wxString_in_helper(obj8
);
17509 if (arg9
== NULL
) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17544 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17545 PyObject
*resultobj
= 0;
17546 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17550 PyObject
*swig_obj
[1] ;
17552 if (!args
) SWIG_fail
;
17553 swig_obj
[0] = args
;
17554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17555 if (!SWIG_IsOK(res1
)) {
17556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17558 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (bool)(arg1
)->GetValue();
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17574 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
= 0;
17576 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 char * kwnames
[] = {
17585 (char *) "self",(char *) "value", NULL
17588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17590 if (!SWIG_IsOK(res1
)) {
17591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17593 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17594 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17595 if (!SWIG_IsOK(ecode2
)) {
17596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17598 arg2
= static_cast< bool >(val2
);
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 (arg1
)->SetValue(arg2
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= SWIG_Py_Void();
17612 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
= 0;
17614 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17615 SwigValueWrapper
<wxVisualAttributes
> result
;
17618 PyObject
* obj0
= 0 ;
17619 char * kwnames
[] = {
17620 (char *) "variant", NULL
17623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17625 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17626 if (!SWIG_IsOK(ecode1
)) {
17627 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17629 arg1
= static_cast< wxWindowVariant
>(val1
);
17632 if (!wxPyCheckForApp()) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17645 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17648 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17649 return SWIG_Py_Void();
17652 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17653 return SWIG_Python_InitShadowInstance(args
);
17656 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17657 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17662 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17663 PyObject
*pyobj
= 0;
17667 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17669 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17676 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
= 0;
17678 wxWindow
*arg1
= (wxWindow
*) 0 ;
17679 int arg2
= (int) -1 ;
17680 int arg3
= (int) 0 ;
17681 int arg4
= (int) 0 ;
17682 int arg5
= (int) 100 ;
17683 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17684 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17685 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17686 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17687 long arg8
= (long) wxSL_HORIZONTAL
;
17688 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17689 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17690 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17691 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17692 wxSlider
*result
= 0 ;
17709 bool temp10
= false ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 PyObject
* obj2
= 0 ;
17713 PyObject
* obj3
= 0 ;
17714 PyObject
* obj4
= 0 ;
17715 PyObject
* obj5
= 0 ;
17716 PyObject
* obj6
= 0 ;
17717 PyObject
* obj7
= 0 ;
17718 PyObject
* obj8
= 0 ;
17719 PyObject
* obj9
= 0 ;
17720 char * kwnames
[] = {
17721 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17726 if (!SWIG_IsOK(res1
)) {
17727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17732 if (!SWIG_IsOK(ecode2
)) {
17733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17735 arg2
= static_cast< int >(val2
);
17738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17739 if (!SWIG_IsOK(ecode3
)) {
17740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17742 arg3
= static_cast< int >(val3
);
17745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17746 if (!SWIG_IsOK(ecode4
)) {
17747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17749 arg4
= static_cast< int >(val4
);
17752 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17753 if (!SWIG_IsOK(ecode5
)) {
17754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17756 arg5
= static_cast< int >(val5
);
17761 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17767 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17771 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17772 if (!SWIG_IsOK(ecode8
)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17775 arg8
= static_cast< long >(val8
);
17778 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17779 if (!SWIG_IsOK(res9
)) {
17780 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17785 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17789 arg10
= wxString_in_helper(obj9
);
17790 if (arg10
== NULL
) SWIG_fail
;
17795 if (!wxPyCheckForApp()) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17816 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17817 PyObject
*resultobj
= 0;
17818 wxSlider
*result
= 0 ;
17820 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17822 if (!wxPyCheckForApp()) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= (wxSlider
*)new wxSlider();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17835 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
= 0;
17837 wxSlider
*arg1
= (wxSlider
*) 0 ;
17838 wxWindow
*arg2
= (wxWindow
*) 0 ;
17839 int arg3
= (int) -1 ;
17840 int arg4
= (int) 0 ;
17841 int arg5
= (int) 0 ;
17842 int arg6
= (int) 100 ;
17843 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17844 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17845 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17846 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17847 long arg9
= (long) wxSL_HORIZONTAL
;
17848 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17849 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17850 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17851 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17871 bool temp11
= false ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 PyObject
* obj2
= 0 ;
17875 PyObject
* obj3
= 0 ;
17876 PyObject
* obj4
= 0 ;
17877 PyObject
* obj5
= 0 ;
17878 PyObject
* obj6
= 0 ;
17879 PyObject
* obj7
= 0 ;
17880 PyObject
* obj8
= 0 ;
17881 PyObject
* obj9
= 0 ;
17882 PyObject
* obj10
= 0 ;
17883 char * kwnames
[] = {
17884 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17889 if (!SWIG_IsOK(res1
)) {
17890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17892 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17894 if (!SWIG_IsOK(res2
)) {
17895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17897 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17900 if (!SWIG_IsOK(ecode3
)) {
17901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17903 arg3
= static_cast< int >(val3
);
17906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17907 if (!SWIG_IsOK(ecode4
)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17910 arg4
= static_cast< int >(val4
);
17913 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17914 if (!SWIG_IsOK(ecode5
)) {
17915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17917 arg5
= static_cast< int >(val5
);
17920 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17921 if (!SWIG_IsOK(ecode6
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17924 arg6
= static_cast< int >(val6
);
17929 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17935 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17939 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17940 if (!SWIG_IsOK(ecode9
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17943 arg9
= static_cast< long >(val9
);
17946 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17947 if (!SWIG_IsOK(res10
)) {
17948 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17953 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17957 arg11
= wxString_in_helper(obj10
);
17958 if (arg11
== NULL
) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17985 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17986 PyObject
*resultobj
= 0;
17987 wxSlider
*arg1
= (wxSlider
*) 0 ;
17991 PyObject
*swig_obj
[1] ;
17993 if (!args
) SWIG_fail
;
17994 swig_obj
[0] = args
;
17995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17996 if (!SWIG_IsOK(res1
)) {
17997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17999 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= SWIG_From_int(static_cast< int >(result
));
18013 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
= 0;
18015 wxSlider
*arg1
= (wxSlider
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 char * kwnames
[] = {
18024 (char *) "self",(char *) "value", NULL
18027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18029 if (!SWIG_IsOK(res1
)) {
18030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18032 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18034 if (!SWIG_IsOK(ecode2
)) {
18035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18037 arg2
= static_cast< int >(val2
);
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 (arg1
)->SetValue(arg2
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_Py_Void();
18051 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
= 0;
18053 wxSlider
*arg1
= (wxSlider
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 PyObject
* obj2
= 0 ;
18065 char * kwnames
[] = {
18066 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18071 if (!SWIG_IsOK(res1
)) {
18072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18074 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18076 if (!SWIG_IsOK(ecode2
)) {
18077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18079 arg2
= static_cast< int >(val2
);
18080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18081 if (!SWIG_IsOK(ecode3
)) {
18082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18084 arg3
= static_cast< int >(val3
);
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 (arg1
)->SetRange(arg2
,arg3
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_Py_Void();
18098 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18099 PyObject
*resultobj
= 0;
18100 wxSlider
*arg1
= (wxSlider
*) 0 ;
18104 PyObject
*swig_obj
[1] ;
18106 if (!args
) SWIG_fail
;
18107 swig_obj
[0] = args
;
18108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18109 if (!SWIG_IsOK(res1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18112 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= SWIG_From_int(static_cast< int >(result
));
18126 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18127 PyObject
*resultobj
= 0;
18128 wxSlider
*arg1
= (wxSlider
*) 0 ;
18132 PyObject
*swig_obj
[1] ;
18134 if (!args
) SWIG_fail
;
18135 swig_obj
[0] = args
;
18136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18137 if (!SWIG_IsOK(res1
)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18140 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= SWIG_From_int(static_cast< int >(result
));
18154 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
= 0;
18156 wxSlider
*arg1
= (wxSlider
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char * kwnames
[] = {
18165 (char *) "self",(char *) "minValue", NULL
18168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18170 if (!SWIG_IsOK(res1
)) {
18171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18173 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18175 if (!SWIG_IsOK(ecode2
)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18178 arg2
= static_cast< int >(val2
);
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->SetMin(arg2
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_Py_Void();
18192 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxSlider
*arg1
= (wxSlider
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 char * kwnames
[] = {
18203 (char *) "self",(char *) "maxValue", NULL
18206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18208 if (!SWIG_IsOK(res1
)) {
18209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18211 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18213 if (!SWIG_IsOK(ecode2
)) {
18214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18216 arg2
= static_cast< int >(val2
);
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 (arg1
)->SetMax(arg2
);
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= SWIG_Py_Void();
18230 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
= 0;
18232 wxSlider
*arg1
= (wxSlider
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char * kwnames
[] = {
18241 (char *) "self",(char *) "lineSize", NULL
18244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18246 if (!SWIG_IsOK(res1
)) {
18247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18249 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18251 if (!SWIG_IsOK(ecode2
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18254 arg2
= static_cast< int >(val2
);
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->SetLineSize(arg2
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= SWIG_Py_Void();
18268 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
= 0;
18270 wxSlider
*arg1
= (wxSlider
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 char * kwnames
[] = {
18279 (char *) "self",(char *) "pageSize", NULL
18282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18284 if (!SWIG_IsOK(res1
)) {
18285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18287 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18289 if (!SWIG_IsOK(ecode2
)) {
18290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18292 arg2
= static_cast< int >(val2
);
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 (arg1
)->SetPageSize(arg2
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= SWIG_Py_Void();
18306 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18307 PyObject
*resultobj
= 0;
18308 wxSlider
*arg1
= (wxSlider
*) 0 ;
18312 PyObject
*swig_obj
[1] ;
18314 if (!args
) SWIG_fail
;
18315 swig_obj
[0] = args
;
18316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18317 if (!SWIG_IsOK(res1
)) {
18318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18320 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_From_int(static_cast< int >(result
));
18334 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18335 PyObject
*resultobj
= 0;
18336 wxSlider
*arg1
= (wxSlider
*) 0 ;
18340 PyObject
*swig_obj
[1] ;
18342 if (!args
) SWIG_fail
;
18343 swig_obj
[0] = args
;
18344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18348 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_From_int(static_cast< int >(result
));
18362 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
= 0;
18364 wxSlider
*arg1
= (wxSlider
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 char * kwnames
[] = {
18373 (char *) "self",(char *) "lenPixels", NULL
18376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18378 if (!SWIG_IsOK(res1
)) {
18379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18381 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18383 if (!SWIG_IsOK(ecode2
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18386 arg2
= static_cast< int >(val2
);
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 (arg1
)->SetThumbLength(arg2
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_Py_Void();
18400 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18401 PyObject
*resultobj
= 0;
18402 wxSlider
*arg1
= (wxSlider
*) 0 ;
18406 PyObject
*swig_obj
[1] ;
18408 if (!args
) SWIG_fail
;
18409 swig_obj
[0] = args
;
18410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18411 if (!SWIG_IsOK(res1
)) {
18412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18414 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_From_int(static_cast< int >(result
));
18428 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
= 0;
18430 wxSlider
*arg1
= (wxSlider
*) 0 ;
18432 int arg3
= (int) 1 ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 PyObject
* obj2
= 0 ;
18442 char * kwnames
[] = {
18443 (char *) "self",(char *) "n",(char *) "pos", NULL
18446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18448 if (!SWIG_IsOK(res1
)) {
18449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18451 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18453 if (!SWIG_IsOK(ecode2
)) {
18454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18456 arg2
= static_cast< int >(val2
);
18458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18459 if (!SWIG_IsOK(ecode3
)) {
18460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18462 arg3
= static_cast< int >(val3
);
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->SetTickFreq(arg2
,arg3
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= SWIG_Py_Void();
18477 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18478 PyObject
*resultobj
= 0;
18479 wxSlider
*arg1
= (wxSlider
*) 0 ;
18483 PyObject
*swig_obj
[1] ;
18485 if (!args
) SWIG_fail
;
18486 swig_obj
[0] = args
;
18487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18488 if (!SWIG_IsOK(res1
)) {
18489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18491 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_From_int(static_cast< int >(result
));
18505 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18506 PyObject
*resultobj
= 0;
18507 wxSlider
*arg1
= (wxSlider
*) 0 ;
18510 PyObject
*swig_obj
[1] ;
18512 if (!args
) SWIG_fail
;
18513 swig_obj
[0] = args
;
18514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18515 if (!SWIG_IsOK(res1
)) {
18516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18518 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 (arg1
)->ClearTicks();
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= SWIG_Py_Void();
18532 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
= 0;
18534 wxSlider
*arg1
= (wxSlider
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 PyObject
* obj1
= 0 ;
18542 char * kwnames
[] = {
18543 (char *) "self",(char *) "tickPos", NULL
18546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18548 if (!SWIG_IsOK(res1
)) {
18549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18551 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18553 if (!SWIG_IsOK(ecode2
)) {
18554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18556 arg2
= static_cast< int >(val2
);
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->SetTick(arg2
);
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_Py_Void();
18570 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18571 PyObject
*resultobj
= 0;
18572 wxSlider
*arg1
= (wxSlider
*) 0 ;
18575 PyObject
*swig_obj
[1] ;
18577 if (!args
) SWIG_fail
;
18578 swig_obj
[0] = args
;
18579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18580 if (!SWIG_IsOK(res1
)) {
18581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18583 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 (arg1
)->ClearSel();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_Py_Void();
18597 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18598 PyObject
*resultobj
= 0;
18599 wxSlider
*arg1
= (wxSlider
*) 0 ;
18603 PyObject
*swig_obj
[1] ;
18605 if (!args
) SWIG_fail
;
18606 swig_obj
[0] = args
;
18607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18608 if (!SWIG_IsOK(res1
)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18611 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_From_int(static_cast< int >(result
));
18625 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18626 PyObject
*resultobj
= 0;
18627 wxSlider
*arg1
= (wxSlider
*) 0 ;
18631 PyObject
*swig_obj
[1] ;
18633 if (!args
) SWIG_fail
;
18634 swig_obj
[0] = args
;
18635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18639 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_From_int(static_cast< int >(result
));
18653 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
= 0;
18655 wxSlider
*arg1
= (wxSlider
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 PyObject
* obj1
= 0 ;
18666 PyObject
* obj2
= 0 ;
18667 char * kwnames
[] = {
18668 (char *) "self",(char *) "min",(char *) "max", NULL
18671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18676 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18678 if (!SWIG_IsOK(ecode2
)) {
18679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18681 arg2
= static_cast< int >(val2
);
18682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18683 if (!SWIG_IsOK(ecode3
)) {
18684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18686 arg3
= static_cast< int >(val3
);
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 (arg1
)->SetSelection(arg2
,arg3
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= SWIG_Py_Void();
18700 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
= 0;
18702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18703 SwigValueWrapper
<wxVisualAttributes
> result
;
18706 PyObject
* obj0
= 0 ;
18707 char * kwnames
[] = {
18708 (char *) "variant", NULL
18711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18714 if (!SWIG_IsOK(ecode1
)) {
18715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18717 arg1
= static_cast< wxWindowVariant
>(val1
);
18720 if (!wxPyCheckForApp()) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18733 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18736 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18737 return SWIG_Py_Void();
18740 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18741 return SWIG_Python_InitShadowInstance(args
);
18744 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18745 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18750 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18751 PyObject
*pyobj
= 0;
18755 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18757 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18764 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
= 0;
18766 wxWindow
*arg1
= (wxWindow
*) 0 ;
18767 int arg2
= (int) -1 ;
18768 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18769 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18774 long arg6
= (long) 0 ;
18775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18777 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18779 wxToggleButton
*result
= 0 ;
18784 bool temp3
= false ;
18791 bool temp8
= false ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 PyObject
* obj2
= 0 ;
18795 PyObject
* obj3
= 0 ;
18796 PyObject
* obj4
= 0 ;
18797 PyObject
* obj5
= 0 ;
18798 PyObject
* obj6
= 0 ;
18799 PyObject
* obj7
= 0 ;
18800 char * kwnames
[] = {
18801 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18806 if (!SWIG_IsOK(res1
)) {
18807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18812 if (!SWIG_IsOK(ecode2
)) {
18813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18815 arg2
= static_cast< int >(val2
);
18819 arg3
= wxString_in_helper(obj2
);
18820 if (arg3
== NULL
) SWIG_fail
;
18827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18837 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18838 if (!SWIG_IsOK(ecode6
)) {
18839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18841 arg6
= static_cast< long >(val6
);
18844 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18845 if (!SWIG_IsOK(res7
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18851 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18855 arg8
= wxString_in_helper(obj7
);
18856 if (arg8
== NULL
) SWIG_fail
;
18861 if (!wxPyCheckForApp()) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18890 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18891 PyObject
*resultobj
= 0;
18892 wxToggleButton
*result
= 0 ;
18894 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18896 if (!wxPyCheckForApp()) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 result
= (wxToggleButton
*)new wxToggleButton();
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18909 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
= 0;
18911 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18912 wxWindow
*arg2
= (wxWindow
*) 0 ;
18913 int arg3
= (int) -1 ;
18914 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18915 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18920 long arg7
= (long) 0 ;
18921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18923 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18932 bool temp4
= false ;
18939 bool temp9
= false ;
18940 PyObject
* obj0
= 0 ;
18941 PyObject
* obj1
= 0 ;
18942 PyObject
* obj2
= 0 ;
18943 PyObject
* obj3
= 0 ;
18944 PyObject
* obj4
= 0 ;
18945 PyObject
* obj5
= 0 ;
18946 PyObject
* obj6
= 0 ;
18947 PyObject
* obj7
= 0 ;
18948 PyObject
* obj8
= 0 ;
18949 char * kwnames
[] = {
18950 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18955 if (!SWIG_IsOK(res1
)) {
18956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18958 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18960 if (!SWIG_IsOK(res2
)) {
18961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18966 if (!SWIG_IsOK(ecode3
)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18969 arg3
= static_cast< int >(val3
);
18973 arg4
= wxString_in_helper(obj3
);
18974 if (arg4
== NULL
) SWIG_fail
;
18981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18992 if (!SWIG_IsOK(ecode7
)) {
18993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18995 arg7
= static_cast< long >(val7
);
18998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18999 if (!SWIG_IsOK(res8
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19009 arg9
= wxString_in_helper(obj8
);
19010 if (arg9
== NULL
) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19045 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
= 0;
19047 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 char * kwnames
[] = {
19056 (char *) "self",(char *) "value", NULL
19059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19061 if (!SWIG_IsOK(res1
)) {
19062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19064 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19065 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19066 if (!SWIG_IsOK(ecode2
)) {
19067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19069 arg2
= static_cast< bool >(val2
);
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 (arg1
)->SetValue(arg2
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= SWIG_Py_Void();
19083 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19084 PyObject
*resultobj
= 0;
19085 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19089 PyObject
*swig_obj
[1] ;
19091 if (!args
) SWIG_fail
;
19092 swig_obj
[0] = args
;
19093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19094 if (!SWIG_IsOK(res1
)) {
19095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19097 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19113 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
= 0;
19115 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19116 SwigValueWrapper
<wxVisualAttributes
> result
;
19119 PyObject
* obj0
= 0 ;
19120 char * kwnames
[] = {
19121 (char *) "variant", NULL
19124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19127 if (!SWIG_IsOK(ecode1
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19130 arg1
= static_cast< wxWindowVariant
>(val1
);
19133 if (!wxPyCheckForApp()) SWIG_fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19146 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19149 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19150 return SWIG_Py_Void();
19153 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19154 return SWIG_Python_InitShadowInstance(args
);
19157 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19158 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19163 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19164 PyObject
*pyobj
= 0;
19168 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19170 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19177 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19178 PyObject
*resultobj
= 0;
19179 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19183 PyObject
*swig_obj
[1] ;
19185 if (!args
) SWIG_fail
;
19186 swig_obj
[0] = args
;
19187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19188 if (!SWIG_IsOK(res1
)) {
19189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19191 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19205 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
= 0;
19207 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19209 wxWindow
*result
= 0 ;
19214 PyObject
* obj0
= 0 ;
19215 PyObject
* obj1
= 0 ;
19216 char * kwnames
[] = {
19217 (char *) "self",(char *) "n", NULL
19220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19222 if (!SWIG_IsOK(res1
)) {
19223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19225 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19226 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19227 if (!SWIG_IsOK(ecode2
)) {
19228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19230 arg2
= static_cast< size_t >(val2
);
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= wxPyMake_wxObject(result
, 0);
19246 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19247 PyObject
*resultobj
= 0;
19248 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19249 wxWindow
*result
= 0 ;
19252 PyObject
*swig_obj
[1] ;
19254 if (!args
) SWIG_fail
;
19255 swig_obj
[0] = args
;
19256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19257 if (!SWIG_IsOK(res1
)) {
19258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19260 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= wxPyMake_wxObject(result
, 0);
19276 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19277 PyObject
*resultobj
= 0;
19278 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19282 PyObject
*swig_obj
[1] ;
19284 if (!args
) SWIG_fail
;
19285 swig_obj
[0] = args
;
19286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19287 if (!SWIG_IsOK(res1
)) {
19288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19290 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_From_int(static_cast< int >(result
));
19304 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
= 0;
19306 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19308 wxString
*arg3
= 0 ;
19314 bool temp3
= false ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 PyObject
* obj2
= 0 ;
19318 char * kwnames
[] = {
19319 (char *) "self",(char *) "n",(char *) "strText", NULL
19322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19324 if (!SWIG_IsOK(res1
)) {
19325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19327 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19328 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19329 if (!SWIG_IsOK(ecode2
)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19332 arg2
= static_cast< size_t >(val2
);
19334 arg3
= wxString_in_helper(obj2
);
19335 if (arg3
== NULL
) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19361 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
= 0;
19363 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char * kwnames
[] = {
19373 (char *) "self",(char *) "n", NULL
19376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19378 if (!SWIG_IsOK(res1
)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19381 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19382 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19383 if (!SWIG_IsOK(ecode2
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19386 arg2
= static_cast< size_t >(val2
);
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19406 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
= 0;
19408 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19409 wxImageList
*arg2
= (wxImageList
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char * kwnames
[] = {
19417 (char *) "self",(char *) "imageList", NULL
19420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19422 if (!SWIG_IsOK(res1
)) {
19423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19425 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19427 if (!SWIG_IsOK(res2
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19430 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->SetImageList(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= SWIG_Py_Void();
19444 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
= 0;
19446 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19447 wxImageList
*arg2
= (wxImageList
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char * kwnames
[] = {
19454 (char *) "self",(char *) "imageList", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19462 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19463 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19464 if (!SWIG_IsOK(res2
)) {
19465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 (arg1
)->AssignImageList(arg2
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= SWIG_Py_Void();
19480 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19481 PyObject
*resultobj
= 0;
19482 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19483 wxImageList
*result
= 0 ;
19486 PyObject
*swig_obj
[1] ;
19488 if (!args
) SWIG_fail
;
19489 swig_obj
[0] = args
;
19490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19491 if (!SWIG_IsOK(res1
)) {
19492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19494 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19510 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
= 0;
19512 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 char * kwnames
[] = {
19522 (char *) "self",(char *) "n", NULL
19525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19527 if (!SWIG_IsOK(res1
)) {
19528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19530 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19531 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19532 if (!SWIG_IsOK(ecode2
)) {
19533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19535 arg2
= static_cast< size_t >(val2
);
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_From_int(static_cast< int >(result
));
19549 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
= 0;
19551 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 PyObject
* obj2
= 0 ;
19564 char * kwnames
[] = {
19565 (char *) "self",(char *) "n",(char *) "imageId", NULL
19568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19570 if (!SWIG_IsOK(res1
)) {
19571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19573 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19574 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19575 if (!SWIG_IsOK(ecode2
)) {
19576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19578 arg2
= static_cast< size_t >(val2
);
19579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19580 if (!SWIG_IsOK(ecode3
)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19583 arg3
= static_cast< int >(val3
);
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19599 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
= 0;
19601 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char * kwnames
[] = {
19609 (char *) "self",(char *) "size", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19617 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= SWIG_Py_Void();
19635 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
= 0;
19637 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 char * kwnames
[] = {
19646 (char *) "self",(char *) "sizePage", NULL
19649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19651 if (!SWIG_IsOK(res1
)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19654 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19657 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19672 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19673 PyObject
*resultobj
= 0;
19674 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19675 unsigned int result
;
19678 PyObject
*swig_obj
[1] ;
19680 if (!args
) SWIG_fail
;
19681 swig_obj
[0] = args
;
19682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19683 if (!SWIG_IsOK(res1
)) {
19684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19686 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19700 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
= 0;
19702 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19703 unsigned int arg2
;
19706 unsigned int val2
;
19708 PyObject
* obj0
= 0 ;
19709 PyObject
* obj1
= 0 ;
19710 char * kwnames
[] = {
19711 (char *) "self",(char *) "internalBorder", NULL
19714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19716 if (!SWIG_IsOK(res1
)) {
19717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19719 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19720 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19721 if (!SWIG_IsOK(ecode2
)) {
19722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19724 arg2
= static_cast< unsigned int >(val2
);
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 (arg1
)->SetInternalBorder(arg2
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_Py_Void();
19738 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19739 PyObject
*resultobj
= 0;
19740 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19744 PyObject
*swig_obj
[1] ;
19746 if (!args
) SWIG_fail
;
19747 swig_obj
[0] = args
;
19748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19752 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19768 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
= 0;
19770 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 PyObject
* obj1
= 0 ;
19778 char * kwnames
[] = {
19779 (char *) "self",(char *) "margin", NULL
19782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19784 if (!SWIG_IsOK(res1
)) {
19785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19787 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19789 if (!SWIG_IsOK(ecode2
)) {
19790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19792 arg2
= static_cast< int >(val2
);
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 (arg1
)->SetControlMargin(arg2
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_Py_Void();
19806 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19807 PyObject
*resultobj
= 0;
19808 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19812 PyObject
*swig_obj
[1] ;
19814 if (!args
) SWIG_fail
;
19815 swig_obj
[0] = args
;
19816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19817 if (!SWIG_IsOK(res1
)) {
19818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19820 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_From_int(static_cast< int >(result
));
19834 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
= 0;
19836 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char * kwnames
[] = {
19845 (char *) "self",(char *) "fit", NULL
19848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19850 if (!SWIG_IsOK(res1
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19853 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19854 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19855 if (!SWIG_IsOK(ecode2
)) {
19856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19858 arg2
= static_cast< bool >(val2
);
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 (arg1
)->SetFitToCurrentPage(arg2
);
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_Py_Void();
19872 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19873 PyObject
*resultobj
= 0;
19874 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19878 PyObject
*swig_obj
[1] ;
19880 if (!args
) SWIG_fail
;
19881 swig_obj
[0] = args
;
19882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19886 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19903 PyObject
*resultobj
= 0;
19904 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19905 wxSizer
*result
= 0 ;
19908 PyObject
*swig_obj
[1] ;
19910 if (!args
) SWIG_fail
;
19911 swig_obj
[0] = args
;
19912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19913 if (!SWIG_IsOK(res1
)) {
19914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19916 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19932 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
= 0;
19934 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 char * kwnames
[] = {
19944 (char *) "self",(char *) "n", NULL
19947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19949 if (!SWIG_IsOK(res1
)) {
19950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19952 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19953 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19954 if (!SWIG_IsOK(ecode2
)) {
19955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19957 arg2
= static_cast< size_t >(val2
);
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (bool)(arg1
)->DeletePage(arg2
);
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19973 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
= 0;
19975 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char * kwnames
[] = {
19985 (char *) "self",(char *) "n", NULL
19988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19990 if (!SWIG_IsOK(res1
)) {
19991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19993 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19994 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19995 if (!SWIG_IsOK(ecode2
)) {
19996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19998 arg2
= static_cast< size_t >(val2
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 result
= (bool)(arg1
)->RemovePage(arg2
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20014 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20015 PyObject
*resultobj
= 0;
20016 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20020 PyObject
*swig_obj
[1] ;
20022 if (!args
) SWIG_fail
;
20023 swig_obj
[0] = args
;
20024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20025 if (!SWIG_IsOK(res1
)) {
20026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20028 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (bool)(arg1
)->DeleteAllPages();
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20044 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
= 0;
20046 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20047 wxWindow
*arg2
= (wxWindow
*) 0 ;
20048 wxString
*arg3
= 0 ;
20049 bool arg4
= (bool) false ;
20050 int arg5
= (int) -1 ;
20056 bool temp3
= false ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 PyObject
* obj2
= 0 ;
20064 PyObject
* obj3
= 0 ;
20065 PyObject
* obj4
= 0 ;
20066 char * kwnames
[] = {
20067 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20072 if (!SWIG_IsOK(res1
)) {
20073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20075 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20077 if (!SWIG_IsOK(res2
)) {
20078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20080 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20082 arg3
= wxString_in_helper(obj2
);
20083 if (arg3
== NULL
) SWIG_fail
;
20087 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20088 if (!SWIG_IsOK(ecode4
)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20091 arg4
= static_cast< bool >(val4
);
20094 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20095 if (!SWIG_IsOK(ecode5
)) {
20096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20098 arg5
= static_cast< int >(val5
);
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20123 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
= 0;
20125 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20127 wxWindow
*arg3
= (wxWindow
*) 0 ;
20128 wxString
*arg4
= 0 ;
20129 bool arg5
= (bool) false ;
20130 int arg6
= (int) -1 ;
20138 bool temp4
= false ;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 PyObject
* obj2
= 0 ;
20146 PyObject
* obj3
= 0 ;
20147 PyObject
* obj4
= 0 ;
20148 PyObject
* obj5
= 0 ;
20149 char * kwnames
[] = {
20150 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20155 if (!SWIG_IsOK(res1
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20158 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20159 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20160 if (!SWIG_IsOK(ecode2
)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20163 arg2
= static_cast< size_t >(val2
);
20164 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20165 if (!SWIG_IsOK(res3
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20168 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20170 arg4
= wxString_in_helper(obj3
);
20171 if (arg4
== NULL
) SWIG_fail
;
20175 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20176 if (!SWIG_IsOK(ecode5
)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20179 arg5
= static_cast< bool >(val5
);
20182 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20183 if (!SWIG_IsOK(ecode6
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20186 arg6
= static_cast< int >(val6
);
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20211 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
= 0;
20213 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 char * kwnames
[] = {
20223 (char *) "self",(char *) "n", NULL
20226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20228 if (!SWIG_IsOK(res1
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20231 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20232 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20233 if (!SWIG_IsOK(ecode2
)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20236 arg2
= static_cast< size_t >(val2
);
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (int)(arg1
)->SetSelection(arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_From_int(static_cast< int >(result
));
20250 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
= 0;
20252 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 char * kwnames
[] = {
20262 (char *) "self",(char *) "n", NULL
20265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20267 if (!SWIG_IsOK(res1
)) {
20268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20270 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20271 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20272 if (!SWIG_IsOK(ecode2
)) {
20273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20275 arg2
= static_cast< size_t >(val2
);
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (int)(arg1
)->ChangeSelection(arg2
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= SWIG_From_int(static_cast< int >(result
));
20289 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
= 0;
20291 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20292 bool arg2
= (bool) true ;
20297 PyObject
* obj0
= 0 ;
20298 PyObject
* obj1
= 0 ;
20299 char * kwnames
[] = {
20300 (char *) "self",(char *) "forward", NULL
20303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20305 if (!SWIG_IsOK(res1
)) {
20306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20308 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20311 if (!SWIG_IsOK(ecode2
)) {
20312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20314 arg2
= static_cast< bool >(val2
);
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 (arg1
)->AdvanceSelection(arg2
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_Py_Void();
20329 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
= 0;
20331 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20332 wxPoint
*arg2
= 0 ;
20333 long *arg3
= (long *) 0 ;
20339 int res3
= SWIG_TMPOBJ
;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 char * kwnames
[] = {
20343 (char *) "self",(char *) "pt", NULL
20347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20349 if (!SWIG_IsOK(res1
)) {
20350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20352 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20355 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_From_int(static_cast< int >(result
));
20364 if (SWIG_IsTmpObj(res3
)) {
20365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20367 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20376 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
= 0;
20378 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20379 SwigValueWrapper
<wxVisualAttributes
> result
;
20382 PyObject
* obj0
= 0 ;
20383 char * kwnames
[] = {
20384 (char *) "variant", NULL
20387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20390 if (!SWIG_IsOK(ecode1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20393 arg1
= static_cast< wxWindowVariant
>(val1
);
20396 if (!wxPyCheckForApp()) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20409 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20412 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20413 return SWIG_Py_Void();
20416 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
= 0;
20418 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20419 int arg2
= (int) 0 ;
20420 int arg3
= (int) -1 ;
20421 int arg4
= (int) -1 ;
20422 wxBookCtrlBaseEvent
*result
= 0 ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 PyObject
* obj2
= 0 ;
20434 PyObject
* obj3
= 0 ;
20435 char * kwnames
[] = {
20436 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20442 if (!SWIG_IsOK(ecode1
)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20445 arg1
= static_cast< wxEventType
>(val1
);
20448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20449 if (!SWIG_IsOK(ecode2
)) {
20450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20452 arg2
= static_cast< int >(val2
);
20455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20456 if (!SWIG_IsOK(ecode3
)) {
20457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20459 arg3
= static_cast< int >(val3
);
20462 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20463 if (!SWIG_IsOK(ecode4
)) {
20464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20466 arg4
= static_cast< int >(val4
);
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20481 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20482 PyObject
*resultobj
= 0;
20483 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20487 PyObject
*swig_obj
[1] ;
20489 if (!args
) SWIG_fail
;
20490 swig_obj
[0] = args
;
20491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20492 if (!SWIG_IsOK(res1
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20495 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_From_int(static_cast< int >(result
));
20509 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
= 0;
20511 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 char * kwnames
[] = {
20520 (char *) "self",(char *) "nSel", NULL
20523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20525 if (!SWIG_IsOK(res1
)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20528 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20530 if (!SWIG_IsOK(ecode2
)) {
20531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20533 arg2
= static_cast< int >(val2
);
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->SetSelection(arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_Py_Void();
20547 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20548 PyObject
*resultobj
= 0;
20549 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20553 PyObject
*swig_obj
[1] ;
20555 if (!args
) SWIG_fail
;
20556 swig_obj
[0] = args
;
20557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20558 if (!SWIG_IsOK(res1
)) {
20559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20561 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= SWIG_From_int(static_cast< int >(result
));
20575 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
= 0;
20577 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char * kwnames
[] = {
20586 (char *) "self",(char *) "nOldSel", NULL
20589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20594 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20596 if (!SWIG_IsOK(ecode2
)) {
20597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20599 arg2
= static_cast< int >(val2
);
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetOldSelection(arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_Py_Void();
20613 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20616 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20617 return SWIG_Py_Void();
20620 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20621 return SWIG_Python_InitShadowInstance(args
);
20624 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
= 0;
20626 wxWindow
*arg1
= (wxWindow
*) 0 ;
20627 int arg2
= (int) -1 ;
20628 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20629 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20630 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20631 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20632 long arg5
= (long) 0 ;
20633 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20634 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20635 wxNotebook
*result
= 0 ;
20644 bool temp6
= false ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 PyObject
* obj2
= 0 ;
20648 PyObject
* obj3
= 0 ;
20649 PyObject
* obj4
= 0 ;
20650 PyObject
* obj5
= 0 ;
20651 char * kwnames
[] = {
20652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20657 if (!SWIG_IsOK(res1
)) {
20658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20663 if (!SWIG_IsOK(ecode2
)) {
20664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20666 arg2
= static_cast< int >(val2
);
20671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20681 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20682 if (!SWIG_IsOK(ecode5
)) {
20683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20685 arg5
= static_cast< long >(val5
);
20689 arg6
= wxString_in_helper(obj5
);
20690 if (arg6
== NULL
) SWIG_fail
;
20695 if (!wxPyCheckForApp()) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20716 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20717 PyObject
*resultobj
= 0;
20718 wxNotebook
*result
= 0 ;
20720 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20722 if (!wxPyCheckForApp()) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (wxNotebook
*)new wxNotebook();
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20735 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
= 0;
20737 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20738 wxWindow
*arg2
= (wxWindow
*) 0 ;
20739 int arg3
= (int) -1 ;
20740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20744 long arg6
= (long) 0 ;
20745 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20758 bool temp7
= false ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 PyObject
* obj2
= 0 ;
20762 PyObject
* obj3
= 0 ;
20763 PyObject
* obj4
= 0 ;
20764 PyObject
* obj5
= 0 ;
20765 PyObject
* obj6
= 0 ;
20766 char * kwnames
[] = {
20767 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20772 if (!SWIG_IsOK(res1
)) {
20773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20775 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20777 if (!SWIG_IsOK(res2
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20780 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20783 if (!SWIG_IsOK(ecode3
)) {
20784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20786 arg3
= static_cast< int >(val3
);
20791 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20797 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20801 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20802 if (!SWIG_IsOK(ecode6
)) {
20803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20805 arg6
= static_cast< long >(val6
);
20809 arg7
= wxString_in_helper(obj6
);
20810 if (arg7
== NULL
) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20837 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20838 PyObject
*resultobj
= 0;
20839 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20843 PyObject
*swig_obj
[1] ;
20845 if (!args
) SWIG_fail
;
20846 swig_obj
[0] = args
;
20847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20848 if (!SWIG_IsOK(res1
)) {
20849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20851 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_From_int(static_cast< int >(result
));
20865 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
= 0;
20867 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20872 PyObject
* obj0
= 0 ;
20873 PyObject
* obj1
= 0 ;
20874 char * kwnames
[] = {
20875 (char *) "self",(char *) "padding", NULL
20878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20880 if (!SWIG_IsOK(res1
)) {
20881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20883 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20886 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_Py_Void();
20901 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
= 0;
20903 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20908 PyObject
* obj0
= 0 ;
20909 PyObject
* obj1
= 0 ;
20910 char * kwnames
[] = {
20911 (char *) "self",(char *) "sz", NULL
20914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20916 if (!SWIG_IsOK(res1
)) {
20917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20919 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20922 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_Py_Void();
20937 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20938 PyObject
*resultobj
= 0;
20939 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20943 PyObject
*swig_obj
[1] ;
20945 if (!args
) SWIG_fail
;
20946 swig_obj
[0] = args
;
20947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20948 if (!SWIG_IsOK(res1
)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20951 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20965 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
= 0;
20967 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20968 SwigValueWrapper
<wxVisualAttributes
> result
;
20971 PyObject
* obj0
= 0 ;
20972 char * kwnames
[] = {
20973 (char *) "variant", NULL
20976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20978 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20979 if (!SWIG_IsOK(ecode1
)) {
20980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20982 arg1
= static_cast< wxWindowVariant
>(val1
);
20985 if (!wxPyCheckForApp()) SWIG_fail
;
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20998 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
= 0;
21000 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 PyObject
* obj1
= 0 ;
21009 char * kwnames
[] = {
21010 (char *) "self",(char *) "nPage", NULL
21013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21015 if (!SWIG_IsOK(res1
)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21018 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21020 if (!SWIG_IsOK(ecode2
)) {
21021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21023 arg2
= static_cast< int >(val2
);
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21039 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
= 0;
21041 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21043 int arg3
= (int) -1 ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 PyObject
* obj2
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21062 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21064 if (!SWIG_IsOK(ecode2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21067 arg2
= static_cast< int >(val2
);
21069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21070 if (!SWIG_IsOK(ecode3
)) {
21071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21073 arg3
= static_cast< int >(val3
);
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= SWIG_Py_Void();
21088 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21091 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21092 return SWIG_Py_Void();
21095 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21096 return SWIG_Python_InitShadowInstance(args
);
21099 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
= 0;
21101 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21102 int arg2
= (int) 0 ;
21103 int arg3
= (int) -1 ;
21104 int arg4
= (int) -1 ;
21105 wxNotebookEvent
*result
= 0 ;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 PyObject
* obj2
= 0 ;
21117 PyObject
* obj3
= 0 ;
21118 char * kwnames
[] = {
21119 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21125 if (!SWIG_IsOK(ecode1
)) {
21126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21128 arg1
= static_cast< wxEventType
>(val1
);
21131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21132 if (!SWIG_IsOK(ecode2
)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21135 arg2
= static_cast< int >(val2
);
21138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21139 if (!SWIG_IsOK(ecode3
)) {
21140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21142 arg3
= static_cast< int >(val3
);
21145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21146 if (!SWIG_IsOK(ecode4
)) {
21147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21149 arg4
= static_cast< int >(val4
);
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21164 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21167 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21168 return SWIG_Py_Void();
21171 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21172 return SWIG_Python_InitShadowInstance(args
);
21175 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
= 0;
21177 wxWindow
*arg1
= (wxWindow
*) 0 ;
21178 int arg2
= (int) -1 ;
21179 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21180 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21181 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21182 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21183 long arg5
= (long) 0 ;
21184 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21185 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21186 wxListbook
*result
= 0 ;
21195 bool temp6
= false ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 PyObject
* obj2
= 0 ;
21199 PyObject
* obj3
= 0 ;
21200 PyObject
* obj4
= 0 ;
21201 PyObject
* obj5
= 0 ;
21202 char * kwnames
[] = {
21203 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21208 if (!SWIG_IsOK(res1
)) {
21209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21214 if (!SWIG_IsOK(ecode2
)) {
21215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21217 arg2
= static_cast< int >(val2
);
21222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21228 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21232 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21233 if (!SWIG_IsOK(ecode5
)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21236 arg5
= static_cast< long >(val5
);
21240 arg6
= wxString_in_helper(obj5
);
21241 if (arg6
== NULL
) SWIG_fail
;
21246 if (!wxPyCheckForApp()) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21267 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21268 PyObject
*resultobj
= 0;
21269 wxListbook
*result
= 0 ;
21271 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21273 if (!wxPyCheckForApp()) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= (wxListbook
*)new wxListbook();
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21286 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
= 0;
21288 wxListbook
*arg1
= (wxListbook
*) 0 ;
21289 wxWindow
*arg2
= (wxWindow
*) 0 ;
21290 int arg3
= (int) -1 ;
21291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21295 long arg6
= (long) 0 ;
21296 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21297 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21309 bool temp7
= false ;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 PyObject
* obj2
= 0 ;
21313 PyObject
* obj3
= 0 ;
21314 PyObject
* obj4
= 0 ;
21315 PyObject
* obj5
= 0 ;
21316 PyObject
* obj6
= 0 ;
21317 char * kwnames
[] = {
21318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21326 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21328 if (!SWIG_IsOK(res2
)) {
21329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21331 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21334 if (!SWIG_IsOK(ecode3
)) {
21335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21337 arg3
= static_cast< int >(val3
);
21342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21348 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21352 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21353 if (!SWIG_IsOK(ecode6
)) {
21354 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21356 arg6
= static_cast< long >(val6
);
21360 arg7
= wxString_in_helper(obj6
);
21361 if (arg7
== NULL
) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21388 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21389 PyObject
*resultobj
= 0;
21390 wxListbook
*arg1
= (wxListbook
*) 0 ;
21391 wxListView
*result
= 0 ;
21394 PyObject
*swig_obj
[1] ;
21396 if (!args
) SWIG_fail
;
21397 swig_obj
[0] = args
;
21398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21399 if (!SWIG_IsOK(res1
)) {
21400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21402 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= (wxListView
*)(arg1
)->GetListView();
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21416 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21419 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21420 return SWIG_Py_Void();
21423 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21424 return SWIG_Python_InitShadowInstance(args
);
21427 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
= 0;
21429 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21430 int arg2
= (int) 0 ;
21431 int arg3
= (int) -1 ;
21432 int arg4
= (int) -1 ;
21433 wxListbookEvent
*result
= 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 PyObject
* obj2
= 0 ;
21445 PyObject
* obj3
= 0 ;
21446 char * kwnames
[] = {
21447 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21452 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21453 if (!SWIG_IsOK(ecode1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21456 arg1
= static_cast< wxEventType
>(val1
);
21459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21460 if (!SWIG_IsOK(ecode2
)) {
21461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21463 arg2
= static_cast< int >(val2
);
21466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21467 if (!SWIG_IsOK(ecode3
)) {
21468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21470 arg3
= static_cast< int >(val3
);
21473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21474 if (!SWIG_IsOK(ecode4
)) {
21475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21477 arg4
= static_cast< int >(val4
);
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21492 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21495 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21496 return SWIG_Py_Void();
21499 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21500 return SWIG_Python_InitShadowInstance(args
);
21503 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
= 0;
21505 wxWindow
*arg1
= (wxWindow
*) 0 ;
21507 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21508 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21509 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21510 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21511 long arg5
= (long) 0 ;
21512 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21513 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21514 wxChoicebook
*result
= 0 ;
21523 bool temp6
= false ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 PyObject
* obj2
= 0 ;
21527 PyObject
* obj3
= 0 ;
21528 PyObject
* obj4
= 0 ;
21529 PyObject
* obj5
= 0 ;
21530 char * kwnames
[] = {
21531 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21536 if (!SWIG_IsOK(res1
)) {
21537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21541 if (!SWIG_IsOK(ecode2
)) {
21542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21544 arg2
= static_cast< int >(val2
);
21548 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21554 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21558 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21559 if (!SWIG_IsOK(ecode5
)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21562 arg5
= static_cast< long >(val5
);
21566 arg6
= wxString_in_helper(obj5
);
21567 if (arg6
== NULL
) SWIG_fail
;
21572 if (!wxPyCheckForApp()) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21593 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21594 PyObject
*resultobj
= 0;
21595 wxChoicebook
*result
= 0 ;
21597 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21599 if (!wxPyCheckForApp()) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (wxChoicebook
*)new wxChoicebook();
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21612 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
= 0;
21614 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21615 wxWindow
*arg2
= (wxWindow
*) 0 ;
21617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21621 long arg6
= (long) 0 ;
21622 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21635 bool temp7
= false ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 PyObject
* obj2
= 0 ;
21639 PyObject
* obj3
= 0 ;
21640 PyObject
* obj4
= 0 ;
21641 PyObject
* obj5
= 0 ;
21642 PyObject
* obj6
= 0 ;
21643 char * kwnames
[] = {
21644 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21649 if (!SWIG_IsOK(res1
)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21652 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21654 if (!SWIG_IsOK(res2
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21657 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21659 if (!SWIG_IsOK(ecode3
)) {
21660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21662 arg3
= static_cast< int >(val3
);
21666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21676 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21677 if (!SWIG_IsOK(ecode6
)) {
21678 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21680 arg6
= static_cast< long >(val6
);
21684 arg7
= wxString_in_helper(obj6
);
21685 if (arg7
== NULL
) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21712 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21713 PyObject
*resultobj
= 0;
21714 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21715 wxChoice
*result
= 0 ;
21718 PyObject
*swig_obj
[1] ;
21720 if (!args
) SWIG_fail
;
21721 swig_obj
[0] = args
;
21722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21723 if (!SWIG_IsOK(res1
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21726 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21740 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21743 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21744 return SWIG_Py_Void();
21747 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21748 return SWIG_Python_InitShadowInstance(args
);
21751 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
= 0;
21753 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21754 int arg2
= (int) 0 ;
21755 int arg3
= (int) -1 ;
21756 int arg4
= (int) -1 ;
21757 wxChoicebookEvent
*result
= 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 PyObject
* obj2
= 0 ;
21769 PyObject
* obj3
= 0 ;
21770 char * kwnames
[] = {
21771 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21777 if (!SWIG_IsOK(ecode1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21780 arg1
= static_cast< wxEventType
>(val1
);
21783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21784 if (!SWIG_IsOK(ecode2
)) {
21785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21787 arg2
= static_cast< int >(val2
);
21790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21791 if (!SWIG_IsOK(ecode3
)) {
21792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21794 arg3
= static_cast< int >(val3
);
21797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21798 if (!SWIG_IsOK(ecode4
)) {
21799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21801 arg4
= static_cast< int >(val4
);
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21816 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21819 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21820 return SWIG_Py_Void();
21823 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21824 return SWIG_Python_InitShadowInstance(args
);
21827 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
= 0;
21829 wxWindow
*arg1
= (wxWindow
*) 0 ;
21831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21833 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21834 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21835 long arg5
= (long) wxBK_DEFAULT
;
21836 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21837 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21838 wxTreebook
*result
= 0 ;
21847 bool temp6
= false ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 PyObject
* obj2
= 0 ;
21851 PyObject
* obj3
= 0 ;
21852 PyObject
* obj4
= 0 ;
21853 PyObject
* obj5
= 0 ;
21854 char * kwnames
[] = {
21855 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21860 if (!SWIG_IsOK(res1
)) {
21861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21865 if (!SWIG_IsOK(ecode2
)) {
21866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21868 arg2
= static_cast< int >(val2
);
21872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21878 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21882 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21883 if (!SWIG_IsOK(ecode5
)) {
21884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21886 arg5
= static_cast< long >(val5
);
21890 arg6
= wxString_in_helper(obj5
);
21891 if (arg6
== NULL
) SWIG_fail
;
21896 if (!wxPyCheckForApp()) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21917 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21918 PyObject
*resultobj
= 0;
21919 wxTreebook
*result
= 0 ;
21921 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21923 if (!wxPyCheckForApp()) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= (wxTreebook
*)new wxTreebook();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21936 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
= 0;
21938 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21939 wxWindow
*arg2
= (wxWindow
*) 0 ;
21941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21945 long arg6
= (long) wxBK_DEFAULT
;
21946 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21947 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21959 bool temp7
= false ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 PyObject
* obj2
= 0 ;
21963 PyObject
* obj3
= 0 ;
21964 PyObject
* obj4
= 0 ;
21965 PyObject
* obj5
= 0 ;
21966 PyObject
* obj6
= 0 ;
21967 char * kwnames
[] = {
21968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21973 if (!SWIG_IsOK(res1
)) {
21974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21976 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21978 if (!SWIG_IsOK(res2
)) {
21979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21981 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21983 if (!SWIG_IsOK(ecode3
)) {
21984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21986 arg3
= static_cast< int >(val3
);
21990 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21996 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22000 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22001 if (!SWIG_IsOK(ecode6
)) {
22002 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22004 arg6
= static_cast< long >(val6
);
22008 arg7
= wxString_in_helper(obj6
);
22009 if (arg7
== NULL
) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22036 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
= 0;
22038 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22040 wxWindow
*arg3
= (wxWindow
*) 0 ;
22041 wxString
*arg4
= 0 ;
22042 bool arg5
= (bool) false ;
22043 int arg6
= (int) wxNOT_FOUND
;
22051 bool temp4
= false ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 PyObject
* obj2
= 0 ;
22059 PyObject
* obj3
= 0 ;
22060 PyObject
* obj4
= 0 ;
22061 PyObject
* obj5
= 0 ;
22062 char * kwnames
[] = {
22063 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22068 if (!SWIG_IsOK(res1
)) {
22069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22071 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22072 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22073 if (!SWIG_IsOK(ecode2
)) {
22074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22076 arg2
= static_cast< size_t >(val2
);
22077 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22078 if (!SWIG_IsOK(res3
)) {
22079 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22081 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22083 arg4
= wxString_in_helper(obj3
);
22084 if (arg4
== NULL
) SWIG_fail
;
22088 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22089 if (!SWIG_IsOK(ecode5
)) {
22090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22092 arg5
= static_cast< bool >(val5
);
22095 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22096 if (!SWIG_IsOK(ecode6
)) {
22097 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22099 arg6
= static_cast< int >(val6
);
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22124 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
= 0;
22126 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22127 wxWindow
*arg2
= (wxWindow
*) 0 ;
22128 wxString
*arg3
= 0 ;
22129 bool arg4
= (bool) false ;
22130 int arg5
= (int) wxNOT_FOUND
;
22136 bool temp3
= false ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 PyObject
* obj3
= 0 ;
22145 PyObject
* obj4
= 0 ;
22146 char * kwnames
[] = {
22147 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22152 if (!SWIG_IsOK(res1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22155 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22157 if (!SWIG_IsOK(res2
)) {
22158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22160 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22162 arg3
= wxString_in_helper(obj2
);
22163 if (arg3
== NULL
) SWIG_fail
;
22167 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22168 if (!SWIG_IsOK(ecode4
)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22171 arg4
= static_cast< bool >(val4
);
22174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22175 if (!SWIG_IsOK(ecode5
)) {
22176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22178 arg5
= static_cast< int >(val5
);
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22203 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= 0;
22205 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22212 PyObject
* obj0
= 0 ;
22213 PyObject
* obj1
= 0 ;
22214 char * kwnames
[] = {
22215 (char *) "self",(char *) "pos", NULL
22218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22220 if (!SWIG_IsOK(res1
)) {
22221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22223 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22224 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22225 if (!SWIG_IsOK(ecode2
)) {
22226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22228 arg2
= static_cast< size_t >(val2
);
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22244 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
= 0;
22246 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22248 bool arg3
= (bool) true ;
22256 PyObject
* obj0
= 0 ;
22257 PyObject
* obj1
= 0 ;
22258 PyObject
* obj2
= 0 ;
22259 char * kwnames
[] = {
22260 (char *) "self",(char *) "pos",(char *) "expand", NULL
22263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22265 if (!SWIG_IsOK(res1
)) {
22266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22268 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22269 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22270 if (!SWIG_IsOK(ecode2
)) {
22271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22273 arg2
= static_cast< size_t >(val2
);
22275 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22276 if (!SWIG_IsOK(ecode3
)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22279 arg3
= static_cast< bool >(val3
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22296 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
= 0;
22298 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 char * kwnames
[] = {
22308 (char *) "self",(char *) "pos", NULL
22311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22313 if (!SWIG_IsOK(res1
)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22316 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22317 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22318 if (!SWIG_IsOK(ecode2
)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22321 arg2
= static_cast< size_t >(val2
);
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 result
= (bool)(arg1
)->CollapseNode(arg2
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22337 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
= 0;
22339 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 char * kwnames
[] = {
22349 (char *) "self",(char *) "pos", NULL
22352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22354 if (!SWIG_IsOK(res1
)) {
22355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22357 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22358 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22359 if (!SWIG_IsOK(ecode2
)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22362 arg2
= static_cast< size_t >(val2
);
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= SWIG_From_int(static_cast< int >(result
));
22376 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22377 PyObject
*resultobj
= 0;
22378 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22379 wxPyTreeCtrl
*result
= 0 ;
22382 PyObject
*swig_obj
[1] ;
22384 if (!args
) SWIG_fail
;
22385 swig_obj
[0] = args
;
22386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22387 if (!SWIG_IsOK(res1
)) {
22388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22390 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22406 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22409 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22410 return SWIG_Py_Void();
22413 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22414 return SWIG_Python_InitShadowInstance(args
);
22417 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
= 0;
22419 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22420 int arg2
= (int) 0 ;
22421 int arg3
= (int) wxNOT_FOUND
;
22422 int arg4
= (int) wxNOT_FOUND
;
22423 wxTreebookEvent
*result
= 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 PyObject
* obj2
= 0 ;
22435 PyObject
* obj3
= 0 ;
22436 char * kwnames
[] = {
22437 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22443 if (!SWIG_IsOK(ecode1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22446 arg1
= static_cast< wxEventType
>(val1
);
22449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22450 if (!SWIG_IsOK(ecode2
)) {
22451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22453 arg2
= static_cast< int >(val2
);
22456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22457 if (!SWIG_IsOK(ecode3
)) {
22458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22460 arg3
= static_cast< int >(val3
);
22463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22464 if (!SWIG_IsOK(ecode4
)) {
22465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22467 arg4
= static_cast< int >(val4
);
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22482 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22485 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22486 return SWIG_Py_Void();
22489 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22490 return SWIG_Python_InitShadowInstance(args
);
22493 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
= 0;
22495 wxWindow
*arg1
= (wxWindow
*) 0 ;
22497 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22498 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22499 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22500 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22501 long arg5
= (long) wxBK_DEFAULT
;
22502 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22503 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22504 wxToolbook
*result
= 0 ;
22513 bool temp6
= false ;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 PyObject
* obj2
= 0 ;
22517 PyObject
* obj3
= 0 ;
22518 PyObject
* obj4
= 0 ;
22519 PyObject
* obj5
= 0 ;
22520 char * kwnames
[] = {
22521 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22526 if (!SWIG_IsOK(res1
)) {
22527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22531 if (!SWIG_IsOK(ecode2
)) {
22532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22534 arg2
= static_cast< int >(val2
);
22538 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22544 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22548 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22549 if (!SWIG_IsOK(ecode5
)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22552 arg5
= static_cast< long >(val5
);
22556 arg6
= wxString_in_helper(obj5
);
22557 if (arg6
== NULL
) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22582 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22583 PyObject
*resultobj
= 0;
22584 wxToolbook
*result
= 0 ;
22586 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= (wxToolbook
*)new wxToolbook();
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22600 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
= 0;
22602 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22603 wxWindow
*arg2
= (wxWindow
*) 0 ;
22605 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22606 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22607 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22608 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22609 long arg6
= (long) 0 ;
22610 wxString
const &arg7_defvalue
= wxEmptyString
;
22611 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22623 bool temp7
= false ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 PyObject
* obj2
= 0 ;
22627 PyObject
* obj3
= 0 ;
22628 PyObject
* obj4
= 0 ;
22629 PyObject
* obj5
= 0 ;
22630 PyObject
* obj6
= 0 ;
22631 char * kwnames
[] = {
22632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22640 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22642 if (!SWIG_IsOK(res2
)) {
22643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22645 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22647 if (!SWIG_IsOK(ecode3
)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22650 arg3
= static_cast< int >(val3
);
22654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22660 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22664 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22665 if (!SWIG_IsOK(ecode6
)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22668 arg6
= static_cast< long >(val6
);
22672 arg7
= wxString_in_helper(obj6
);
22673 if (arg7
== NULL
) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22700 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22701 PyObject
*resultobj
= 0;
22702 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22703 wxToolBarBase
*result
= 0 ;
22706 PyObject
*swig_obj
[1] ;
22708 if (!args
) SWIG_fail
;
22709 swig_obj
[0] = args
;
22710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22711 if (!SWIG_IsOK(res1
)) {
22712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22714 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22730 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 PyObject
*resultobj
= 0;
22732 wxToolbook
*arg1
= (wxToolbook
*) 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_wxToolbook
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22743 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_Py_Void();
22757 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22760 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22761 return SWIG_Py_Void();
22764 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22765 return SWIG_Python_InitShadowInstance(args
);
22768 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
= 0;
22770 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22771 int arg2
= (int) 0 ;
22772 int arg3
= (int) wxNOT_FOUND
;
22773 int arg4
= (int) wxNOT_FOUND
;
22774 wxToolbookEvent
*result
= 0 ;
22783 PyObject
* obj0
= 0 ;
22784 PyObject
* obj1
= 0 ;
22785 PyObject
* obj2
= 0 ;
22786 PyObject
* obj3
= 0 ;
22787 char * kwnames
[] = {
22788 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22794 if (!SWIG_IsOK(ecode1
)) {
22795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22797 arg1
= static_cast< wxEventType
>(val1
);
22800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22801 if (!SWIG_IsOK(ecode2
)) {
22802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22804 arg2
= static_cast< int >(val2
);
22807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22808 if (!SWIG_IsOK(ecode3
)) {
22809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22811 arg3
= static_cast< int >(val3
);
22814 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22815 if (!SWIG_IsOK(ecode4
)) {
22816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22818 arg4
= static_cast< int >(val4
);
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22833 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22836 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22837 return SWIG_Py_Void();
22840 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22841 return SWIG_Python_InitShadowInstance(args
);
22844 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22845 PyObject
*resultobj
= 0;
22846 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22850 PyObject
*swig_obj
[1] ;
22852 if (!args
) SWIG_fail
;
22853 swig_obj
[0] = args
;
22854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22855 if (!SWIG_IsOK(res1
)) {
22856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22858 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= (int)(arg1
)->GetId();
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 resultobj
= SWIG_From_int(static_cast< int >(result
));
22872 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22873 PyObject
*resultobj
= 0;
22874 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22875 wxControl
*result
= 0 ;
22878 PyObject
*swig_obj
[1] ;
22880 if (!args
) SWIG_fail
;
22881 swig_obj
[0] = args
;
22882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22883 if (!SWIG_IsOK(res1
)) {
22884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22886 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= (wxControl
*)(arg1
)->GetControl();
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22894 resultobj
= wxPyMake_wxObject(result
, 0);
22902 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22903 PyObject
*resultobj
= 0;
22904 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22905 wxToolBarBase
*result
= 0 ;
22908 PyObject
*swig_obj
[1] ;
22910 if (!args
) SWIG_fail
;
22911 swig_obj
[0] = args
;
22912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22916 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22932 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22933 PyObject
*resultobj
= 0;
22934 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22938 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22946 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (int)(arg1
)->IsButton();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_From_int(static_cast< int >(result
));
22960 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22961 PyObject
*resultobj
= 0;
22962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22974 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (int)(arg1
)->IsControl();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_From_int(static_cast< int >(result
));
22988 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22989 PyObject
*resultobj
= 0;
22990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22994 PyObject
*swig_obj
[1] ;
22996 if (!args
) SWIG_fail
;
22997 swig_obj
[0] = args
;
22998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23002 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (int)(arg1
)->IsSeparator();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_From_int(static_cast< int >(result
));
23016 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23017 PyObject
*resultobj
= 0;
23018 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23022 PyObject
*swig_obj
[1] ;
23024 if (!args
) SWIG_fail
;
23025 swig_obj
[0] = args
;
23026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23027 if (!SWIG_IsOK(res1
)) {
23028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23030 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (int)(arg1
)->GetStyle();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= SWIG_From_int(static_cast< int >(result
));
23044 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23045 PyObject
*resultobj
= 0;
23046 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23050 PyObject
*swig_obj
[1] ;
23052 if (!args
) SWIG_fail
;
23053 swig_obj
[0] = args
;
23054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23058 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (wxItemKind
)(arg1
)->GetKind();
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_From_int(static_cast< int >(result
));
23072 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23073 PyObject
*resultobj
= 0;
23074 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23078 PyObject
*swig_obj
[1] ;
23080 if (!args
) SWIG_fail
;
23081 swig_obj
[0] = args
;
23082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23083 if (!SWIG_IsOK(res1
)) {
23084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23086 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (bool)(arg1
)->IsEnabled();
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23102 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23103 PyObject
*resultobj
= 0;
23104 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23108 PyObject
*swig_obj
[1] ;
23110 if (!args
) SWIG_fail
;
23111 swig_obj
[0] = args
;
23112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23116 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 result
= (bool)(arg1
)->IsToggled();
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23132 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23133 PyObject
*resultobj
= 0;
23134 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23138 PyObject
*swig_obj
[1] ;
23140 if (!args
) SWIG_fail
;
23141 swig_obj
[0] = args
;
23142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23143 if (!SWIG_IsOK(res1
)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23146 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= (bool)(arg1
)->CanBeToggled();
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23162 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23163 PyObject
*resultobj
= 0;
23164 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23165 wxBitmap
*result
= 0 ;
23168 PyObject
*swig_obj
[1] ;
23170 if (!args
) SWIG_fail
;
23171 swig_obj
[0] = args
;
23172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23176 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23181 result
= (wxBitmap
*) &_result_ref
;
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 wxBitmap
* resultptr
= new wxBitmap(*result
);
23188 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23196 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23197 PyObject
*resultobj
= 0;
23198 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23199 wxBitmap
*result
= 0 ;
23202 PyObject
*swig_obj
[1] ;
23204 if (!args
) SWIG_fail
;
23205 swig_obj
[0] = args
;
23206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23207 if (!SWIG_IsOK(res1
)) {
23208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23210 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23215 result
= (wxBitmap
*) &_result_ref
;
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 wxBitmap
* resultptr
= new wxBitmap(*result
);
23222 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23230 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23231 PyObject
*resultobj
= 0;
23232 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23236 PyObject
*swig_obj
[1] ;
23238 if (!args
) SWIG_fail
;
23239 swig_obj
[0] = args
;
23240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23241 if (!SWIG_IsOK(res1
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23244 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (arg1
)->GetBitmap();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23258 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23259 PyObject
*resultobj
= 0;
23260 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23264 PyObject
*swig_obj
[1] ;
23266 if (!args
) SWIG_fail
;
23267 swig_obj
[0] = args
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23272 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (arg1
)->GetLabel();
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23292 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23293 PyObject
*resultobj
= 0;
23294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23298 PyObject
*swig_obj
[1] ;
23300 if (!args
) SWIG_fail
;
23301 swig_obj
[0] = args
;
23302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23303 if (!SWIG_IsOK(res1
)) {
23304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23306 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (arg1
)->GetShortHelp();
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23326 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23327 PyObject
*resultobj
= 0;
23328 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23332 PyObject
*swig_obj
[1] ;
23334 if (!args
) SWIG_fail
;
23335 swig_obj
[0] = args
;
23336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23340 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (arg1
)->GetLongHelp();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23360 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
= 0;
23362 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char * kwnames
[] = {
23372 (char *) "self",(char *) "enable", NULL
23375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23377 if (!SWIG_IsOK(res1
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23380 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23382 if (!SWIG_IsOK(ecode2
)) {
23383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23385 arg2
= static_cast< bool >(val2
);
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (bool)(arg1
)->Enable(arg2
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23401 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23402 PyObject
*resultobj
= 0;
23403 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23406 PyObject
*swig_obj
[1] ;
23408 if (!args
) SWIG_fail
;
23409 swig_obj
[0] = args
;
23410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23411 if (!SWIG_IsOK(res1
)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23414 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_Py_Void();
23428 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
= 0;
23430 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 PyObject
* obj1
= 0 ;
23439 char * kwnames
[] = {
23440 (char *) "self",(char *) "toggle", NULL
23443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23445 if (!SWIG_IsOK(res1
)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23448 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23450 if (!SWIG_IsOK(ecode2
)) {
23451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23453 arg2
= static_cast< bool >(val2
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (bool)(arg1
)->SetToggle(arg2
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23469 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
= 0;
23471 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23472 wxString
*arg2
= 0 ;
23476 bool temp2
= false ;
23477 PyObject
* obj0
= 0 ;
23478 PyObject
* obj1
= 0 ;
23479 char * kwnames
[] = {
23480 (char *) "self",(char *) "help", NULL
23483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23485 if (!SWIG_IsOK(res1
)) {
23486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23488 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23490 arg2
= wxString_in_helper(obj1
);
23491 if (arg2
== NULL
) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23517 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
= 0;
23519 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23520 wxString
*arg2
= 0 ;
23524 bool temp2
= false ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 char * kwnames
[] = {
23528 (char *) "self",(char *) "help", NULL
23531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23533 if (!SWIG_IsOK(res1
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23536 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23538 arg2
= wxString_in_helper(obj1
);
23539 if (arg2
== NULL
) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23565 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
= 0;
23567 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23568 wxBitmap
*arg2
= 0 ;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 char * kwnames
[] = {
23576 (char *) "self",(char *) "bmp", NULL
23579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23581 if (!SWIG_IsOK(res1
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23584 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23586 if (!SWIG_IsOK(res2
)) {
23587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23592 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_Py_Void();
23606 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
= 0;
23608 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23609 wxBitmap
*arg2
= 0 ;
23614 PyObject
* obj0
= 0 ;
23615 PyObject
* obj1
= 0 ;
23616 char * kwnames
[] = {
23617 (char *) "self",(char *) "bmp", NULL
23620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23622 if (!SWIG_IsOK(res1
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23625 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23627 if (!SWIG_IsOK(res2
)) {
23628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23633 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_Py_Void();
23647 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
= 0;
23649 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23650 wxString
*arg2
= 0 ;
23653 bool temp2
= false ;
23654 PyObject
* obj0
= 0 ;
23655 PyObject
* obj1
= 0 ;
23656 char * kwnames
[] = {
23657 (char *) "self",(char *) "label", NULL
23660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23662 if (!SWIG_IsOK(res1
)) {
23663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23665 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23667 arg2
= wxString_in_helper(obj1
);
23668 if (arg2
== NULL
) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 (arg1
)->SetLabel((wxString
const &)*arg2
);
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= SWIG_Py_Void();
23692 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23693 PyObject
*resultobj
= 0;
23694 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23697 PyObject
*swig_obj
[1] ;
23699 if (!args
) SWIG_fail
;
23700 swig_obj
[0] = args
;
23701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23702 if (!SWIG_IsOK(res1
)) {
23703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23705 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_Py_Void();
23719 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
= 0;
23721 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23722 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 char * kwnames
[] = {
23730 (char *) "self",(char *) "tbar", NULL
23733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23735 if (!SWIG_IsOK(res1
)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23738 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23740 if (!SWIG_IsOK(res2
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23743 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 (arg1
)->Attach(arg2
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_Py_Void();
23757 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23758 PyObject
*resultobj
= 0;
23759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23760 PyObject
*result
= 0 ;
23763 PyObject
*swig_obj
[1] ;
23765 if (!args
) SWIG_fail
;
23766 swig_obj
[0] = args
;
23767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23768 if (!SWIG_IsOK(res1
)) {
23769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23771 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= result
;
23785 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
= 0;
23787 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23788 PyObject
*arg2
= (PyObject
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 PyObject
* obj1
= 0 ;
23793 char * kwnames
[] = {
23794 (char *) "self",(char *) "clientData", NULL
23797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23799 if (!SWIG_IsOK(res1
)) {
23800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23802 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_Py_Void();
23817 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23820 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23821 return SWIG_Py_Void();
23824 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
= 0;
23826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23828 wxString
*arg3
= 0 ;
23829 wxBitmap
*arg4
= 0 ;
23830 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23831 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23832 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23833 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23834 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23835 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23837 PyObject
*arg9
= (PyObject
*) NULL
;
23838 wxToolBarToolBase
*result
= 0 ;
23843 bool temp3
= false ;
23850 bool temp7
= false ;
23851 bool temp8
= false ;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 PyObject
* obj2
= 0 ;
23855 PyObject
* obj3
= 0 ;
23856 PyObject
* obj4
= 0 ;
23857 PyObject
* obj5
= 0 ;
23858 PyObject
* obj6
= 0 ;
23859 PyObject
* obj7
= 0 ;
23860 PyObject
* obj8
= 0 ;
23861 char * kwnames
[] = {
23862 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23867 if (!SWIG_IsOK(res1
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23870 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23872 if (!SWIG_IsOK(ecode2
)) {
23873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23875 arg2
= static_cast< int >(val2
);
23877 arg3
= wxString_in_helper(obj2
);
23878 if (arg3
== NULL
) SWIG_fail
;
23881 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23882 if (!SWIG_IsOK(res4
)) {
23883 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23888 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23890 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23891 if (!SWIG_IsOK(res5
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23897 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23900 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23901 if (!SWIG_IsOK(ecode6
)) {
23902 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23904 arg6
= static_cast< wxItemKind
>(val6
);
23908 arg7
= wxString_in_helper(obj6
);
23909 if (arg7
== NULL
) SWIG_fail
;
23915 arg8
= wxString_in_helper(obj7
);
23916 if (arg8
== NULL
) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23962 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
= 0;
23964 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23967 wxString
*arg4
= 0 ;
23968 wxBitmap
*arg5
= 0 ;
23969 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23970 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23971 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23972 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23974 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23975 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23976 PyObject
*arg10
= (PyObject
*) NULL
;
23977 wxToolBarToolBase
*result
= 0 ;
23984 bool temp4
= false ;
23991 bool temp8
= false ;
23992 bool temp9
= false ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 PyObject
* obj2
= 0 ;
23996 PyObject
* obj3
= 0 ;
23997 PyObject
* obj4
= 0 ;
23998 PyObject
* obj5
= 0 ;
23999 PyObject
* obj6
= 0 ;
24000 PyObject
* obj7
= 0 ;
24001 PyObject
* obj8
= 0 ;
24002 PyObject
* obj9
= 0 ;
24003 char * kwnames
[] = {
24004 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24009 if (!SWIG_IsOK(res1
)) {
24010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24012 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24013 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24014 if (!SWIG_IsOK(ecode2
)) {
24015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24017 arg2
= static_cast< size_t >(val2
);
24018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24019 if (!SWIG_IsOK(ecode3
)) {
24020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24022 arg3
= static_cast< int >(val3
);
24024 arg4
= wxString_in_helper(obj3
);
24025 if (arg4
== NULL
) SWIG_fail
;
24028 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24029 if (!SWIG_IsOK(res5
)) {
24030 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24035 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24037 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24038 if (!SWIG_IsOK(res6
)) {
24039 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24044 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24047 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24048 if (!SWIG_IsOK(ecode7
)) {
24049 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24051 arg7
= static_cast< wxItemKind
>(val7
);
24055 arg8
= wxString_in_helper(obj7
);
24056 if (arg8
== NULL
) SWIG_fail
;
24062 arg9
= wxString_in_helper(obj8
);
24063 if (arg9
== NULL
) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24077 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24109 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
= 0;
24111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24112 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24113 wxToolBarToolBase
*result
= 0 ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 char * kwnames
[] = {
24121 (char *) "self",(char *) "tool", NULL
24124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24126 if (!SWIG_IsOK(res1
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24129 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24131 if (!SWIG_IsOK(res2
)) {
24132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24134 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24150 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
= 0;
24152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24154 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24155 wxToolBarToolBase
*result
= 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 PyObject
* obj2
= 0 ;
24165 char * kwnames
[] = {
24166 (char *) "self",(char *) "pos",(char *) "tool", NULL
24169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24171 if (!SWIG_IsOK(res1
)) {
24172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24174 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24175 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24176 if (!SWIG_IsOK(ecode2
)) {
24177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24179 arg2
= static_cast< size_t >(val2
);
24180 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24181 if (!SWIG_IsOK(res3
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24184 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24200 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
= 0;
24202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24203 wxControl
*arg2
= (wxControl
*) 0 ;
24204 wxToolBarToolBase
*result
= 0 ;
24209 PyObject
* obj0
= 0 ;
24210 PyObject
* obj1
= 0 ;
24211 char * kwnames
[] = {
24212 (char *) "self",(char *) "control", NULL
24215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24220 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24222 if (!SWIG_IsOK(res2
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24225 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24241 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
= 0;
24243 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24245 wxControl
*arg3
= (wxControl
*) 0 ;
24246 wxToolBarToolBase
*result
= 0 ;
24253 PyObject
* obj0
= 0 ;
24254 PyObject
* obj1
= 0 ;
24255 PyObject
* obj2
= 0 ;
24256 char * kwnames
[] = {
24257 (char *) "self",(char *) "pos",(char *) "control", NULL
24260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24265 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24266 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24267 if (!SWIG_IsOK(ecode2
)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24270 arg2
= static_cast< size_t >(val2
);
24271 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24272 if (!SWIG_IsOK(res3
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24275 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24291 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24292 PyObject
*resultobj
= 0;
24293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24295 wxControl
*result
= 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 char * kwnames
[] = {
24303 (char *) "self",(char *) "id", NULL
24306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24308 if (!SWIG_IsOK(res1
)) {
24309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24311 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24313 if (!SWIG_IsOK(ecode2
)) {
24314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24316 arg2
= static_cast< int >(val2
);
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= wxPyMake_wxObject(result
, 0);
24332 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24333 PyObject
*resultobj
= 0;
24334 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24335 wxToolBarToolBase
*result
= 0 ;
24338 PyObject
*swig_obj
[1] ;
24340 if (!args
) SWIG_fail
;
24341 swig_obj
[0] = args
;
24342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24343 if (!SWIG_IsOK(res1
)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24346 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24362 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
= 0;
24364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24366 wxToolBarToolBase
*result
= 0 ;
24371 PyObject
* obj0
= 0 ;
24372 PyObject
* obj1
= 0 ;
24373 char * kwnames
[] = {
24374 (char *) "self",(char *) "pos", NULL
24377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24379 if (!SWIG_IsOK(res1
)) {
24380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24382 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24383 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24384 if (!SWIG_IsOK(ecode2
)) {
24385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24387 arg2
= static_cast< size_t >(val2
);
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24403 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
= 0;
24405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24407 wxToolBarToolBase
*result
= 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char * kwnames
[] = {
24415 (char *) "self",(char *) "id", NULL
24418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24423 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24425 if (!SWIG_IsOK(ecode2
)) {
24426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24428 arg2
= static_cast< int >(val2
);
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24444 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char * kwnames
[] = {
24456 (char *) "self",(char *) "pos", NULL
24459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24461 if (!SWIG_IsOK(res1
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24464 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24465 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24466 if (!SWIG_IsOK(ecode2
)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24469 arg2
= static_cast< size_t >(val2
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24485 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
= 0;
24487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24496 char * kwnames
[] = {
24497 (char *) "self",(char *) "id", NULL
24500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24502 if (!SWIG_IsOK(res1
)) {
24503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24505 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24507 if (!SWIG_IsOK(ecode2
)) {
24508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24510 arg2
= static_cast< int >(val2
);
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (bool)(arg1
)->DeleteTool(arg2
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24526 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24527 PyObject
*resultobj
= 0;
24528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24531 PyObject
*swig_obj
[1] ;
24533 if (!args
) SWIG_fail
;
24534 swig_obj
[0] = args
;
24535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24539 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 (arg1
)->ClearTools();
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= SWIG_Py_Void();
24553 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24554 PyObject
*resultobj
= 0;
24555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24559 PyObject
*swig_obj
[1] ;
24561 if (!args
) SWIG_fail
;
24562 swig_obj
[0] = args
;
24563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24564 if (!SWIG_IsOK(res1
)) {
24565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24567 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (bool)(arg1
)->Realize();
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24583 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
= 0;
24585 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 char * kwnames
[] = {
24598 (char *) "self",(char *) "id",(char *) "enable", NULL
24601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24603 if (!SWIG_IsOK(res1
)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24606 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24608 if (!SWIG_IsOK(ecode2
)) {
24609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24611 arg2
= static_cast< int >(val2
);
24612 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24613 if (!SWIG_IsOK(ecode3
)) {
24614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24616 arg3
= static_cast< bool >(val3
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 (arg1
)->EnableTool(arg2
,arg3
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_Py_Void();
24630 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
= 0;
24632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 PyObject
* obj2
= 0 ;
24644 char * kwnames
[] = {
24645 (char *) "self",(char *) "id",(char *) "toggle", NULL
24648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24650 if (!SWIG_IsOK(res1
)) {
24651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24653 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24655 if (!SWIG_IsOK(ecode2
)) {
24656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24658 arg2
= static_cast< int >(val2
);
24659 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24660 if (!SWIG_IsOK(ecode3
)) {
24661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24663 arg3
= static_cast< bool >(val3
);
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 (arg1
)->ToggleTool(arg2
,arg3
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_Py_Void();
24677 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 PyObject
* obj2
= 0 ;
24691 char * kwnames
[] = {
24692 (char *) "self",(char *) "id",(char *) "toggle", NULL
24695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24697 if (!SWIG_IsOK(res1
)) {
24698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24700 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24702 if (!SWIG_IsOK(ecode2
)) {
24703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24705 arg2
= static_cast< int >(val2
);
24706 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24707 if (!SWIG_IsOK(ecode3
)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24710 arg3
= static_cast< bool >(val3
);
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 (arg1
)->SetToggle(arg2
,arg3
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= SWIG_Py_Void();
24724 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
= 0;
24726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24728 PyObject
*result
= 0 ;
24733 PyObject
* obj0
= 0 ;
24734 PyObject
* obj1
= 0 ;
24735 char * kwnames
[] = {
24736 (char *) "self",(char *) "id", NULL
24739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24741 if (!SWIG_IsOK(res1
)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24744 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24746 if (!SWIG_IsOK(ecode2
)) {
24747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24749 arg2
= static_cast< int >(val2
);
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= result
;
24763 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
= 0;
24765 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24767 PyObject
*arg3
= (PyObject
*) 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 PyObject
* obj2
= 0 ;
24775 char * kwnames
[] = {
24776 (char *) "self",(char *) "id",(char *) "clientData", NULL
24779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24781 if (!SWIG_IsOK(res1
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24784 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24786 if (!SWIG_IsOK(ecode2
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24789 arg2
= static_cast< int >(val2
);
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= SWIG_Py_Void();
24804 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= 0;
24806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "self",(char *) "id", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24824 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24826 if (!SWIG_IsOK(ecode2
)) {
24827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24829 arg2
= static_cast< int >(val2
);
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_From_int(static_cast< int >(result
));
24843 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24852 PyObject
* obj0
= 0 ;
24853 PyObject
* obj1
= 0 ;
24854 char * kwnames
[] = {
24855 (char *) "self",(char *) "id", NULL
24858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24860 if (!SWIG_IsOK(res1
)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24863 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24865 if (!SWIG_IsOK(ecode2
)) {
24866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24868 arg2
= static_cast< int >(val2
);
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 result
= (bool)(arg1
)->GetToolState(arg2
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24884 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
= 0;
24886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char * kwnames
[] = {
24896 (char *) "self",(char *) "id", NULL
24899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24901 if (!SWIG_IsOK(res1
)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24904 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24906 if (!SWIG_IsOK(ecode2
)) {
24907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24909 arg2
= static_cast< int >(val2
);
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24925 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
= 0;
24927 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24929 wxString
*arg3
= 0 ;
24934 bool temp3
= false ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 PyObject
* obj2
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "self",(char *) "id",(char *) "helpString", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24947 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24949 if (!SWIG_IsOK(ecode2
)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24952 arg2
= static_cast< int >(val2
);
24954 arg3
= wxString_in_helper(obj2
);
24955 if (arg3
== NULL
) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= SWIG_Py_Void();
24979 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
= 0;
24981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj1
= 0 ;
24990 char * kwnames
[] = {
24991 (char *) "self",(char *) "id", NULL
24994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24996 if (!SWIG_IsOK(res1
)) {
24997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24999 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25001 if (!SWIG_IsOK(ecode2
)) {
25002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25004 arg2
= static_cast< int >(val2
);
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (arg1
)->GetToolShortHelp(arg2
);
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25024 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
= 0;
25026 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25028 wxString
*arg3
= 0 ;
25033 bool temp3
= false ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 PyObject
* obj2
= 0 ;
25037 char * kwnames
[] = {
25038 (char *) "self",(char *) "id",(char *) "helpString", NULL
25041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25043 if (!SWIG_IsOK(res1
)) {
25044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25046 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25048 if (!SWIG_IsOK(ecode2
)) {
25049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25051 arg2
= static_cast< int >(val2
);
25053 arg3
= wxString_in_helper(obj2
);
25054 if (arg3
== NULL
) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_Py_Void();
25078 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
= 0;
25080 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 char * kwnames
[] = {
25090 (char *) "self",(char *) "id", NULL
25093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",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_GetToolLongHelp" "', 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_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25103 arg2
= static_cast< int >(val2
);
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (arg1
)->GetToolLongHelp(arg2
);
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25123 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
= 0;
25125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 PyObject
* obj1
= 0 ;
25136 PyObject
* obj2
= 0 ;
25137 char * kwnames
[] = {
25138 (char *) "self",(char *) "x",(char *) "y", NULL
25141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25143 if (!SWIG_IsOK(res1
)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25146 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25148 if (!SWIG_IsOK(ecode2
)) {
25149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25151 arg2
= static_cast< int >(val2
);
25152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25153 if (!SWIG_IsOK(ecode3
)) {
25154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25156 arg3
= static_cast< int >(val3
);
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 (arg1
)->SetMargins(arg2
,arg3
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_Py_Void();
25170 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
= 0;
25172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char * kwnames
[] = {
25180 (char *) "self",(char *) "size", NULL
25183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25188 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= SWIG_Py_Void();
25206 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
= 0;
25208 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 char * kwnames
[] = {
25217 (char *) "self",(char *) "packing", NULL
25220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25225 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25227 if (!SWIG_IsOK(ecode2
)) {
25228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25230 arg2
= static_cast< int >(val2
);
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 (arg1
)->SetToolPacking(arg2
);
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= SWIG_Py_Void();
25244 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
= 0;
25246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 char * kwnames
[] = {
25255 (char *) "self",(char *) "separation", NULL
25258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25260 if (!SWIG_IsOK(res1
)) {
25261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25263 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25265 if (!SWIG_IsOK(ecode2
)) {
25266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25268 arg2
= static_cast< int >(val2
);
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 (arg1
)->SetToolSeparation(arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_Py_Void();
25282 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25283 PyObject
*resultobj
= 0;
25284 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25288 PyObject
*swig_obj
[1] ;
25290 if (!args
) SWIG_fail
;
25291 swig_obj
[0] = args
;
25292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25293 if (!SWIG_IsOK(res1
)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25296 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (arg1
)->GetToolMargins();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25310 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25311 PyObject
*resultobj
= 0;
25312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25316 PyObject
*swig_obj
[1] ;
25318 if (!args
) SWIG_fail
;
25319 swig_obj
[0] = args
;
25320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25321 if (!SWIG_IsOK(res1
)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25324 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (arg1
)->GetMargins();
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25338 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25339 PyObject
*resultobj
= 0;
25340 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25344 PyObject
*swig_obj
[1] ;
25346 if (!args
) SWIG_fail
;
25347 swig_obj
[0] = args
;
25348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25349 if (!SWIG_IsOK(res1
)) {
25350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25352 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= (int)(arg1
)->GetToolPacking();
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= SWIG_From_int(static_cast< int >(result
));
25366 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25367 PyObject
*resultobj
= 0;
25368 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25372 PyObject
*swig_obj
[1] ;
25374 if (!args
) SWIG_fail
;
25375 swig_obj
[0] = args
;
25376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25377 if (!SWIG_IsOK(res1
)) {
25378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25380 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (int)(arg1
)->GetToolSeparation();
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_From_int(static_cast< int >(result
));
25394 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
= 0;
25396 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 char * kwnames
[] = {
25405 (char *) "self",(char *) "nRows", NULL
25408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25410 if (!SWIG_IsOK(res1
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25413 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25415 if (!SWIG_IsOK(ecode2
)) {
25416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25418 arg2
= static_cast< int >(val2
);
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 (arg1
)->SetRows(arg2
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_Py_Void();
25432 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
= 0;
25434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 PyObject
* obj2
= 0 ;
25446 char * kwnames
[] = {
25447 (char *) "self",(char *) "rows",(char *) "cols", NULL
25450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25452 if (!SWIG_IsOK(res1
)) {
25453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25455 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25457 if (!SWIG_IsOK(ecode2
)) {
25458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25460 arg2
= static_cast< int >(val2
);
25461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25462 if (!SWIG_IsOK(ecode3
)) {
25463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25465 arg3
= static_cast< int >(val3
);
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 resultobj
= SWIG_Py_Void();
25479 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25480 PyObject
*resultobj
= 0;
25481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25485 PyObject
*swig_obj
[1] ;
25487 if (!args
) SWIG_fail
;
25488 swig_obj
[0] = args
;
25489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25490 if (!SWIG_IsOK(res1
)) {
25491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25493 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (int)(arg1
)->GetMaxRows();
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= SWIG_From_int(static_cast< int >(result
));
25507 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25508 PyObject
*resultobj
= 0;
25509 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25513 PyObject
*swig_obj
[1] ;
25515 if (!args
) SWIG_fail
;
25516 swig_obj
[0] = args
;
25517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25518 if (!SWIG_IsOK(res1
)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25521 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= (int)(arg1
)->GetMaxCols();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_From_int(static_cast< int >(result
));
25535 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
= 0;
25537 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 char * kwnames
[] = {
25545 (char *) "self",(char *) "size", NULL
25548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25550 if (!SWIG_IsOK(res1
)) {
25551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25553 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25556 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_Py_Void();
25571 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25572 PyObject
*resultobj
= 0;
25573 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25577 PyObject
*swig_obj
[1] ;
25579 if (!args
) SWIG_fail
;
25580 swig_obj
[0] = args
;
25581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25582 if (!SWIG_IsOK(res1
)) {
25583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25585 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (arg1
)->GetToolBitmapSize();
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25599 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25600 PyObject
*resultobj
= 0;
25601 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25605 PyObject
*swig_obj
[1] ;
25607 if (!args
) SWIG_fail
;
25608 swig_obj
[0] = args
;
25609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25610 if (!SWIG_IsOK(res1
)) {
25611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25613 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= (arg1
)->GetToolSize();
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25627 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
= 0;
25629 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25632 wxToolBarToolBase
*result
= 0 ;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 PyObject
* obj2
= 0 ;
25642 char * kwnames
[] = {
25643 (char *) "self",(char *) "x",(char *) "y", NULL
25646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25648 if (!SWIG_IsOK(res1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25651 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25653 if (!SWIG_IsOK(ecode2
)) {
25654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25656 arg2
= static_cast< int >(val2
);
25657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25658 if (!SWIG_IsOK(ecode3
)) {
25659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25661 arg3
= static_cast< int >(val3
);
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25677 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
= 0;
25679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25681 wxToolBarToolBase
*result
= 0 ;
25686 PyObject
* obj0
= 0 ;
25687 PyObject
* obj1
= 0 ;
25688 char * kwnames
[] = {
25689 (char *) "self",(char *) "toolid", NULL
25692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25694 if (!SWIG_IsOK(res1
)) {
25695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25697 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25699 if (!SWIG_IsOK(ecode2
)) {
25700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25702 arg2
= static_cast< int >(val2
);
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25706 wxPyEndAllowThreads(__tstate
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25718 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25719 PyObject
*resultobj
= 0;
25720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25724 PyObject
*swig_obj
[1] ;
25726 if (!args
) SWIG_fail
;
25727 swig_obj
[0] = args
;
25728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25729 if (!SWIG_IsOK(res1
)) {
25730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25732 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (bool)(arg1
)->IsVertical();
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25748 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25749 PyObject
*resultobj
= 0;
25750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25754 PyObject
*swig_obj
[1] ;
25756 if (!args
) SWIG_fail
;
25757 swig_obj
[0] = args
;
25758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25762 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25776 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25779 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25780 return SWIG_Py_Void();
25783 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
= 0;
25785 wxWindow
*arg1
= (wxWindow
*) 0 ;
25786 int arg2
= (int) -1 ;
25787 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25788 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25789 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25790 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25791 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25792 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25793 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25794 wxToolBar
*result
= 0 ;
25803 bool temp6
= false ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 PyObject
* obj2
= 0 ;
25807 PyObject
* obj3
= 0 ;
25808 PyObject
* obj4
= 0 ;
25809 PyObject
* obj5
= 0 ;
25810 char * kwnames
[] = {
25811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25816 if (!SWIG_IsOK(res1
)) {
25817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25822 if (!SWIG_IsOK(ecode2
)) {
25823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25825 arg2
= static_cast< int >(val2
);
25830 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25836 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25840 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25841 if (!SWIG_IsOK(ecode5
)) {
25842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25844 arg5
= static_cast< long >(val5
);
25848 arg6
= wxString_in_helper(obj5
);
25849 if (arg6
== NULL
) SWIG_fail
;
25854 if (!wxPyCheckForApp()) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25875 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25876 PyObject
*resultobj
= 0;
25877 wxToolBar
*result
= 0 ;
25879 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25881 if (!wxPyCheckForApp()) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (wxToolBar
*)new wxToolBar();
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25894 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
= 0;
25896 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25897 wxWindow
*arg2
= (wxWindow
*) 0 ;
25898 int arg3
= (int) -1 ;
25899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25903 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25904 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25917 bool temp7
= false ;
25918 PyObject
* obj0
= 0 ;
25919 PyObject
* obj1
= 0 ;
25920 PyObject
* obj2
= 0 ;
25921 PyObject
* obj3
= 0 ;
25922 PyObject
* obj4
= 0 ;
25923 PyObject
* obj5
= 0 ;
25924 PyObject
* obj6
= 0 ;
25925 char * kwnames
[] = {
25926 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25931 if (!SWIG_IsOK(res1
)) {
25932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25934 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25936 if (!SWIG_IsOK(res2
)) {
25937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25939 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25942 if (!SWIG_IsOK(ecode3
)) {
25943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25945 arg3
= static_cast< int >(val3
);
25950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25960 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25961 if (!SWIG_IsOK(ecode6
)) {
25962 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25964 arg6
= static_cast< long >(val6
);
25968 arg7
= wxString_in_helper(obj6
);
25969 if (arg7
== NULL
) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25996 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
= 0;
25998 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25999 SwigValueWrapper
<wxVisualAttributes
> result
;
26002 PyObject
* obj0
= 0 ;
26003 char * kwnames
[] = {
26004 (char *) "variant", NULL
26007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26010 if (!SWIG_IsOK(ecode1
)) {
26011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26013 arg1
= static_cast< wxWindowVariant
>(val1
);
26016 if (!wxPyCheckForApp()) SWIG_fail
;
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26029 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26032 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26033 return SWIG_Py_Void();
26036 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26037 return SWIG_Python_InitShadowInstance(args
);
26040 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26041 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26046 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26047 PyObject
*pyobj
= 0;
26051 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26053 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26060 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
= 0;
26062 wxColour
const &arg1_defvalue
= wxNullColour
;
26063 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26064 wxColour
const &arg2_defvalue
= wxNullColour
;
26065 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26066 wxFont
const &arg3_defvalue
= wxNullFont
;
26067 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26068 wxListItemAttr
*result
= 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 PyObject
* obj2
= 0 ;
26076 char * kwnames
[] = {
26077 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26084 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26090 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26094 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26095 if (!SWIG_IsOK(res3
)) {
26096 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26101 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26116 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26117 PyObject
*resultobj
= 0;
26118 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26121 PyObject
*swig_obj
[1] ;
26123 if (!args
) SWIG_fail
;
26124 swig_obj
[0] = args
;
26125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26126 if (!SWIG_IsOK(res1
)) {
26127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26129 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 resultobj
= SWIG_Py_Void();
26144 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
= 0;
26146 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26147 wxColour
*arg2
= 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char * kwnames
[] = {
26154 (char *) "self",(char *) "colText", NULL
26157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26162 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= SWIG_Py_Void();
26180 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
= 0;
26182 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26183 wxColour
*arg2
= 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char * kwnames
[] = {
26190 (char *) "self",(char *) "colBack", NULL
26193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26195 if (!SWIG_IsOK(res1
)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26198 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26201 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= SWIG_Py_Void();
26216 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
= 0;
26218 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 char * kwnames
[] = {
26227 (char *) "self",(char *) "font", NULL
26230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26235 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26237 if (!SWIG_IsOK(res2
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26243 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 (arg1
)->SetFont((wxFont
const &)*arg2
);
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_Py_Void();
26257 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26258 PyObject
*resultobj
= 0;
26259 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26263 PyObject
*swig_obj
[1] ;
26265 if (!args
) SWIG_fail
;
26266 swig_obj
[0] = args
;
26267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26268 if (!SWIG_IsOK(res1
)) {
26269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26271 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 result
= (bool)(arg1
)->HasTextColour();
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26287 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26288 PyObject
*resultobj
= 0;
26289 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26293 PyObject
*swig_obj
[1] ;
26295 if (!args
) SWIG_fail
;
26296 swig_obj
[0] = args
;
26297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26298 if (!SWIG_IsOK(res1
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26301 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 result
= (bool)(arg1
)->HasBackgroundColour();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26317 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26318 PyObject
*resultobj
= 0;
26319 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26323 PyObject
*swig_obj
[1] ;
26325 if (!args
) SWIG_fail
;
26326 swig_obj
[0] = args
;
26327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26331 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= (bool)(arg1
)->HasFont();
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26347 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26348 PyObject
*resultobj
= 0;
26349 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26353 PyObject
*swig_obj
[1] ;
26355 if (!args
) SWIG_fail
;
26356 swig_obj
[0] = args
;
26357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26358 if (!SWIG_IsOK(res1
)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26361 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 result
= (arg1
)->GetTextColour();
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26375 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26376 PyObject
*resultobj
= 0;
26377 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26381 PyObject
*swig_obj
[1] ;
26383 if (!args
) SWIG_fail
;
26384 swig_obj
[0] = args
;
26385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26389 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (arg1
)->GetBackgroundColour();
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26403 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26404 PyObject
*resultobj
= 0;
26405 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26409 PyObject
*swig_obj
[1] ;
26411 if (!args
) SWIG_fail
;
26412 swig_obj
[0] = args
;
26413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26414 if (!SWIG_IsOK(res1
)) {
26415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26417 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= (arg1
)->GetFont();
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26431 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
= 0;
26433 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26434 wxListItemAttr
*arg2
= 0 ;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 char * kwnames
[] = {
26442 (char *) "self",(char *) "source", NULL
26445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26447 if (!SWIG_IsOK(res1
)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26450 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26451 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26452 if (!SWIG_IsOK(res2
)) {
26453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26458 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_Py_Void();
26472 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26473 PyObject
*resultobj
= 0;
26474 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26477 PyObject
*swig_obj
[1] ;
26479 if (!args
) SWIG_fail
;
26480 swig_obj
[0] = args
;
26481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26485 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26488 wxListItemAttr_Destroy(arg1
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= SWIG_Py_Void();
26499 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26502 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26503 return SWIG_Py_Void();
26506 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26507 return SWIG_Python_InitShadowInstance(args
);
26510 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26511 PyObject
*resultobj
= 0;
26512 wxListItem
*result
= 0 ;
26514 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (wxListItem
*)new wxListItem();
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26530 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26531 PyObject
*resultobj
= 0;
26532 wxListItem
*arg1
= (wxListItem
*) 0 ;
26535 PyObject
*swig_obj
[1] ;
26537 if (!args
) SWIG_fail
;
26538 swig_obj
[0] = args
;
26539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26540 if (!SWIG_IsOK(res1
)) {
26541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26543 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= SWIG_Py_Void();
26558 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26559 PyObject
*resultobj
= 0;
26560 wxListItem
*arg1
= (wxListItem
*) 0 ;
26563 PyObject
*swig_obj
[1] ;
26565 if (!args
) SWIG_fail
;
26566 swig_obj
[0] = args
;
26567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26568 if (!SWIG_IsOK(res1
)) {
26569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26571 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_Py_Void();
26585 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26586 PyObject
*resultobj
= 0;
26587 wxListItem
*arg1
= (wxListItem
*) 0 ;
26590 PyObject
*swig_obj
[1] ;
26592 if (!args
) SWIG_fail
;
26593 swig_obj
[0] = args
;
26594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26595 if (!SWIG_IsOK(res1
)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26598 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 (arg1
)->ClearAttributes();
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26605 resultobj
= SWIG_Py_Void();
26612 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
= 0;
26614 wxListItem
*arg1
= (wxListItem
*) 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char * kwnames
[] = {
26623 (char *) "self",(char *) "mask", NULL
26626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26628 if (!SWIG_IsOK(res1
)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26631 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26632 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26633 if (!SWIG_IsOK(ecode2
)) {
26634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26636 arg2
= static_cast< long >(val2
);
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 (arg1
)->SetMask(arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_Py_Void();
26650 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
= 0;
26652 wxListItem
*arg1
= (wxListItem
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 char * kwnames
[] = {
26661 (char *) "self",(char *) "id", NULL
26664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26666 if (!SWIG_IsOK(res1
)) {
26667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26669 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26670 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26671 if (!SWIG_IsOK(ecode2
)) {
26672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26674 arg2
= static_cast< long >(val2
);
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 (arg1
)->SetId(arg2
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= SWIG_Py_Void();
26688 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
= 0;
26690 wxListItem
*arg1
= (wxListItem
*) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 char * kwnames
[] = {
26699 (char *) "self",(char *) "col", NULL
26702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26704 if (!SWIG_IsOK(res1
)) {
26705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26707 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26709 if (!SWIG_IsOK(ecode2
)) {
26710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26712 arg2
= static_cast< int >(val2
);
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 (arg1
)->SetColumn(arg2
);
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26719 resultobj
= SWIG_Py_Void();
26726 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26727 PyObject
*resultobj
= 0;
26728 wxListItem
*arg1
= (wxListItem
*) 0 ;
26734 PyObject
* obj0
= 0 ;
26735 PyObject
* obj1
= 0 ;
26736 char * kwnames
[] = {
26737 (char *) "self",(char *) "state", NULL
26740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26742 if (!SWIG_IsOK(res1
)) {
26743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26745 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26746 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26747 if (!SWIG_IsOK(ecode2
)) {
26748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26750 arg2
= static_cast< long >(val2
);
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 (arg1
)->SetState(arg2
);
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 resultobj
= SWIG_Py_Void();
26764 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
= 0;
26766 wxListItem
*arg1
= (wxListItem
*) 0 ;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 char * kwnames
[] = {
26775 (char *) "self",(char *) "stateMask", NULL
26778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26780 if (!SWIG_IsOK(res1
)) {
26781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26783 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26784 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26785 if (!SWIG_IsOK(ecode2
)) {
26786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26788 arg2
= static_cast< long >(val2
);
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 (arg1
)->SetStateMask(arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_Py_Void();
26802 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
= 0;
26804 wxListItem
*arg1
= (wxListItem
*) 0 ;
26805 wxString
*arg2
= 0 ;
26808 bool temp2
= false ;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26811 char * kwnames
[] = {
26812 (char *) "self",(char *) "text", NULL
26815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26820 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26822 arg2
= wxString_in_helper(obj1
);
26823 if (arg2
== NULL
) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 (arg1
)->SetText((wxString
const &)*arg2
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= SWIG_Py_Void();
26847 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26848 PyObject
*resultobj
= 0;
26849 wxListItem
*arg1
= (wxListItem
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 char * kwnames
[] = {
26858 (char *) "self",(char *) "image", NULL
26861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26863 if (!SWIG_IsOK(res1
)) {
26864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26866 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26868 if (!SWIG_IsOK(ecode2
)) {
26869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26871 arg2
= static_cast< int >(val2
);
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 (arg1
)->SetImage(arg2
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= SWIG_Py_Void();
26885 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
= 0;
26887 wxListItem
*arg1
= (wxListItem
*) 0 ;
26893 PyObject
* obj0
= 0 ;
26894 PyObject
* obj1
= 0 ;
26895 char * kwnames
[] = {
26896 (char *) "self",(char *) "data", NULL
26899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26901 if (!SWIG_IsOK(res1
)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26904 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26905 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26906 if (!SWIG_IsOK(ecode2
)) {
26907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26909 arg2
= static_cast< long >(val2
);
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 (arg1
)->SetData(arg2
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= SWIG_Py_Void();
26923 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
= 0;
26925 wxListItem
*arg1
= (wxListItem
*) 0 ;
26931 PyObject
* obj0
= 0 ;
26932 PyObject
* obj1
= 0 ;
26933 char * kwnames
[] = {
26934 (char *) "self",(char *) "width", NULL
26937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26939 if (!SWIG_IsOK(res1
)) {
26940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26942 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26944 if (!SWIG_IsOK(ecode2
)) {
26945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26947 arg2
= static_cast< int >(val2
);
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 (arg1
)->SetWidth(arg2
);
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 resultobj
= SWIG_Py_Void();
26961 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
= 0;
26963 wxListItem
*arg1
= (wxListItem
*) 0 ;
26964 wxListColumnFormat arg2
;
26969 PyObject
* obj0
= 0 ;
26970 PyObject
* obj1
= 0 ;
26971 char * kwnames
[] = {
26972 (char *) "self",(char *) "align", NULL
26975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26977 if (!SWIG_IsOK(res1
)) {
26978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26980 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26982 if (!SWIG_IsOK(ecode2
)) {
26983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26985 arg2
= static_cast< wxListColumnFormat
>(val2
);
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 (arg1
)->SetAlign(arg2
);
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= SWIG_Py_Void();
26999 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
= 0;
27001 wxListItem
*arg1
= (wxListItem
*) 0 ;
27002 wxColour
*arg2
= 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char * kwnames
[] = {
27009 (char *) "self",(char *) "colText", NULL
27012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27017 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27020 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= SWIG_Py_Void();
27035 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
= 0;
27037 wxListItem
*arg1
= (wxListItem
*) 0 ;
27038 wxColour
*arg2
= 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 char * kwnames
[] = {
27045 (char *) "self",(char *) "colBack", NULL
27048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27053 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27056 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_Py_Void();
27071 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
= 0;
27073 wxListItem
*arg1
= (wxListItem
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 PyObject
* obj1
= 0 ;
27081 char * kwnames
[] = {
27082 (char *) "self",(char *) "font", NULL
27085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27087 if (!SWIG_IsOK(res1
)) {
27088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27090 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27092 if (!SWIG_IsOK(res2
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27098 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 (arg1
)->SetFont((wxFont
const &)*arg2
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_Py_Void();
27112 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27113 PyObject
*resultobj
= 0;
27114 wxListItem
*arg1
= (wxListItem
*) 0 ;
27118 PyObject
*swig_obj
[1] ;
27120 if (!args
) SWIG_fail
;
27121 swig_obj
[0] = args
;
27122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27123 if (!SWIG_IsOK(res1
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27126 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (long)(arg1
)->GetMask();
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_From_long(static_cast< long >(result
));
27140 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27141 PyObject
*resultobj
= 0;
27142 wxListItem
*arg1
= (wxListItem
*) 0 ;
27146 PyObject
*swig_obj
[1] ;
27148 if (!args
) SWIG_fail
;
27149 swig_obj
[0] = args
;
27150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27151 if (!SWIG_IsOK(res1
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27154 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 result
= (long)(arg1
)->GetId();
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= SWIG_From_long(static_cast< long >(result
));
27168 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27169 PyObject
*resultobj
= 0;
27170 wxListItem
*arg1
= (wxListItem
*) 0 ;
27174 PyObject
*swig_obj
[1] ;
27176 if (!args
) SWIG_fail
;
27177 swig_obj
[0] = args
;
27178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27182 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 result
= (int)(arg1
)->GetColumn();
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= SWIG_From_int(static_cast< int >(result
));
27196 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27197 PyObject
*resultobj
= 0;
27198 wxListItem
*arg1
= (wxListItem
*) 0 ;
27202 PyObject
*swig_obj
[1] ;
27204 if (!args
) SWIG_fail
;
27205 swig_obj
[0] = args
;
27206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27207 if (!SWIG_IsOK(res1
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27210 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= (long)(arg1
)->GetState();
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= SWIG_From_long(static_cast< long >(result
));
27224 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27225 PyObject
*resultobj
= 0;
27226 wxListItem
*arg1
= (wxListItem
*) 0 ;
27227 wxString
*result
= 0 ;
27230 PyObject
*swig_obj
[1] ;
27232 if (!args
) SWIG_fail
;
27233 swig_obj
[0] = args
;
27234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27235 if (!SWIG_IsOK(res1
)) {
27236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27238 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 wxString
const &_result_ref
= (arg1
)->GetText();
27243 result
= (wxString
*) &_result_ref
;
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27261 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27262 PyObject
*resultobj
= 0;
27263 wxListItem
*arg1
= (wxListItem
*) 0 ;
27267 PyObject
*swig_obj
[1] ;
27269 if (!args
) SWIG_fail
;
27270 swig_obj
[0] = args
;
27271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27272 if (!SWIG_IsOK(res1
)) {
27273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27275 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 result
= (int)(arg1
)->GetImage();
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= SWIG_From_int(static_cast< int >(result
));
27289 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27290 PyObject
*resultobj
= 0;
27291 wxListItem
*arg1
= (wxListItem
*) 0 ;
27295 PyObject
*swig_obj
[1] ;
27297 if (!args
) SWIG_fail
;
27298 swig_obj
[0] = args
;
27299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27303 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (long)(arg1
)->GetData();
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= SWIG_From_long(static_cast< long >(result
));
27317 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27318 PyObject
*resultobj
= 0;
27319 wxListItem
*arg1
= (wxListItem
*) 0 ;
27323 PyObject
*swig_obj
[1] ;
27325 if (!args
) SWIG_fail
;
27326 swig_obj
[0] = args
;
27327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27328 if (!SWIG_IsOK(res1
)) {
27329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27331 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 result
= (int)(arg1
)->GetWidth();
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27338 resultobj
= SWIG_From_int(static_cast< int >(result
));
27345 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27346 PyObject
*resultobj
= 0;
27347 wxListItem
*arg1
= (wxListItem
*) 0 ;
27348 wxListColumnFormat result
;
27351 PyObject
*swig_obj
[1] ;
27353 if (!args
) SWIG_fail
;
27354 swig_obj
[0] = args
;
27355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27356 if (!SWIG_IsOK(res1
)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27359 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_From_int(static_cast< int >(result
));
27373 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27374 PyObject
*resultobj
= 0;
27375 wxListItem
*arg1
= (wxListItem
*) 0 ;
27376 wxListItemAttr
*result
= 0 ;
27379 PyObject
*swig_obj
[1] ;
27381 if (!args
) SWIG_fail
;
27382 swig_obj
[0] = args
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27387 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27401 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27402 PyObject
*resultobj
= 0;
27403 wxListItem
*arg1
= (wxListItem
*) 0 ;
27407 PyObject
*swig_obj
[1] ;
27409 if (!args
) SWIG_fail
;
27410 swig_obj
[0] = args
;
27411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27415 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (bool)(arg1
)->HasAttributes();
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27431 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27432 PyObject
*resultobj
= 0;
27433 wxListItem
*arg1
= (wxListItem
*) 0 ;
27437 PyObject
*swig_obj
[1] ;
27439 if (!args
) SWIG_fail
;
27440 swig_obj
[0] = args
;
27441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27445 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27459 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27460 PyObject
*resultobj
= 0;
27461 wxListItem
*arg1
= (wxListItem
*) 0 ;
27465 PyObject
*swig_obj
[1] ;
27467 if (!args
) SWIG_fail
;
27468 swig_obj
[0] = args
;
27469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27470 if (!SWIG_IsOK(res1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27473 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27487 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27488 PyObject
*resultobj
= 0;
27489 wxListItem
*arg1
= (wxListItem
*) 0 ;
27493 PyObject
*swig_obj
[1] ;
27495 if (!args
) SWIG_fail
;
27496 swig_obj
[0] = args
;
27497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27501 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= ((wxListItem
const *)arg1
)->GetFont();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27515 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27516 PyObject
*resultobj
= 0;
27517 wxListItem
*arg1
= (wxListItem
*) 0 ;
27523 PyObject
*swig_obj
[2] ;
27525 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27527 if (!SWIG_IsOK(res1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27530 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27531 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27532 if (!SWIG_IsOK(ecode2
)) {
27533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27535 arg2
= static_cast< long >(val2
);
27536 if (arg1
) (arg1
)->m_mask
= arg2
;
27538 resultobj
= SWIG_Py_Void();
27545 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27546 PyObject
*resultobj
= 0;
27547 wxListItem
*arg1
= (wxListItem
*) 0 ;
27551 PyObject
*swig_obj
[1] ;
27553 if (!args
) SWIG_fail
;
27554 swig_obj
[0] = args
;
27555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27556 if (!SWIG_IsOK(res1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27559 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27560 result
= (long) ((arg1
)->m_mask
);
27561 resultobj
= SWIG_From_long(static_cast< long >(result
));
27568 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27569 PyObject
*resultobj
= 0;
27570 wxListItem
*arg1
= (wxListItem
*) 0 ;
27576 PyObject
*swig_obj
[2] ;
27578 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27580 if (!SWIG_IsOK(res1
)) {
27581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27583 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27584 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27585 if (!SWIG_IsOK(ecode2
)) {
27586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27588 arg2
= static_cast< long >(val2
);
27589 if (arg1
) (arg1
)->m_itemId
= arg2
;
27591 resultobj
= SWIG_Py_Void();
27598 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27599 PyObject
*resultobj
= 0;
27600 wxListItem
*arg1
= (wxListItem
*) 0 ;
27604 PyObject
*swig_obj
[1] ;
27606 if (!args
) SWIG_fail
;
27607 swig_obj
[0] = args
;
27608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27609 if (!SWIG_IsOK(res1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27612 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27613 result
= (long) ((arg1
)->m_itemId
);
27614 resultobj
= SWIG_From_long(static_cast< long >(result
));
27621 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27622 PyObject
*resultobj
= 0;
27623 wxListItem
*arg1
= (wxListItem
*) 0 ;
27629 PyObject
*swig_obj
[2] ;
27631 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27633 if (!SWIG_IsOK(res1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27636 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27637 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27638 if (!SWIG_IsOK(ecode2
)) {
27639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27641 arg2
= static_cast< int >(val2
);
27642 if (arg1
) (arg1
)->m_col
= arg2
;
27644 resultobj
= SWIG_Py_Void();
27651 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27652 PyObject
*resultobj
= 0;
27653 wxListItem
*arg1
= (wxListItem
*) 0 ;
27657 PyObject
*swig_obj
[1] ;
27659 if (!args
) SWIG_fail
;
27660 swig_obj
[0] = args
;
27661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27662 if (!SWIG_IsOK(res1
)) {
27663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27665 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27666 result
= (int) ((arg1
)->m_col
);
27667 resultobj
= SWIG_From_int(static_cast< int >(result
));
27674 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27675 PyObject
*resultobj
= 0;
27676 wxListItem
*arg1
= (wxListItem
*) 0 ;
27682 PyObject
*swig_obj
[2] ;
27684 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27689 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27690 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27691 if (!SWIG_IsOK(ecode2
)) {
27692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27694 arg2
= static_cast< long >(val2
);
27695 if (arg1
) (arg1
)->m_state
= arg2
;
27697 resultobj
= SWIG_Py_Void();
27704 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27705 PyObject
*resultobj
= 0;
27706 wxListItem
*arg1
= (wxListItem
*) 0 ;
27710 PyObject
*swig_obj
[1] ;
27712 if (!args
) SWIG_fail
;
27713 swig_obj
[0] = args
;
27714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27715 if (!SWIG_IsOK(res1
)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27718 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27719 result
= (long) ((arg1
)->m_state
);
27720 resultobj
= SWIG_From_long(static_cast< long >(result
));
27727 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27728 PyObject
*resultobj
= 0;
27729 wxListItem
*arg1
= (wxListItem
*) 0 ;
27735 PyObject
*swig_obj
[2] ;
27737 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27739 if (!SWIG_IsOK(res1
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27742 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27743 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27744 if (!SWIG_IsOK(ecode2
)) {
27745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27747 arg2
= static_cast< long >(val2
);
27748 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27750 resultobj
= SWIG_Py_Void();
27757 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27758 PyObject
*resultobj
= 0;
27759 wxListItem
*arg1
= (wxListItem
*) 0 ;
27763 PyObject
*swig_obj
[1] ;
27765 if (!args
) SWIG_fail
;
27766 swig_obj
[0] = args
;
27767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27768 if (!SWIG_IsOK(res1
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27771 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27772 result
= (long) ((arg1
)->m_stateMask
);
27773 resultobj
= SWIG_From_long(static_cast< long >(result
));
27780 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27781 PyObject
*resultobj
= 0;
27782 wxListItem
*arg1
= (wxListItem
*) 0 ;
27783 wxString
*arg2
= (wxString
*) 0 ;
27786 bool temp2
= false ;
27787 PyObject
*swig_obj
[2] ;
27789 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27794 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27796 arg2
= wxString_in_helper(swig_obj
[1]);
27797 if (arg2
== NULL
) SWIG_fail
;
27800 if (arg1
) (arg1
)->m_text
= *arg2
;
27802 resultobj
= SWIG_Py_Void();
27817 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27818 PyObject
*resultobj
= 0;
27819 wxListItem
*arg1
= (wxListItem
*) 0 ;
27820 wxString
*result
= 0 ;
27823 PyObject
*swig_obj
[1] ;
27825 if (!args
) SWIG_fail
;
27826 swig_obj
[0] = args
;
27827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27831 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27832 result
= (wxString
*)& ((arg1
)->m_text
);
27835 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27837 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27846 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27847 PyObject
*resultobj
= 0;
27848 wxListItem
*arg1
= (wxListItem
*) 0 ;
27854 PyObject
*swig_obj
[2] ;
27856 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27861 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27862 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27863 if (!SWIG_IsOK(ecode2
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27866 arg2
= static_cast< int >(val2
);
27867 if (arg1
) (arg1
)->m_image
= arg2
;
27869 resultobj
= SWIG_Py_Void();
27876 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27877 PyObject
*resultobj
= 0;
27878 wxListItem
*arg1
= (wxListItem
*) 0 ;
27882 PyObject
*swig_obj
[1] ;
27884 if (!args
) SWIG_fail
;
27885 swig_obj
[0] = args
;
27886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27887 if (!SWIG_IsOK(res1
)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27890 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27891 result
= (int) ((arg1
)->m_image
);
27892 resultobj
= SWIG_From_int(static_cast< int >(result
));
27899 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27900 PyObject
*resultobj
= 0;
27901 wxListItem
*arg1
= (wxListItem
*) 0 ;
27907 PyObject
*swig_obj
[2] ;
27909 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27911 if (!SWIG_IsOK(res1
)) {
27912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27914 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27915 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27916 if (!SWIG_IsOK(ecode2
)) {
27917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27919 arg2
= static_cast< long >(val2
);
27920 if (arg1
) (arg1
)->m_data
= arg2
;
27922 resultobj
= SWIG_Py_Void();
27929 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27930 PyObject
*resultobj
= 0;
27931 wxListItem
*arg1
= (wxListItem
*) 0 ;
27935 PyObject
*swig_obj
[1] ;
27937 if (!args
) SWIG_fail
;
27938 swig_obj
[0] = args
;
27939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27940 if (!SWIG_IsOK(res1
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27943 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27944 result
= (long) ((arg1
)->m_data
);
27945 resultobj
= SWIG_From_long(static_cast< long >(result
));
27952 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27953 PyObject
*resultobj
= 0;
27954 wxListItem
*arg1
= (wxListItem
*) 0 ;
27960 PyObject
*swig_obj
[2] ;
27962 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27964 if (!SWIG_IsOK(res1
)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27967 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27968 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27969 if (!SWIG_IsOK(ecode2
)) {
27970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27972 arg2
= static_cast< int >(val2
);
27973 if (arg1
) (arg1
)->m_format
= arg2
;
27975 resultobj
= SWIG_Py_Void();
27982 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27983 PyObject
*resultobj
= 0;
27984 wxListItem
*arg1
= (wxListItem
*) 0 ;
27988 PyObject
*swig_obj
[1] ;
27990 if (!args
) SWIG_fail
;
27991 swig_obj
[0] = args
;
27992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27993 if (!SWIG_IsOK(res1
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27996 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27997 result
= (int) ((arg1
)->m_format
);
27998 resultobj
= SWIG_From_int(static_cast< int >(result
));
28005 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28006 PyObject
*resultobj
= 0;
28007 wxListItem
*arg1
= (wxListItem
*) 0 ;
28013 PyObject
*swig_obj
[2] ;
28015 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28017 if (!SWIG_IsOK(res1
)) {
28018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28020 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28021 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28022 if (!SWIG_IsOK(ecode2
)) {
28023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28025 arg2
= static_cast< int >(val2
);
28026 if (arg1
) (arg1
)->m_width
= arg2
;
28028 resultobj
= SWIG_Py_Void();
28035 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28036 PyObject
*resultobj
= 0;
28037 wxListItem
*arg1
= (wxListItem
*) 0 ;
28041 PyObject
*swig_obj
[1] ;
28043 if (!args
) SWIG_fail
;
28044 swig_obj
[0] = args
;
28045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28046 if (!SWIG_IsOK(res1
)) {
28047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28049 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28050 result
= (int) ((arg1
)->m_width
);
28051 resultobj
= SWIG_From_int(static_cast< int >(result
));
28058 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28061 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28062 return SWIG_Py_Void();
28065 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28066 return SWIG_Python_InitShadowInstance(args
);
28069 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
= 0;
28071 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28072 int arg2
= (int) 0 ;
28073 wxListEvent
*result
= 0 ;
28078 PyObject
* obj0
= 0 ;
28079 PyObject
* obj1
= 0 ;
28080 char * kwnames
[] = {
28081 (char *) "commandType",(char *) "id", NULL
28084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28087 if (!SWIG_IsOK(ecode1
)) {
28088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28090 arg1
= static_cast< wxEventType
>(val1
);
28093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28094 if (!SWIG_IsOK(ecode2
)) {
28095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28097 arg2
= static_cast< int >(val2
);
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28112 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28113 PyObject
*resultobj
= 0;
28114 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28120 PyObject
*swig_obj
[2] ;
28122 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28127 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28128 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28129 if (!SWIG_IsOK(ecode2
)) {
28130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28132 arg2
= static_cast< int >(val2
);
28133 if (arg1
) (arg1
)->m_code
= arg2
;
28135 resultobj
= SWIG_Py_Void();
28142 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28143 PyObject
*resultobj
= 0;
28144 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28148 PyObject
*swig_obj
[1] ;
28150 if (!args
) SWIG_fail
;
28151 swig_obj
[0] = args
;
28152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28153 if (!SWIG_IsOK(res1
)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28156 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28157 result
= (int) ((arg1
)->m_code
);
28158 resultobj
= SWIG_From_int(static_cast< int >(result
));
28165 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28166 PyObject
*resultobj
= 0;
28167 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28173 PyObject
*swig_obj
[2] ;
28175 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28177 if (!SWIG_IsOK(res1
)) {
28178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28180 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28181 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28182 if (!SWIG_IsOK(ecode2
)) {
28183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28185 arg2
= static_cast< long >(val2
);
28186 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28188 resultobj
= SWIG_Py_Void();
28195 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28196 PyObject
*resultobj
= 0;
28197 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28201 PyObject
*swig_obj
[1] ;
28203 if (!args
) SWIG_fail
;
28204 swig_obj
[0] = args
;
28205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28206 if (!SWIG_IsOK(res1
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28209 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28210 result
= (long) ((arg1
)->m_oldItemIndex
);
28211 resultobj
= SWIG_From_long(static_cast< long >(result
));
28218 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28219 PyObject
*resultobj
= 0;
28220 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28226 PyObject
*swig_obj
[2] ;
28228 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28230 if (!SWIG_IsOK(res1
)) {
28231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28233 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28234 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28235 if (!SWIG_IsOK(ecode2
)) {
28236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28238 arg2
= static_cast< long >(val2
);
28239 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28241 resultobj
= SWIG_Py_Void();
28248 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28249 PyObject
*resultobj
= 0;
28250 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28254 PyObject
*swig_obj
[1] ;
28256 if (!args
) SWIG_fail
;
28257 swig_obj
[0] = args
;
28258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28259 if (!SWIG_IsOK(res1
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28262 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28263 result
= (long) ((arg1
)->m_itemIndex
);
28264 resultobj
= SWIG_From_long(static_cast< long >(result
));
28271 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28272 PyObject
*resultobj
= 0;
28273 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28279 PyObject
*swig_obj
[2] ;
28281 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28283 if (!SWIG_IsOK(res1
)) {
28284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28286 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28287 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28288 if (!SWIG_IsOK(ecode2
)) {
28289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28291 arg2
= static_cast< int >(val2
);
28292 if (arg1
) (arg1
)->m_col
= arg2
;
28294 resultobj
= SWIG_Py_Void();
28301 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(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_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28315 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28316 result
= (int) ((arg1
)->m_col
);
28317 resultobj
= SWIG_From_int(static_cast< int >(result
));
28324 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28325 PyObject
*resultobj
= 0;
28326 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28327 wxPoint
*arg2
= (wxPoint
*) 0 ;
28332 PyObject
*swig_obj
[2] ;
28334 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28336 if (!SWIG_IsOK(res1
)) {
28337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28339 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28340 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28341 if (!SWIG_IsOK(res2
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28344 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28345 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28347 resultobj
= SWIG_Py_Void();
28354 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28355 PyObject
*resultobj
= 0;
28356 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28357 wxPoint
*result
= 0 ;
28360 PyObject
*swig_obj
[1] ;
28362 if (!args
) SWIG_fail
;
28363 swig_obj
[0] = args
;
28364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28368 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28369 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28377 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28378 PyObject
*resultobj
= 0;
28379 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28380 wxListItem
*result
= 0 ;
28383 PyObject
*swig_obj
[1] ;
28385 if (!args
) SWIG_fail
;
28386 swig_obj
[0] = args
;
28387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28388 if (!SWIG_IsOK(res1
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28391 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28392 result
= (wxListItem
*)& ((arg1
)->m_item
);
28394 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28402 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28403 PyObject
*resultobj
= 0;
28404 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28408 PyObject
*swig_obj
[1] ;
28410 if (!args
) SWIG_fail
;
28411 swig_obj
[0] = args
;
28412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28413 if (!SWIG_IsOK(res1
)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28416 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (int)(arg1
)->GetKeyCode();
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= SWIG_From_int(static_cast< int >(result
));
28430 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28431 PyObject
*resultobj
= 0;
28432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28436 PyObject
*swig_obj
[1] ;
28438 if (!args
) SWIG_fail
;
28439 swig_obj
[0] = args
;
28440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28444 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= (long)(arg1
)->GetIndex();
28448 wxPyEndAllowThreads(__tstate
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= SWIG_From_long(static_cast< long >(result
));
28458 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28459 PyObject
*resultobj
= 0;
28460 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28464 PyObject
*swig_obj
[1] ;
28466 if (!args
) SWIG_fail
;
28467 swig_obj
[0] = args
;
28468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28469 if (!SWIG_IsOK(res1
)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28472 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (int)(arg1
)->GetColumn();
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_From_int(static_cast< int >(result
));
28486 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28487 PyObject
*resultobj
= 0;
28488 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28492 PyObject
*swig_obj
[1] ;
28494 if (!args
) SWIG_fail
;
28495 swig_obj
[0] = args
;
28496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28497 if (!SWIG_IsOK(res1
)) {
28498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28500 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 result
= (arg1
)->GetPoint();
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28514 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28515 PyObject
*resultobj
= 0;
28516 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28517 wxString
*result
= 0 ;
28520 PyObject
*swig_obj
[1] ;
28522 if (!args
) SWIG_fail
;
28523 swig_obj
[0] = args
;
28524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28528 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 wxString
const &_result_ref
= (arg1
)->GetLabel();
28533 result
= (wxString
*) &_result_ref
;
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28542 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28551 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28552 PyObject
*resultobj
= 0;
28553 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28554 wxString
*result
= 0 ;
28557 PyObject
*swig_obj
[1] ;
28559 if (!args
) SWIG_fail
;
28560 swig_obj
[0] = args
;
28561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28562 if (!SWIG_IsOK(res1
)) {
28563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28565 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28569 wxString
const &_result_ref
= (arg1
)->GetText();
28570 result
= (wxString
*) &_result_ref
;
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28588 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28589 PyObject
*resultobj
= 0;
28590 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28594 PyObject
*swig_obj
[1] ;
28596 if (!args
) SWIG_fail
;
28597 swig_obj
[0] = args
;
28598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28599 if (!SWIG_IsOK(res1
)) {
28600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28602 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 result
= (int)(arg1
)->GetImage();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= SWIG_From_int(static_cast< int >(result
));
28616 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28617 PyObject
*resultobj
= 0;
28618 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28622 PyObject
*swig_obj
[1] ;
28624 if (!args
) SWIG_fail
;
28625 swig_obj
[0] = args
;
28626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28627 if (!SWIG_IsOK(res1
)) {
28628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28630 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (long)(arg1
)->GetData();
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_From_long(static_cast< long >(result
));
28644 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28645 PyObject
*resultobj
= 0;
28646 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28650 PyObject
*swig_obj
[1] ;
28652 if (!args
) SWIG_fail
;
28653 swig_obj
[0] = args
;
28654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28658 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (long)(arg1
)->GetMask();
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= SWIG_From_long(static_cast< long >(result
));
28672 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28673 PyObject
*resultobj
= 0;
28674 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28675 wxListItem
*result
= 0 ;
28678 PyObject
*swig_obj
[1] ;
28680 if (!args
) SWIG_fail
;
28681 swig_obj
[0] = args
;
28682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28683 if (!SWIG_IsOK(res1
)) {
28684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28686 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28691 result
= (wxListItem
*) &_result_ref
;
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28703 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28704 PyObject
*resultobj
= 0;
28705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28709 PyObject
*swig_obj
[1] ;
28711 if (!args
) SWIG_fail
;
28712 swig_obj
[0] = args
;
28713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28714 if (!SWIG_IsOK(res1
)) {
28715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28717 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (long)(arg1
)->GetCacheFrom();
28721 wxPyEndAllowThreads(__tstate
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= SWIG_From_long(static_cast< long >(result
));
28731 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28732 PyObject
*resultobj
= 0;
28733 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28737 PyObject
*swig_obj
[1] ;
28739 if (!args
) SWIG_fail
;
28740 swig_obj
[0] = args
;
28741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28742 if (!SWIG_IsOK(res1
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28745 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 result
= (long)(arg1
)->GetCacheTo();
28749 wxPyEndAllowThreads(__tstate
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= SWIG_From_long(static_cast< long >(result
));
28759 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28760 PyObject
*resultobj
= 0;
28761 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28765 PyObject
*swig_obj
[1] ;
28767 if (!args
) SWIG_fail
;
28768 swig_obj
[0] = args
;
28769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28770 if (!SWIG_IsOK(res1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28773 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28789 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
= 0;
28791 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 char * kwnames
[] = {
28800 (char *) "self",(char *) "editCancelled", NULL
28803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28805 if (!SWIG_IsOK(res1
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28808 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28810 if (!SWIG_IsOK(ecode2
)) {
28811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28813 arg2
= static_cast< bool >(val2
);
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 (arg1
)->SetEditCanceled(arg2
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 resultobj
= SWIG_Py_Void();
28827 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28830 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28831 return SWIG_Py_Void();
28834 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28835 return SWIG_Python_InitShadowInstance(args
);
28838 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
= 0;
28840 wxWindow
*arg1
= (wxWindow
*) 0 ;
28841 int arg2
= (int) -1 ;
28842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28846 long arg5
= (long) wxLC_ICON
;
28847 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28848 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28849 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28850 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28851 wxPyListCtrl
*result
= 0 ;
28862 bool temp7
= false ;
28863 PyObject
* obj0
= 0 ;
28864 PyObject
* obj1
= 0 ;
28865 PyObject
* obj2
= 0 ;
28866 PyObject
* obj3
= 0 ;
28867 PyObject
* obj4
= 0 ;
28868 PyObject
* obj5
= 0 ;
28869 PyObject
* obj6
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28879 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28882 if (!SWIG_IsOK(ecode2
)) {
28883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28885 arg2
= static_cast< int >(val2
);
28890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28896 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28900 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28901 if (!SWIG_IsOK(ecode5
)) {
28902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28904 arg5
= static_cast< long >(val5
);
28907 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28908 if (!SWIG_IsOK(res6
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28914 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28918 arg7
= wxString_in_helper(obj6
);
28919 if (arg7
== NULL
) SWIG_fail
;
28924 if (!wxPyCheckForApp()) SWIG_fail
;
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28945 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28946 PyObject
*resultobj
= 0;
28947 wxPyListCtrl
*result
= 0 ;
28949 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28951 if (!wxPyCheckForApp()) SWIG_fail
;
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28964 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
= 0;
28966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28967 wxWindow
*arg2
= (wxWindow
*) 0 ;
28968 int arg3
= (int) -1 ;
28969 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28970 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28971 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28972 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28973 long arg6
= (long) wxLC_ICON
;
28974 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28975 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28976 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28977 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28991 bool temp8
= false ;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 PyObject
* obj2
= 0 ;
28995 PyObject
* obj3
= 0 ;
28996 PyObject
* obj4
= 0 ;
28997 PyObject
* obj5
= 0 ;
28998 PyObject
* obj6
= 0 ;
28999 PyObject
* obj7
= 0 ;
29000 char * kwnames
[] = {
29001 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29006 if (!SWIG_IsOK(res1
)) {
29007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29009 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29011 if (!SWIG_IsOK(res2
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29014 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29017 if (!SWIG_IsOK(ecode3
)) {
29018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29020 arg3
= static_cast< int >(val3
);
29025 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29031 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29035 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29036 if (!SWIG_IsOK(ecode6
)) {
29037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29039 arg6
= static_cast< long >(val6
);
29042 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29043 if (!SWIG_IsOK(res7
)) {
29044 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29049 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29053 arg8
= wxString_in_helper(obj7
);
29054 if (arg8
== NULL
) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29081 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29082 PyObject
*resultobj
= 0;
29083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29084 PyObject
*arg2
= (PyObject
*) 0 ;
29085 PyObject
*arg3
= (PyObject
*) 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 char * kwnames
[] = {
29092 (char *) "self",(char *) "self",(char *) "_class", NULL
29095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29097 if (!SWIG_IsOK(res1
)) {
29098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29100 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= SWIG_Py_Void();
29116 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
= 0;
29118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29120 wxListItem
*result
= 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 char * kwnames
[] = {
29128 (char *) "self",(char *) "col", NULL
29131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29133 if (!SWIG_IsOK(res1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29136 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29138 if (!SWIG_IsOK(ecode2
)) {
29139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29141 arg2
= static_cast< int >(val2
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29157 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
= 0;
29159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29161 wxListItem
*arg3
= 0 ;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 PyObject
* obj2
= 0 ;
29172 char * kwnames
[] = {
29173 (char *) "self",(char *) "col",(char *) "item", NULL
29176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29178 if (!SWIG_IsOK(res1
)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29181 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29183 if (!SWIG_IsOK(ecode2
)) {
29184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29186 arg2
= static_cast< int >(val2
);
29187 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29188 if (!SWIG_IsOK(res3
)) {
29189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29194 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29210 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
= 0;
29212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 char * kwnames
[] = {
29222 (char *) "self",(char *) "col", NULL
29225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29227 if (!SWIG_IsOK(res1
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29230 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29232 if (!SWIG_IsOK(ecode2
)) {
29233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29235 arg2
= static_cast< int >(val2
);
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29239 wxPyEndAllowThreads(__tstate
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= SWIG_From_int(static_cast< int >(result
));
29249 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
= 0;
29251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 PyObject
* obj2
= 0 ;
29264 char * kwnames
[] = {
29265 (char *) "self",(char *) "col",(char *) "width", NULL
29268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29270 if (!SWIG_IsOK(res1
)) {
29271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29273 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29275 if (!SWIG_IsOK(ecode2
)) {
29276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29278 arg2
= static_cast< int >(val2
);
29279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29280 if (!SWIG_IsOK(ecode3
)) {
29281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29283 arg3
= static_cast< int >(val3
);
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29299 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29300 PyObject
*resultobj
= 0;
29301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29305 PyObject
*swig_obj
[1] ;
29307 if (!args
) SWIG_fail
;
29308 swig_obj
[0] = args
;
29309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29313 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= SWIG_From_int(static_cast< int >(result
));
29327 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29328 PyObject
*resultobj
= 0;
29329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29333 PyObject
*swig_obj
[1] ;
29335 if (!args
) SWIG_fail
;
29336 swig_obj
[0] = args
;
29337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29338 if (!SWIG_IsOK(res1
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29355 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29356 PyObject
*resultobj
= 0;
29357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29358 wxTextCtrl
*result
= 0 ;
29361 PyObject
*swig_obj
[1] ;
29363 if (!args
) SWIG_fail
;
29364 swig_obj
[0] = args
;
29365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29366 if (!SWIG_IsOK(res1
)) {
29367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29369 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29377 resultobj
= wxPyMake_wxObject(result
, 0);
29385 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
= 0;
29387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29389 int arg3
= (int) 0 ;
29390 wxListItem
*result
= 0 ;
29397 PyObject
* obj0
= 0 ;
29398 PyObject
* obj1
= 0 ;
29399 PyObject
* obj2
= 0 ;
29400 char * kwnames
[] = {
29401 (char *) "self",(char *) "itemId",(char *) "col", NULL
29404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29406 if (!SWIG_IsOK(res1
)) {
29407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29409 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29410 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29411 if (!SWIG_IsOK(ecode2
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29414 arg2
= static_cast< long >(val2
);
29416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29417 if (!SWIG_IsOK(ecode3
)) {
29418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29420 arg3
= static_cast< int >(val3
);
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29429 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29437 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
= 0;
29439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29440 wxListItem
*arg2
= 0 ;
29446 PyObject
* obj0
= 0 ;
29447 PyObject
* obj1
= 0 ;
29448 char * kwnames
[] = {
29449 (char *) "self",(char *) "info", NULL
29452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29457 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29459 if (!SWIG_IsOK(res2
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29465 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= (bool)(arg1
)->SetItem(*arg2
);
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29481 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
= 0;
29483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29486 wxString
*arg4
= 0 ;
29487 int arg5
= (int) -1 ;
29495 bool temp4
= false ;
29498 PyObject
* obj0
= 0 ;
29499 PyObject
* obj1
= 0 ;
29500 PyObject
* obj2
= 0 ;
29501 PyObject
* obj3
= 0 ;
29502 PyObject
* obj4
= 0 ;
29503 char * kwnames
[] = {
29504 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29509 if (!SWIG_IsOK(res1
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29512 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29513 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29514 if (!SWIG_IsOK(ecode2
)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29517 arg2
= static_cast< long >(val2
);
29518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29519 if (!SWIG_IsOK(ecode3
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29522 arg3
= static_cast< int >(val3
);
29524 arg4
= wxString_in_helper(obj3
);
29525 if (arg4
== NULL
) SWIG_fail
;
29529 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29530 if (!SWIG_IsOK(ecode5
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29533 arg5
= static_cast< int >(val5
);
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_From_long(static_cast< long >(result
));
29556 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
= 0;
29558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29568 PyObject
* obj0
= 0 ;
29569 PyObject
* obj1
= 0 ;
29570 PyObject
* obj2
= 0 ;
29571 char * kwnames
[] = {
29572 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29577 if (!SWIG_IsOK(res1
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29580 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29582 if (!SWIG_IsOK(ecode2
)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29585 arg2
= static_cast< long >(val2
);
29586 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29587 if (!SWIG_IsOK(ecode3
)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29590 arg3
= static_cast< long >(val3
);
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= SWIG_From_int(static_cast< int >(result
));
29604 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
= 0;
29606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 PyObject
* obj2
= 0 ;
29622 PyObject
* obj3
= 0 ;
29623 char * kwnames
[] = {
29624 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29629 if (!SWIG_IsOK(res1
)) {
29630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29632 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29633 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29634 if (!SWIG_IsOK(ecode2
)) {
29635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29637 arg2
= static_cast< long >(val2
);
29638 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29639 if (!SWIG_IsOK(ecode3
)) {
29640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29642 arg3
= static_cast< long >(val3
);
29643 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29644 if (!SWIG_IsOK(ecode4
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29647 arg4
= static_cast< long >(val4
);
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29663 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
= 0;
29665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29668 int arg4
= (int) -1 ;
29678 PyObject
* obj0
= 0 ;
29679 PyObject
* obj1
= 0 ;
29680 PyObject
* obj2
= 0 ;
29681 PyObject
* obj3
= 0 ;
29682 char * kwnames
[] = {
29683 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29688 if (!SWIG_IsOK(res1
)) {
29689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29691 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29693 if (!SWIG_IsOK(ecode2
)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29696 arg2
= static_cast< long >(val2
);
29697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29698 if (!SWIG_IsOK(ecode3
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29701 arg3
= static_cast< int >(val3
);
29703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29704 if (!SWIG_IsOK(ecode4
)) {
29705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29707 arg4
= static_cast< int >(val4
);
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29724 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
= 0;
29726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29739 PyObject
* obj0
= 0 ;
29740 PyObject
* obj1
= 0 ;
29741 PyObject
* obj2
= 0 ;
29742 PyObject
* obj3
= 0 ;
29743 char * kwnames
[] = {
29744 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29749 if (!SWIG_IsOK(res1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29752 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29753 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29754 if (!SWIG_IsOK(ecode2
)) {
29755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29757 arg2
= static_cast< long >(val2
);
29758 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29759 if (!SWIG_IsOK(ecode3
)) {
29760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29762 arg3
= static_cast< long >(val3
);
29763 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29764 if (!SWIG_IsOK(ecode4
)) {
29765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29767 arg4
= static_cast< int >(val4
);
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29783 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
= 0;
29785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29792 PyObject
* obj0
= 0 ;
29793 PyObject
* obj1
= 0 ;
29794 char * kwnames
[] = {
29795 (char *) "self",(char *) "item", NULL
29798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29800 if (!SWIG_IsOK(res1
)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29803 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29804 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29805 if (!SWIG_IsOK(ecode2
)) {
29806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29808 arg2
= static_cast< long >(val2
);
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29828 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
= 0;
29830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29832 wxString
*arg3
= 0 ;
29837 bool temp3
= false ;
29838 PyObject
* obj0
= 0 ;
29839 PyObject
* obj1
= 0 ;
29840 PyObject
* obj2
= 0 ;
29841 char * kwnames
[] = {
29842 (char *) "self",(char *) "item",(char *) "str", NULL
29845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29847 if (!SWIG_IsOK(res1
)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29851 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29852 if (!SWIG_IsOK(ecode2
)) {
29853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29855 arg2
= static_cast< long >(val2
);
29857 arg3
= wxString_in_helper(obj2
);
29858 if (arg3
== NULL
) SWIG_fail
;
29862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29863 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29864 wxPyEndAllowThreads(__tstate
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29867 resultobj
= SWIG_Py_Void();
29882 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
= 0;
29884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 char * kwnames
[] = {
29894 (char *) "self",(char *) "item", NULL
29897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29899 if (!SWIG_IsOK(res1
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29902 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29903 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29904 if (!SWIG_IsOK(ecode2
)) {
29905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29907 arg2
= static_cast< long >(val2
);
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= SWIG_From_long(static_cast< long >(result
));
29921 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
= 0;
29923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29933 PyObject
* obj0
= 0 ;
29934 PyObject
* obj1
= 0 ;
29935 PyObject
* obj2
= 0 ;
29936 char * kwnames
[] = {
29937 (char *) "self",(char *) "item",(char *) "data", NULL
29940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29942 if (!SWIG_IsOK(res1
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29945 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29946 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29947 if (!SWIG_IsOK(ecode2
)) {
29948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29950 arg2
= static_cast< long >(val2
);
29951 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29952 if (!SWIG_IsOK(ecode3
)) {
29953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29955 arg3
= static_cast< long >(val3
);
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29958 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29971 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
= 0;
29973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29980 PyObject
* obj0
= 0 ;
29981 PyObject
* obj1
= 0 ;
29982 char * kwnames
[] = {
29983 (char *) "self",(char *) "item", NULL
29986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29988 if (!SWIG_IsOK(res1
)) {
29989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29991 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29993 if (!SWIG_IsOK(ecode2
)) {
29994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29996 arg2
= static_cast< long >(val2
);
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30010 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
= 0;
30012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30014 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 PyObject
* obj2
= 0 ;
30025 char * kwnames
[] = {
30026 (char *) "self",(char *) "item",(char *) "code", NULL
30029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30031 if (!SWIG_IsOK(res1
)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30034 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30036 if (!SWIG_IsOK(ecode2
)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30039 arg2
= static_cast< long >(val2
);
30041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30042 if (!SWIG_IsOK(ecode3
)) {
30043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30045 arg3
= static_cast< int >(val3
);
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30060 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
= 0;
30062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30064 wxPoint
*arg3
= 0 ;
30071 PyObject
* obj0
= 0 ;
30072 PyObject
* obj1
= 0 ;
30073 PyObject
* obj2
= 0 ;
30074 char * kwnames
[] = {
30075 (char *) "self",(char *) "item",(char *) "pos", NULL
30078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30080 if (!SWIG_IsOK(res1
)) {
30081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30083 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30084 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30085 if (!SWIG_IsOK(ecode2
)) {
30086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30088 arg2
= static_cast< long >(val2
);
30091 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30108 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30109 PyObject
*resultobj
= 0;
30110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30114 PyObject
*swig_obj
[1] ;
30116 if (!args
) SWIG_fail
;
30117 swig_obj
[0] = args
;
30118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30119 if (!SWIG_IsOK(res1
)) {
30120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30122 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= SWIG_From_int(static_cast< int >(result
));
30136 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30137 PyObject
*resultobj
= 0;
30138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30142 PyObject
*swig_obj
[1] ;
30144 if (!args
) SWIG_fail
;
30145 swig_obj
[0] = args
;
30146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30147 if (!SWIG_IsOK(res1
)) {
30148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30150 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30157 resultobj
= SWIG_From_int(static_cast< int >(result
));
30164 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30165 PyObject
*resultobj
= 0;
30166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30170 PyObject
*swig_obj
[1] ;
30172 if (!args
) SWIG_fail
;
30173 swig_obj
[0] = args
;
30174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30175 if (!SWIG_IsOK(res1
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30178 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30192 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
= 0;
30194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30196 bool arg3
= (bool) false ;
30203 PyObject
* obj0
= 0 ;
30204 PyObject
* obj1
= 0 ;
30205 PyObject
* obj2
= 0 ;
30206 char * kwnames
[] = {
30207 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30212 if (!SWIG_IsOK(res1
)) {
30213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30217 if (!SWIG_IsOK(ecode2
)) {
30218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30220 arg2
= static_cast< int >(val2
);
30222 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30223 if (!SWIG_IsOK(ecode3
)) {
30224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30226 arg3
= static_cast< bool >(val3
);
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 (arg1
)->SetItemSpacing(arg2
,arg3
);
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= SWIG_Py_Void();
30241 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30242 PyObject
*resultobj
= 0;
30243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30247 PyObject
*swig_obj
[1] ;
30249 if (!args
) SWIG_fail
;
30250 swig_obj
[0] = args
;
30251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30252 if (!SWIG_IsOK(res1
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30255 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_From_int(static_cast< int >(result
));
30269 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30270 PyObject
*resultobj
= 0;
30271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30275 PyObject
*swig_obj
[1] ;
30277 if (!args
) SWIG_fail
;
30278 swig_obj
[0] = args
;
30279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30280 if (!SWIG_IsOK(res1
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30283 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30297 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
= 0;
30299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30300 wxColour
*arg2
= 0 ;
30304 PyObject
* obj0
= 0 ;
30305 PyObject
* obj1
= 0 ;
30306 char * kwnames
[] = {
30307 (char *) "self",(char *) "col", NULL
30310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30312 if (!SWIG_IsOK(res1
)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30315 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= SWIG_Py_Void();
30333 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30334 PyObject
*resultobj
= 0;
30335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30339 PyObject
*swig_obj
[1] ;
30341 if (!args
) SWIG_fail
;
30342 swig_obj
[0] = args
;
30343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30344 if (!SWIG_IsOK(res1
)) {
30345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30347 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30351 wxPyEndAllowThreads(__tstate
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= SWIG_From_long(static_cast< long >(result
));
30361 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30362 PyObject
*resultobj
= 0;
30363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30365 bool arg3
= (bool) true ;
30372 PyObject
* obj0
= 0 ;
30373 PyObject
* obj1
= 0 ;
30374 PyObject
* obj2
= 0 ;
30375 char * kwnames
[] = {
30376 (char *) "self",(char *) "style",(char *) "add", NULL
30379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30381 if (!SWIG_IsOK(res1
)) {
30382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30384 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30385 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30386 if (!SWIG_IsOK(ecode2
)) {
30387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30389 arg2
= static_cast< long >(val2
);
30391 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30392 if (!SWIG_IsOK(ecode3
)) {
30393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30395 arg3
= static_cast< bool >(val3
);
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 (arg1
)->SetSingleStyle(arg2
,arg3
);
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= SWIG_Py_Void();
30410 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
= 0;
30412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30414 int arg3
= (int) wxLIST_NEXT_ALL
;
30415 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30425 PyObject
* obj0
= 0 ;
30426 PyObject
* obj1
= 0 ;
30427 PyObject
* obj2
= 0 ;
30428 PyObject
* obj3
= 0 ;
30429 char * kwnames
[] = {
30430 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30435 if (!SWIG_IsOK(res1
)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30438 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30439 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30440 if (!SWIG_IsOK(ecode2
)) {
30441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30443 arg2
= static_cast< long >(val2
);
30445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30446 if (!SWIG_IsOK(ecode3
)) {
30447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30449 arg3
= static_cast< int >(val3
);
30452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30453 if (!SWIG_IsOK(ecode4
)) {
30454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30456 arg4
= static_cast< int >(val4
);
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30464 resultobj
= SWIG_From_long(static_cast< long >(result
));
30471 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
= 0;
30473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30475 wxImageList
*result
= 0 ;
30480 PyObject
* obj0
= 0 ;
30481 PyObject
* obj1
= 0 ;
30482 char * kwnames
[] = {
30483 (char *) "self",(char *) "which", NULL
30486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30488 if (!SWIG_IsOK(res1
)) {
30489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30491 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30493 if (!SWIG_IsOK(ecode2
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30496 arg2
= static_cast< int >(val2
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30512 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
= 0;
30514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30515 wxImageList
*arg2
= (wxImageList
*) 0 ;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 PyObject
* obj2
= 0 ;
30526 char * kwnames
[] = {
30527 (char *) "self",(char *) "imageList",(char *) "which", NULL
30530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30532 if (!SWIG_IsOK(res1
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30535 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30537 if (!SWIG_IsOK(res2
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30540 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30542 if (!SWIG_IsOK(ecode3
)) {
30543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30545 arg3
= static_cast< int >(val3
);
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 (arg1
)->SetImageList(arg2
,arg3
);
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 resultobj
= SWIG_Py_Void();
30559 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30560 PyObject
*resultobj
= 0;
30561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30562 wxImageList
*arg2
= (wxImageList
*) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 PyObject
* obj2
= 0 ;
30572 char * kwnames
[] = {
30573 (char *) "self",(char *) "imageList",(char *) "which", NULL
30576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30578 if (!SWIG_IsOK(res1
)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30581 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30582 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30583 if (!SWIG_IsOK(res2
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30587 if (!SWIG_IsOK(ecode3
)) {
30588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30590 arg3
= static_cast< int >(val3
);
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 (arg1
)->AssignImageList(arg2
,arg3
);
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= SWIG_Py_Void();
30604 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30605 PyObject
*resultobj
= 0;
30606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30610 PyObject
*swig_obj
[1] ;
30612 if (!args
) SWIG_fail
;
30613 swig_obj
[0] = args
;
30614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30634 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30635 PyObject
*resultobj
= 0;
30636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30640 PyObject
*swig_obj
[1] ;
30642 if (!args
) SWIG_fail
;
30643 swig_obj
[0] = args
;
30644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30645 if (!SWIG_IsOK(res1
)) {
30646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30648 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30651 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30664 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
= 0;
30666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char * kwnames
[] = {
30675 (char *) "self",(char *) "item", NULL
30678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30680 if (!SWIG_IsOK(res1
)) {
30681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30683 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30684 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30685 if (!SWIG_IsOK(ecode2
)) {
30686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30688 arg2
= static_cast< long >(val2
);
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 (arg1
)->RefreshItem(arg2
);
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= SWIG_Py_Void();
30702 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
= 0;
30704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 PyObject
* obj2
= 0 ;
30716 char * kwnames
[] = {
30717 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30722 if (!SWIG_IsOK(res1
)) {
30723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30725 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30726 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30727 if (!SWIG_IsOK(ecode2
)) {
30728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30730 arg2
= static_cast< long >(val2
);
30731 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30732 if (!SWIG_IsOK(ecode3
)) {
30733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30735 arg3
= static_cast< long >(val3
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 (arg1
)->RefreshItems(arg2
,arg3
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_Py_Void();
30749 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
= 0;
30751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30752 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30758 PyObject
* obj0
= 0 ;
30759 PyObject
* obj1
= 0 ;
30760 char * kwnames
[] = {
30761 (char *) "self",(char *) "flag", NULL
30764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30766 if (!SWIG_IsOK(res1
)) {
30767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30769 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30772 if (!SWIG_IsOK(ecode2
)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30775 arg2
= static_cast< int >(val2
);
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (bool)(arg1
)->Arrange(arg2
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30792 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
= 0;
30794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char * kwnames
[] = {
30804 (char *) "self",(char *) "item", NULL
30807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30809 if (!SWIG_IsOK(res1
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30812 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30813 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30814 if (!SWIG_IsOK(ecode2
)) {
30815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30817 arg2
= static_cast< long >(val2
);
30819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 result
= (bool)(arg1
)->DeleteItem(arg2
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30833 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30834 PyObject
*resultobj
= 0;
30835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30839 PyObject
*swig_obj
[1] ;
30841 if (!args
) SWIG_fail
;
30842 swig_obj
[0] = args
;
30843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30844 if (!SWIG_IsOK(res1
)) {
30845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30847 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30850 result
= (bool)(arg1
)->DeleteAllItems();
30851 wxPyEndAllowThreads(__tstate
);
30852 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30863 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
= 0;
30865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 char * kwnames
[] = {
30875 (char *) "self",(char *) "col", NULL
30878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30880 if (!SWIG_IsOK(res1
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30883 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30885 if (!SWIG_IsOK(ecode2
)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30888 arg2
= static_cast< int >(val2
);
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30904 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30905 PyObject
*resultobj
= 0;
30906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30910 PyObject
*swig_obj
[1] ;
30912 if (!args
) SWIG_fail
;
30913 swig_obj
[0] = args
;
30914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30918 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 result
= (bool)(arg1
)->DeleteAllColumns();
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30934 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30935 PyObject
*resultobj
= 0;
30936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30939 PyObject
*swig_obj
[1] ;
30941 if (!args
) SWIG_fail
;
30942 swig_obj
[0] = args
;
30943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30944 if (!SWIG_IsOK(res1
)) {
30945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30947 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 (arg1
)->ClearAll();
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_Py_Void();
30961 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
= 0;
30963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 char * kwnames
[] = {
30972 (char *) "self",(char *) "item", NULL
30975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30977 if (!SWIG_IsOK(res1
)) {
30978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30980 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30981 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30982 if (!SWIG_IsOK(ecode2
)) {
30983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30985 arg2
= static_cast< long >(val2
);
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 (arg1
)->EditLabel(arg2
);
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= SWIG_Py_Void();
30999 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
= 0;
31001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "self",(char *) "item", NULL
31014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31019 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31020 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31021 if (!SWIG_IsOK(ecode2
)) {
31022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31024 arg2
= static_cast< long >(val2
);
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31040 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
= 0;
31042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31044 wxString
*arg3
= 0 ;
31045 bool arg4
= (bool) false ;
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 *) "start",(char *) "str",(char *) "partial", NULL
31062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",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_FindItem" "', 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_FindItem" "', 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_bool(obj3
, &val4
);
31080 if (!SWIG_IsOK(ecode4
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31083 arg4
= static_cast< bool >(val4
);
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 result
= (long)(arg1
)->FindItem(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_FindItemData(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 *) "start",(char *) "data", NULL
31125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",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_FindItemData" "', 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_FindItemData" "', expected argument " "2"" of type '" "long""'");
31135 arg2
= static_cast< long >(val2
);
31136 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31137 if (!SWIG_IsOK(ecode3
)) {
31138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31140 arg3
= static_cast< long >(val3
);
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 result
= (long)(arg1
)->FindItem(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_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
= 0;
31156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31158 wxPoint
*arg3
= 0 ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 PyObject
* obj2
= 0 ;
31171 PyObject
* obj3
= 0 ;
31172 char * kwnames
[] = {
31173 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",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_FindItemAtPos" "', 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_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31186 arg2
= static_cast< long >(val2
);
31189 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31192 if (!SWIG_IsOK(ecode4
)) {
31193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31195 arg4
= static_cast< int >(val4
);
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_From_long(static_cast< long >(result
));
31209 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
= 0;
31211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31212 wxPoint
*arg2
= 0 ;
31219 int res3
= SWIG_TMPOBJ
;
31220 PyObject
* obj0
= 0 ;
31221 PyObject
* obj1
= 0 ;
31222 char * kwnames
[] = {
31223 (char *) "self",(char *) "point", NULL
31227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31229 if (!SWIG_IsOK(res1
)) {
31230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31235 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= SWIG_From_long(static_cast< long >(result
));
31244 if (SWIG_IsTmpObj(res3
)) {
31245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31247 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31256 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31257 PyObject
*resultobj
= 0;
31258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31259 wxPoint
*arg2
= 0 ;
31261 long *arg4
= (long *) 0 ;
31267 int res3
= SWIG_TMPOBJ
;
31269 int res4
= SWIG_TMPOBJ
;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char * kwnames
[] = {
31273 (char *) "self",(char *) "point", NULL
31278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31280 if (!SWIG_IsOK(res1
)) {
31281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31283 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31286 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31294 resultobj
= SWIG_From_long(static_cast< long >(result
));
31295 if (SWIG_IsTmpObj(res3
)) {
31296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31298 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31301 if (SWIG_IsTmpObj(res4
)) {
31302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31304 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31313 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
= 0;
31315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31316 wxListItem
*arg2
= 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char * kwnames
[] = {
31325 (char *) "self",(char *) "info", NULL
31328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31330 if (!SWIG_IsOK(res1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31335 if (!SWIG_IsOK(res2
)) {
31336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31341 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (long)(arg1
)->InsertItem(*arg2
);
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= SWIG_From_long(static_cast< long >(result
));
31355 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31356 PyObject
*resultobj
= 0;
31357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31359 wxString
*arg3
= 0 ;
31360 int arg4
= (int) -1 ;
31366 bool temp3
= false ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 PyObject
* obj2
= 0 ;
31372 PyObject
* obj3
= 0 ;
31373 char * kwnames
[] = {
31374 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31379 if (!SWIG_IsOK(res1
)) {
31380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31382 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31383 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31384 if (!SWIG_IsOK(ecode2
)) {
31385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31387 arg2
= static_cast< long >(val2
);
31389 arg3
= wxString_in_helper(obj2
);
31390 if (arg3
== NULL
) SWIG_fail
;
31394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31395 if (!SWIG_IsOK(ecode4
)) {
31396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31398 arg4
= static_cast< int >(val4
);
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31403 wxPyEndAllowThreads(__tstate
);
31404 if (PyErr_Occurred()) SWIG_fail
;
31406 resultobj
= SWIG_From_long(static_cast< long >(result
));
31421 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31433 PyObject
* obj0
= 0 ;
31434 PyObject
* obj1
= 0 ;
31435 PyObject
* obj2
= 0 ;
31436 char * kwnames
[] = {
31437 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31442 if (!SWIG_IsOK(res1
)) {
31443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31445 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31446 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31447 if (!SWIG_IsOK(ecode2
)) {
31448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31450 arg2
= static_cast< long >(val2
);
31451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31452 if (!SWIG_IsOK(ecode3
)) {
31453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31455 arg3
= static_cast< int >(val3
);
31457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31458 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31459 wxPyEndAllowThreads(__tstate
);
31460 if (PyErr_Occurred()) SWIG_fail
;
31462 resultobj
= SWIG_From_long(static_cast< long >(result
));
31469 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
= 0;
31471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31473 wxString
*arg3
= 0 ;
31480 bool temp3
= false ;
31483 PyObject
* obj0
= 0 ;
31484 PyObject
* obj1
= 0 ;
31485 PyObject
* obj2
= 0 ;
31486 PyObject
* obj3
= 0 ;
31487 char * kwnames
[] = {
31488 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31493 if (!SWIG_IsOK(res1
)) {
31494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31496 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31497 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31498 if (!SWIG_IsOK(ecode2
)) {
31499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31501 arg2
= static_cast< long >(val2
);
31503 arg3
= wxString_in_helper(obj2
);
31504 if (arg3
== NULL
) SWIG_fail
;
31507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31508 if (!SWIG_IsOK(ecode4
)) {
31509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31511 arg4
= static_cast< int >(val4
);
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31515 wxPyEndAllowThreads(__tstate
);
31516 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= SWIG_From_long(static_cast< long >(result
));
31533 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31534 PyObject
*resultobj
= 0;
31535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31537 wxListItem
*arg3
= 0 ;
31545 PyObject
* obj0
= 0 ;
31546 PyObject
* obj1
= 0 ;
31547 PyObject
* obj2
= 0 ;
31548 char * kwnames
[] = {
31549 (char *) "self",(char *) "col",(char *) "info", NULL
31552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31554 if (!SWIG_IsOK(res1
)) {
31555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31557 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31558 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31559 if (!SWIG_IsOK(ecode2
)) {
31560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31562 arg2
= static_cast< long >(val2
);
31563 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31564 if (!SWIG_IsOK(res3
)) {
31565 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31570 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31573 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= SWIG_From_long(static_cast< long >(result
));
31584 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31585 PyObject
*resultobj
= 0;
31586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31588 wxString
*arg3
= 0 ;
31589 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31590 int arg5
= (int) -1 ;
31596 bool temp3
= false ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 PyObject
* obj2
= 0 ;
31604 PyObject
* obj3
= 0 ;
31605 PyObject
* obj4
= 0 ;
31606 char * kwnames
[] = {
31607 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31612 if (!SWIG_IsOK(res1
)) {
31613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31615 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31616 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31617 if (!SWIG_IsOK(ecode2
)) {
31618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31620 arg2
= static_cast< long >(val2
);
31622 arg3
= wxString_in_helper(obj2
);
31623 if (arg3
== NULL
) SWIG_fail
;
31627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31628 if (!SWIG_IsOK(ecode4
)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31631 arg4
= static_cast< int >(val4
);
31634 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31635 if (!SWIG_IsOK(ecode5
)) {
31636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31638 arg5
= static_cast< int >(val5
);
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31643 wxPyEndAllowThreads(__tstate
);
31644 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= SWIG_From_long(static_cast< long >(result
));
31661 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
= 0;
31663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31669 PyObject
* obj0
= 0 ;
31670 PyObject
* obj1
= 0 ;
31671 char * kwnames
[] = {
31672 (char *) "self",(char *) "count", NULL
31675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31677 if (!SWIG_IsOK(res1
)) {
31678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31680 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31681 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31682 if (!SWIG_IsOK(ecode2
)) {
31683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31685 arg2
= static_cast< long >(val2
);
31687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31688 (arg1
)->SetItemCount(arg2
);
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31692 resultobj
= SWIG_Py_Void();
31699 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
= 0;
31701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31711 PyObject
* obj0
= 0 ;
31712 PyObject
* obj1
= 0 ;
31713 PyObject
* obj2
= 0 ;
31714 char * kwnames
[] = {
31715 (char *) "self",(char *) "dx",(char *) "dy", NULL
31718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31720 if (!SWIG_IsOK(res1
)) {
31721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31723 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31725 if (!SWIG_IsOK(ecode2
)) {
31726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31728 arg2
= static_cast< int >(val2
);
31729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31730 if (!SWIG_IsOK(ecode3
)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31733 arg3
= static_cast< int >(val3
);
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31749 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31750 PyObject
*resultobj
= 0;
31751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31753 wxColour
*arg3
= 0 ;
31759 PyObject
* obj0
= 0 ;
31760 PyObject
* obj1
= 0 ;
31761 PyObject
* obj2
= 0 ;
31762 char * kwnames
[] = {
31763 (char *) "self",(char *) "item",(char *) "col", NULL
31766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31768 if (!SWIG_IsOK(res1
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31771 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31772 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31773 if (!SWIG_IsOK(ecode2
)) {
31774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31776 arg2
= static_cast< long >(val2
);
31779 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= SWIG_Py_Void();
31794 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
= 0;
31796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31803 PyObject
* obj0
= 0 ;
31804 PyObject
* obj1
= 0 ;
31805 char * kwnames
[] = {
31806 (char *) "self",(char *) "item", NULL
31809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31811 if (!SWIG_IsOK(res1
)) {
31812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31814 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31815 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31816 if (!SWIG_IsOK(ecode2
)) {
31817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31819 arg2
= static_cast< long >(val2
);
31821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31822 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31823 wxPyEndAllowThreads(__tstate
);
31824 if (PyErr_Occurred()) SWIG_fail
;
31826 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31833 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31834 PyObject
*resultobj
= 0;
31835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31837 wxColour
*arg3
= 0 ;
31843 PyObject
* obj0
= 0 ;
31844 PyObject
* obj1
= 0 ;
31845 PyObject
* obj2
= 0 ;
31846 char * kwnames
[] = {
31847 (char *) "self",(char *) "item",(char *) "col", NULL
31850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31852 if (!SWIG_IsOK(res1
)) {
31853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31855 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31856 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31857 if (!SWIG_IsOK(ecode2
)) {
31858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31860 arg2
= static_cast< long >(val2
);
31863 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31868 wxPyEndAllowThreads(__tstate
);
31869 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= SWIG_Py_Void();
31878 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31879 PyObject
*resultobj
= 0;
31880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31887 PyObject
* obj0
= 0 ;
31888 PyObject
* obj1
= 0 ;
31889 char * kwnames
[] = {
31890 (char *) "self",(char *) "item", NULL
31893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31895 if (!SWIG_IsOK(res1
)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31898 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31899 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31900 if (!SWIG_IsOK(ecode2
)) {
31901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31903 arg2
= static_cast< long >(val2
);
31905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31906 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31907 wxPyEndAllowThreads(__tstate
);
31908 if (PyErr_Occurred()) SWIG_fail
;
31910 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31917 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31918 PyObject
*resultobj
= 0;
31919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 PyObject
* obj1
= 0 ;
31930 PyObject
* obj2
= 0 ;
31931 char * kwnames
[] = {
31932 (char *) "self",(char *) "item",(char *) "f", NULL
31935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31937 if (!SWIG_IsOK(res1
)) {
31938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31940 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31941 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31942 if (!SWIG_IsOK(ecode2
)) {
31943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31945 arg2
= static_cast< long >(val2
);
31946 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31947 if (!SWIG_IsOK(res3
)) {
31948 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31953 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_Py_Void();
31967 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31968 PyObject
*resultobj
= 0;
31969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31976 PyObject
* obj0
= 0 ;
31977 PyObject
* obj1
= 0 ;
31978 char * kwnames
[] = {
31979 (char *) "self",(char *) "item", NULL
31982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31984 if (!SWIG_IsOK(res1
)) {
31985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31987 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31988 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31989 if (!SWIG_IsOK(ecode2
)) {
31990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31992 arg2
= static_cast< long >(val2
);
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32006 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
= 0;
32008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32009 PyObject
*arg2
= (PyObject
*) 0 ;
32013 PyObject
* obj0
= 0 ;
32014 PyObject
* obj1
= 0 ;
32015 char * kwnames
[] = {
32016 (char *) "self",(char *) "func", NULL
32019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32021 if (!SWIG_IsOK(res1
)) {
32022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32024 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32029 wxPyEndAllowThreads(__tstate
);
32030 if (PyErr_Occurred()) SWIG_fail
;
32033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32041 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32042 PyObject
*resultobj
= 0;
32043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32044 wxWindow
*result
= 0 ;
32047 PyObject
*swig_obj
[1] ;
32049 if (!args
) SWIG_fail
;
32050 swig_obj
[0] = args
;
32051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32052 if (!SWIG_IsOK(res1
)) {
32053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32055 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32058 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= wxPyMake_wxObject(result
, 0);
32071 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
= 0;
32073 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32074 SwigValueWrapper
<wxVisualAttributes
> result
;
32077 PyObject
* obj0
= 0 ;
32078 char * kwnames
[] = {
32079 (char *) "variant", NULL
32082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32085 if (!SWIG_IsOK(ecode1
)) {
32086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32088 arg1
= static_cast< wxWindowVariant
>(val1
);
32091 if (!wxPyCheckForApp()) SWIG_fail
;
32092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32093 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32094 wxPyEndAllowThreads(__tstate
);
32095 if (PyErr_Occurred()) SWIG_fail
;
32097 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32104 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32108 return SWIG_Py_Void();
32111 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32112 return SWIG_Python_InitShadowInstance(args
);
32115 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
= 0;
32117 wxWindow
*arg1
= (wxWindow
*) 0 ;
32118 int arg2
= (int) -1 ;
32119 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32120 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32121 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32122 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32123 long arg5
= (long) wxLC_REPORT
;
32124 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32125 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32126 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32127 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32128 wxListView
*result
= 0 ;
32139 bool temp7
= false ;
32140 PyObject
* obj0
= 0 ;
32141 PyObject
* obj1
= 0 ;
32142 PyObject
* obj2
= 0 ;
32143 PyObject
* obj3
= 0 ;
32144 PyObject
* obj4
= 0 ;
32145 PyObject
* obj5
= 0 ;
32146 PyObject
* obj6
= 0 ;
32147 char * kwnames
[] = {
32148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32153 if (!SWIG_IsOK(res1
)) {
32154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32159 if (!SWIG_IsOK(ecode2
)) {
32160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32162 arg2
= static_cast< int >(val2
);
32167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32177 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32178 if (!SWIG_IsOK(ecode5
)) {
32179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32181 arg5
= static_cast< long >(val5
);
32184 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32185 if (!SWIG_IsOK(res6
)) {
32186 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32191 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32195 arg7
= wxString_in_helper(obj6
);
32196 if (arg7
== NULL
) SWIG_fail
;
32201 if (!wxPyCheckForApp()) SWIG_fail
;
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32222 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32223 PyObject
*resultobj
= 0;
32224 wxListView
*result
= 0 ;
32226 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32228 if (!wxPyCheckForApp()) SWIG_fail
;
32229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32230 result
= (wxListView
*)new wxListView();
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32241 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
= 0;
32243 wxListView
*arg1
= (wxListView
*) 0 ;
32244 wxWindow
*arg2
= (wxWindow
*) 0 ;
32245 int arg3
= (int) -1 ;
32246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32250 long arg6
= (long) wxLC_REPORT
;
32251 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32252 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32253 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32254 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32268 bool temp8
= false ;
32269 PyObject
* obj0
= 0 ;
32270 PyObject
* obj1
= 0 ;
32271 PyObject
* obj2
= 0 ;
32272 PyObject
* obj3
= 0 ;
32273 PyObject
* obj4
= 0 ;
32274 PyObject
* obj5
= 0 ;
32275 PyObject
* obj6
= 0 ;
32276 PyObject
* obj7
= 0 ;
32277 char * kwnames
[] = {
32278 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32283 if (!SWIG_IsOK(res1
)) {
32284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32286 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32288 if (!SWIG_IsOK(res2
)) {
32289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32294 if (!SWIG_IsOK(ecode3
)) {
32295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32297 arg3
= static_cast< int >(val3
);
32302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32312 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32313 if (!SWIG_IsOK(ecode6
)) {
32314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32316 arg6
= static_cast< long >(val6
);
32319 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32320 if (!SWIG_IsOK(res7
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32326 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32330 arg8
= wxString_in_helper(obj7
);
32331 if (arg8
== NULL
) SWIG_fail
;
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32358 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
= 0;
32360 wxListView
*arg1
= (wxListView
*) 0 ;
32362 bool arg3
= (bool) true ;
32369 PyObject
* obj0
= 0 ;
32370 PyObject
* obj1
= 0 ;
32371 PyObject
* obj2
= 0 ;
32372 char * kwnames
[] = {
32373 (char *) "self",(char *) "n",(char *) "on", NULL
32376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32378 if (!SWIG_IsOK(res1
)) {
32379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32381 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32383 if (!SWIG_IsOK(ecode2
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32386 arg2
= static_cast< long >(val2
);
32388 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32389 if (!SWIG_IsOK(ecode3
)) {
32390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32392 arg3
= static_cast< bool >(val3
);
32395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32396 (arg1
)->Select(arg2
,arg3
);
32397 wxPyEndAllowThreads(__tstate
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32400 resultobj
= SWIG_Py_Void();
32407 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32408 PyObject
*resultobj
= 0;
32409 wxListView
*arg1
= (wxListView
*) 0 ;
32415 PyObject
* obj0
= 0 ;
32416 PyObject
* obj1
= 0 ;
32417 char * kwnames
[] = {
32418 (char *) "self",(char *) "index", NULL
32421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32423 if (!SWIG_IsOK(res1
)) {
32424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32426 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32427 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32428 if (!SWIG_IsOK(ecode2
)) {
32429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32431 arg2
= static_cast< long >(val2
);
32433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32434 (arg1
)->Focus(arg2
);
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32438 resultobj
= SWIG_Py_Void();
32445 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32446 PyObject
*resultobj
= 0;
32447 wxListView
*arg1
= (wxListView
*) 0 ;
32451 PyObject
*swig_obj
[1] ;
32453 if (!args
) SWIG_fail
;
32454 swig_obj
[0] = args
;
32455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32456 if (!SWIG_IsOK(res1
)) {
32457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32459 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32462 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 resultobj
= SWIG_From_long(static_cast< long >(result
));
32473 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
= 0;
32475 wxListView
*arg1
= (wxListView
*) 0 ;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 char * kwnames
[] = {
32485 (char *) "self",(char *) "item", NULL
32488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32490 if (!SWIG_IsOK(res1
)) {
32491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32493 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32494 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32495 if (!SWIG_IsOK(ecode2
)) {
32496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32498 arg2
= static_cast< long >(val2
);
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32502 wxPyEndAllowThreads(__tstate
);
32503 if (PyErr_Occurred()) SWIG_fail
;
32505 resultobj
= SWIG_From_long(static_cast< long >(result
));
32512 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32513 PyObject
*resultobj
= 0;
32514 wxListView
*arg1
= (wxListView
*) 0 ;
32518 PyObject
*swig_obj
[1] ;
32520 if (!args
) SWIG_fail
;
32521 swig_obj
[0] = args
;
32522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32523 if (!SWIG_IsOK(res1
)) {
32524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32526 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32529 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32533 resultobj
= SWIG_From_long(static_cast< long >(result
));
32540 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32541 PyObject
*resultobj
= 0;
32542 wxListView
*arg1
= (wxListView
*) 0 ;
32549 PyObject
* obj0
= 0 ;
32550 PyObject
* obj1
= 0 ;
32551 char * kwnames
[] = {
32552 (char *) "self",(char *) "index", NULL
32555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32557 if (!SWIG_IsOK(res1
)) {
32558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32560 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32562 if (!SWIG_IsOK(ecode2
)) {
32563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32565 arg2
= static_cast< long >(val2
);
32567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32568 result
= (bool)(arg1
)->IsSelected(arg2
);
32569 wxPyEndAllowThreads(__tstate
);
32570 if (PyErr_Occurred()) SWIG_fail
;
32573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32581 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32582 PyObject
*resultobj
= 0;
32583 wxListView
*arg1
= (wxListView
*) 0 ;
32592 PyObject
* obj0
= 0 ;
32593 PyObject
* obj1
= 0 ;
32594 PyObject
* obj2
= 0 ;
32595 char * kwnames
[] = {
32596 (char *) "self",(char *) "col",(char *) "image", NULL
32599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32601 if (!SWIG_IsOK(res1
)) {
32602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32604 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32606 if (!SWIG_IsOK(ecode2
)) {
32607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32609 arg2
= static_cast< int >(val2
);
32610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32611 if (!SWIG_IsOK(ecode3
)) {
32612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32614 arg3
= static_cast< int >(val3
);
32616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 (arg1
)->SetColumnImage(arg2
,arg3
);
32618 wxPyEndAllowThreads(__tstate
);
32619 if (PyErr_Occurred()) SWIG_fail
;
32621 resultobj
= SWIG_Py_Void();
32628 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32629 PyObject
*resultobj
= 0;
32630 wxListView
*arg1
= (wxListView
*) 0 ;
32636 PyObject
* obj0
= 0 ;
32637 PyObject
* obj1
= 0 ;
32638 char * kwnames
[] = {
32639 (char *) "self",(char *) "col", NULL
32642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32644 if (!SWIG_IsOK(res1
)) {
32645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32647 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32649 if (!SWIG_IsOK(ecode2
)) {
32650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32652 arg2
= static_cast< int >(val2
);
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 (arg1
)->ClearColumnImage(arg2
);
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= SWIG_Py_Void();
32666 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32669 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32670 return SWIG_Py_Void();
32673 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32674 return SWIG_Python_InitShadowInstance(args
);
32677 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32678 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32683 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32684 PyObject
*pyobj
= 0;
32688 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32690 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32697 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32698 PyObject
*resultobj
= 0;
32699 wxTreeItemId
*result
= 0 ;
32701 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32704 result
= (wxTreeItemId
*)new wxTreeItemId();
32705 wxPyEndAllowThreads(__tstate
);
32706 if (PyErr_Occurred()) SWIG_fail
;
32708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32715 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32716 PyObject
*resultobj
= 0;
32717 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32720 PyObject
*swig_obj
[1] ;
32722 if (!args
) SWIG_fail
;
32723 swig_obj
[0] = args
;
32724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32728 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32733 wxPyEndAllowThreads(__tstate
);
32734 if (PyErr_Occurred()) SWIG_fail
;
32736 resultobj
= SWIG_Py_Void();
32743 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32744 PyObject
*resultobj
= 0;
32745 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32749 PyObject
*swig_obj
[1] ;
32751 if (!args
) SWIG_fail
;
32752 swig_obj
[0] = args
;
32753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32754 if (!SWIG_IsOK(res1
)) {
32755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32757 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32760 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32761 wxPyEndAllowThreads(__tstate
);
32762 if (PyErr_Occurred()) SWIG_fail
;
32765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32773 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
= 0;
32775 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32776 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32782 PyObject
* obj0
= 0 ;
32783 PyObject
* obj1
= 0 ;
32784 char * kwnames
[] = {
32785 (char *) "self",(char *) "other", NULL
32788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32790 if (!SWIG_IsOK(res1
)) {
32791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32793 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32795 if (!SWIG_IsOK(res2
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32798 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32802 wxPyEndAllowThreads(__tstate
);
32803 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32814 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32815 PyObject
*resultobj
= 0;
32816 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32817 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32823 PyObject
* obj0
= 0 ;
32824 PyObject
* obj1
= 0 ;
32825 char * kwnames
[] = {
32826 (char *) "self",(char *) "other", NULL
32829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32831 if (!SWIG_IsOK(res1
)) {
32832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32834 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32836 if (!SWIG_IsOK(res2
)) {
32837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32839 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32855 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32856 PyObject
*resultobj
= 0;
32857 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32858 void *arg2
= (void *) 0 ;
32862 PyObject
*swig_obj
[2] ;
32864 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32869 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32870 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32871 if (!SWIG_IsOK(res2
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32874 if (arg1
) (arg1
)->m_pItem
= arg2
;
32876 resultobj
= SWIG_Py_Void();
32883 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32884 PyObject
*resultobj
= 0;
32885 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32889 PyObject
*swig_obj
[1] ;
32891 if (!args
) SWIG_fail
;
32892 swig_obj
[0] = args
;
32893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32894 if (!SWIG_IsOK(res1
)) {
32895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32897 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32898 result
= (void *) ((arg1
)->m_pItem
);
32899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32906 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32909 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32910 return SWIG_Py_Void();
32913 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32914 return SWIG_Python_InitShadowInstance(args
);
32917 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32918 PyObject
*resultobj
= 0;
32919 PyObject
*arg1
= (PyObject
*) NULL
;
32920 wxPyTreeItemData
*result
= 0 ;
32921 PyObject
* obj0
= 0 ;
32922 char * kwnames
[] = {
32923 (char *) "obj", NULL
32926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32932 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32943 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32944 PyObject
*resultobj
= 0;
32945 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32948 PyObject
*swig_obj
[1] ;
32950 if (!args
) SWIG_fail
;
32951 swig_obj
[0] = args
;
32952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32953 if (!SWIG_IsOK(res1
)) {
32954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32956 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= SWIG_Py_Void();
32971 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32972 PyObject
*resultobj
= 0;
32973 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32974 PyObject
*result
= 0 ;
32977 PyObject
*swig_obj
[1] ;
32979 if (!args
) SWIG_fail
;
32980 swig_obj
[0] = args
;
32981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32982 if (!SWIG_IsOK(res1
)) {
32983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32985 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32988 result
= (PyObject
*)(arg1
)->GetData();
32989 wxPyEndAllowThreads(__tstate
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32992 resultobj
= result
;
32999 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33000 PyObject
*resultobj
= 0;
33001 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33002 PyObject
*arg2
= (PyObject
*) 0 ;
33005 PyObject
* obj0
= 0 ;
33006 PyObject
* obj1
= 0 ;
33007 char * kwnames
[] = {
33008 (char *) "self",(char *) "obj", NULL
33011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33013 if (!SWIG_IsOK(res1
)) {
33014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33016 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33020 (arg1
)->SetData(arg2
);
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33024 resultobj
= SWIG_Py_Void();
33031 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33032 PyObject
*resultobj
= 0;
33033 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33034 wxTreeItemId
*result
= 0 ;
33037 PyObject
*swig_obj
[1] ;
33039 if (!args
) SWIG_fail
;
33040 swig_obj
[0] = args
;
33041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33042 if (!SWIG_IsOK(res1
)) {
33043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33045 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33050 result
= (wxTreeItemId
*) &_result_ref
;
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33062 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
= 0;
33064 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33065 wxTreeItemId
*arg2
= 0 ;
33070 PyObject
* obj0
= 0 ;
33071 PyObject
* obj1
= 0 ;
33072 char * kwnames
[] = {
33073 (char *) "self",(char *) "id", NULL
33076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33078 if (!SWIG_IsOK(res1
)) {
33079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33081 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33083 if (!SWIG_IsOK(res2
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33089 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= SWIG_Py_Void();
33103 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33104 PyObject
*resultobj
= 0;
33105 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 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_wxPyTreeItemData
, 0 | 0 );
33113 if (!SWIG_IsOK(res1
)) {
33114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33116 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 wxPyTreeItemData_Destroy(arg1
);
33120 wxPyEndAllowThreads(__tstate
);
33121 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= SWIG_Py_Void();
33130 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33133 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33134 return SWIG_Py_Void();
33137 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33138 return SWIG_Python_InitShadowInstance(args
);
33141 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33144 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33145 if (!SWIG_IsOK(res
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33151 wxTreeItemId
* temp
;
33152 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33153 wxNullTreeItemId
= *temp
;
33154 if (SWIG_IsNewObj(res
)) delete temp
;
33163 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33164 PyObject
*pyobj
= 0;
33166 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33171 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33172 PyObject
*resultobj
= 0;
33173 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33174 int arg2
= (int) 0 ;
33175 wxTreeEvent
*result
= 0 ;
33181 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33183 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33184 if (!SWIG_IsOK(ecode1
)) {
33185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33187 arg1
= static_cast< wxEventType
>(val1
);
33190 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33191 if (!SWIG_IsOK(ecode2
)) {
33192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33194 arg2
= static_cast< int >(val2
);
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33199 wxPyEndAllowThreads(__tstate
);
33200 if (PyErr_Occurred()) SWIG_fail
;
33202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33209 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33210 PyObject
*resultobj
= 0;
33212 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33213 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33214 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33215 wxTreeEvent
*result
= 0 ;
33223 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33224 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33225 if (!SWIG_IsOK(ecode1
)) {
33226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33228 arg1
= static_cast< wxEventType
>(val1
);
33229 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33230 if (!SWIG_IsOK(res2
)) {
33231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33233 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33235 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33236 if (!SWIG_IsOK(res3
)) {
33237 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33242 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33257 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33261 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33263 if ((argc
>= 0) && (argc
<= 2)) {
33268 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33269 _v
= SWIG_CheckState(res
);
33272 if (!_v
) goto check_1
;
33274 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33278 if ((argc
>= 2) && (argc
<= 3)) {
33279 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33283 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33288 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33289 PyObject
*resultobj
= 0;
33290 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33291 wxTreeItemId result
;
33294 PyObject
*swig_obj
[1] ;
33296 if (!args
) SWIG_fail
;
33297 swig_obj
[0] = args
;
33298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33299 if (!SWIG_IsOK(res1
)) {
33300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33302 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33316 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
= 0;
33318 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33319 wxTreeItemId
*arg2
= 0 ;
33324 PyObject
* obj0
= 0 ;
33325 PyObject
* obj1
= 0 ;
33326 char * kwnames
[] = {
33327 (char *) "self",(char *) "item", NULL
33330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33332 if (!SWIG_IsOK(res1
)) {
33333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33335 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33337 if (!SWIG_IsOK(res2
)) {
33338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33343 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33346 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33347 wxPyEndAllowThreads(__tstate
);
33348 if (PyErr_Occurred()) SWIG_fail
;
33350 resultobj
= SWIG_Py_Void();
33357 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33358 PyObject
*resultobj
= 0;
33359 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33360 wxTreeItemId result
;
33363 PyObject
*swig_obj
[1] ;
33365 if (!args
) SWIG_fail
;
33366 swig_obj
[0] = args
;
33367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33368 if (!SWIG_IsOK(res1
)) {
33369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33371 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33374 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33378 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33385 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33386 PyObject
*resultobj
= 0;
33387 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33388 wxTreeItemId
*arg2
= 0 ;
33393 PyObject
* obj0
= 0 ;
33394 PyObject
* obj1
= 0 ;
33395 char * kwnames
[] = {
33396 (char *) "self",(char *) "item", NULL
33399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33401 if (!SWIG_IsOK(res1
)) {
33402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33404 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33405 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33406 if (!SWIG_IsOK(res2
)) {
33407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33412 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33415 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= SWIG_Py_Void();
33426 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33427 PyObject
*resultobj
= 0;
33428 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33432 PyObject
*swig_obj
[1] ;
33434 if (!args
) SWIG_fail
;
33435 swig_obj
[0] = args
;
33436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33437 if (!SWIG_IsOK(res1
)) {
33438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33440 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33443 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33444 wxPyEndAllowThreads(__tstate
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33447 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33454 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33455 PyObject
*resultobj
= 0;
33456 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33457 wxPoint
*arg2
= 0 ;
33461 PyObject
* obj0
= 0 ;
33462 PyObject
* obj1
= 0 ;
33463 char * kwnames
[] = {
33464 (char *) "self",(char *) "pt", NULL
33467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33469 if (!SWIG_IsOK(res1
)) {
33470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33472 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33475 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33479 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_Py_Void();
33490 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33491 PyObject
*resultobj
= 0;
33492 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33493 wxKeyEvent
*result
= 0 ;
33496 PyObject
*swig_obj
[1] ;
33498 if (!args
) SWIG_fail
;
33499 swig_obj
[0] = args
;
33500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33501 if (!SWIG_IsOK(res1
)) {
33502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33504 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33509 result
= (wxKeyEvent
*) &_result_ref
;
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33521 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33522 PyObject
*resultobj
= 0;
33523 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33527 PyObject
*swig_obj
[1] ;
33529 if (!args
) SWIG_fail
;
33530 swig_obj
[0] = args
;
33531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33532 if (!SWIG_IsOK(res1
)) {
33533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33535 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33539 wxPyEndAllowThreads(__tstate
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33542 resultobj
= SWIG_From_int(static_cast< int >(result
));
33549 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33550 PyObject
*resultobj
= 0;
33551 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33552 wxKeyEvent
*arg2
= 0 ;
33557 PyObject
* obj0
= 0 ;
33558 PyObject
* obj1
= 0 ;
33559 char * kwnames
[] = {
33560 (char *) "self",(char *) "evt", NULL
33563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33565 if (!SWIG_IsOK(res1
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33568 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33570 if (!SWIG_IsOK(res2
)) {
33571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33576 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33579 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33580 wxPyEndAllowThreads(__tstate
);
33581 if (PyErr_Occurred()) SWIG_fail
;
33583 resultobj
= SWIG_Py_Void();
33590 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33591 PyObject
*resultobj
= 0;
33592 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33593 wxString
*result
= 0 ;
33596 PyObject
*swig_obj
[1] ;
33598 if (!args
) SWIG_fail
;
33599 swig_obj
[0] = args
;
33600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33601 if (!SWIG_IsOK(res1
)) {
33602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33604 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33608 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33609 result
= (wxString
*) &_result_ref
;
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33616 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33618 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33627 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33628 PyObject
*resultobj
= 0;
33629 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33630 wxString
*arg2
= 0 ;
33633 bool temp2
= false ;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 char * kwnames
[] = {
33637 (char *) "self",(char *) "label", NULL
33640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33645 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33647 arg2
= wxString_in_helper(obj1
);
33648 if (arg2
== NULL
) SWIG_fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 (arg1
)->SetLabel((wxString
const &)*arg2
);
33654 wxPyEndAllowThreads(__tstate
);
33655 if (PyErr_Occurred()) SWIG_fail
;
33657 resultobj
= SWIG_Py_Void();
33672 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33673 PyObject
*resultobj
= 0;
33674 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33678 PyObject
*swig_obj
[1] ;
33680 if (!args
) SWIG_fail
;
33681 swig_obj
[0] = args
;
33682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33683 if (!SWIG_IsOK(res1
)) {
33684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33686 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33690 wxPyEndAllowThreads(__tstate
);
33691 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33702 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33703 PyObject
*resultobj
= 0;
33704 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 char * kwnames
[] = {
33713 (char *) "self",(char *) "editCancelled", NULL
33716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33718 if (!SWIG_IsOK(res1
)) {
33719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33721 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33722 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33723 if (!SWIG_IsOK(ecode2
)) {
33724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33726 arg2
= static_cast< bool >(val2
);
33728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33729 (arg1
)->SetEditCanceled(arg2
);
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33733 resultobj
= SWIG_Py_Void();
33740 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33741 PyObject
*resultobj
= 0;
33742 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33743 wxString
*arg2
= 0 ;
33746 bool temp2
= false ;
33747 PyObject
* obj0
= 0 ;
33748 PyObject
* obj1
= 0 ;
33749 char * kwnames
[] = {
33750 (char *) "self",(char *) "toolTip", NULL
33753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33755 if (!SWIG_IsOK(res1
)) {
33756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33758 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33760 arg2
= wxString_in_helper(obj1
);
33761 if (arg2
== NULL
) SWIG_fail
;
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 resultobj
= SWIG_Py_Void();
33785 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33786 PyObject
*resultobj
= 0;
33787 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33791 PyObject
*swig_obj
[1] ;
33793 if (!args
) SWIG_fail
;
33794 swig_obj
[0] = args
;
33795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33796 if (!SWIG_IsOK(res1
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33799 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 result
= (arg1
)->GetToolTip();
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33819 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33822 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33823 return SWIG_Py_Void();
33826 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33827 return SWIG_Python_InitShadowInstance(args
);
33830 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33831 PyObject
*resultobj
= 0;
33832 wxWindow
*arg1
= (wxWindow
*) 0 ;
33833 int arg2
= (int) -1 ;
33834 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33835 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33836 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33837 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33838 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33839 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33840 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33841 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33843 wxPyTreeCtrl
*result
= 0 ;
33854 bool temp7
= false ;
33855 PyObject
* obj0
= 0 ;
33856 PyObject
* obj1
= 0 ;
33857 PyObject
* obj2
= 0 ;
33858 PyObject
* obj3
= 0 ;
33859 PyObject
* obj4
= 0 ;
33860 PyObject
* obj5
= 0 ;
33861 PyObject
* obj6
= 0 ;
33862 char * kwnames
[] = {
33863 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33868 if (!SWIG_IsOK(res1
)) {
33869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33871 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33874 if (!SWIG_IsOK(ecode2
)) {
33875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33877 arg2
= static_cast< int >(val2
);
33882 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33888 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33892 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33893 if (!SWIG_IsOK(ecode5
)) {
33894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33896 arg5
= static_cast< long >(val5
);
33899 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33900 if (!SWIG_IsOK(res6
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33906 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33910 arg7
= wxString_in_helper(obj6
);
33911 if (arg7
== NULL
) SWIG_fail
;
33916 if (!wxPyCheckForApp()) SWIG_fail
;
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33937 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33938 PyObject
*resultobj
= 0;
33939 wxPyTreeCtrl
*result
= 0 ;
33941 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33943 if (!wxPyCheckForApp()) SWIG_fail
;
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33956 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33957 PyObject
*resultobj
= 0;
33958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33959 wxWindow
*arg2
= (wxWindow
*) 0 ;
33960 int arg3
= (int) -1 ;
33961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33965 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33966 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33967 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33968 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33969 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33983 bool temp8
= false ;
33984 PyObject
* obj0
= 0 ;
33985 PyObject
* obj1
= 0 ;
33986 PyObject
* obj2
= 0 ;
33987 PyObject
* obj3
= 0 ;
33988 PyObject
* obj4
= 0 ;
33989 PyObject
* obj5
= 0 ;
33990 PyObject
* obj6
= 0 ;
33991 PyObject
* obj7
= 0 ;
33992 char * kwnames
[] = {
33993 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33998 if (!SWIG_IsOK(res1
)) {
33999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34001 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34003 if (!SWIG_IsOK(res2
)) {
34004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34006 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34009 if (!SWIG_IsOK(ecode3
)) {
34010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34012 arg3
= static_cast< int >(val3
);
34017 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34023 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34027 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34028 if (!SWIG_IsOK(ecode6
)) {
34029 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34031 arg6
= static_cast< long >(val6
);
34034 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34035 if (!SWIG_IsOK(res7
)) {
34036 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34041 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34045 arg8
= wxString_in_helper(obj7
);
34046 if (arg8
== NULL
) SWIG_fail
;
34051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34053 wxPyEndAllowThreads(__tstate
);
34054 if (PyErr_Occurred()) SWIG_fail
;
34057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34073 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
= 0;
34075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34076 PyObject
*arg2
= (PyObject
*) 0 ;
34077 PyObject
*arg3
= (PyObject
*) 0 ;
34080 PyObject
* obj0
= 0 ;
34081 PyObject
* obj1
= 0 ;
34082 PyObject
* obj2
= 0 ;
34083 char * kwnames
[] = {
34084 (char *) "self",(char *) "self",(char *) "_class", NULL
34087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34089 if (!SWIG_IsOK(res1
)) {
34090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34092 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34101 resultobj
= SWIG_Py_Void();
34108 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34109 PyObject
*resultobj
= 0;
34110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34111 unsigned int result
;
34114 PyObject
*swig_obj
[1] ;
34116 if (!args
) SWIG_fail
;
34117 swig_obj
[0] = args
;
34118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34119 if (!SWIG_IsOK(res1
)) {
34120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34122 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34125 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34129 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34136 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34137 PyObject
*resultobj
= 0;
34138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34139 unsigned int result
;
34142 PyObject
*swig_obj
[1] ;
34144 if (!args
) SWIG_fail
;
34145 swig_obj
[0] = args
;
34146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34147 if (!SWIG_IsOK(res1
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34150 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34154 wxPyEndAllowThreads(__tstate
);
34155 if (PyErr_Occurred()) SWIG_fail
;
34157 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34164 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34165 PyObject
*resultobj
= 0;
34166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34167 unsigned int arg2
;
34170 unsigned int val2
;
34172 PyObject
* obj0
= 0 ;
34173 PyObject
* obj1
= 0 ;
34174 char * kwnames
[] = {
34175 (char *) "self",(char *) "indent", NULL
34178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34180 if (!SWIG_IsOK(res1
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34183 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34184 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34185 if (!SWIG_IsOK(ecode2
)) {
34186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34188 arg2
= static_cast< unsigned int >(val2
);
34190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34191 (arg1
)->SetIndent(arg2
);
34192 wxPyEndAllowThreads(__tstate
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34195 resultobj
= SWIG_Py_Void();
34202 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34203 PyObject
*resultobj
= 0;
34204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34205 unsigned int result
;
34208 PyObject
*swig_obj
[1] ;
34210 if (!args
) SWIG_fail
;
34211 swig_obj
[0] = args
;
34212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34213 if (!SWIG_IsOK(res1
)) {
34214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34216 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34223 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34230 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
= 0;
34232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34233 unsigned int arg2
;
34236 unsigned int val2
;
34238 PyObject
* obj0
= 0 ;
34239 PyObject
* obj1
= 0 ;
34240 char * kwnames
[] = {
34241 (char *) "self",(char *) "spacing", NULL
34244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34246 if (!SWIG_IsOK(res1
)) {
34247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34249 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34250 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34251 if (!SWIG_IsOK(ecode2
)) {
34252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34254 arg2
= static_cast< unsigned int >(val2
);
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 (arg1
)->SetSpacing(arg2
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_Py_Void();
34268 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34269 PyObject
*resultobj
= 0;
34270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34271 wxImageList
*result
= 0 ;
34274 PyObject
*swig_obj
[1] ;
34276 if (!args
) SWIG_fail
;
34277 swig_obj
[0] = args
;
34278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34279 if (!SWIG_IsOK(res1
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34282 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34286 wxPyEndAllowThreads(__tstate
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34290 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34298 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34299 PyObject
*resultobj
= 0;
34300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34301 wxImageList
*result
= 0 ;
34304 PyObject
*swig_obj
[1] ;
34306 if (!args
) SWIG_fail
;
34307 swig_obj
[0] = args
;
34308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34309 if (!SWIG_IsOK(res1
)) {
34310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34312 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34320 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34328 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
= 0;
34330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34331 wxImageList
*arg2
= (wxImageList
*) 0 ;
34336 PyObject
* obj0
= 0 ;
34337 PyObject
* obj1
= 0 ;
34338 char * kwnames
[] = {
34339 (char *) "self",(char *) "imageList", NULL
34342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34344 if (!SWIG_IsOK(res1
)) {
34345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34347 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34349 if (!SWIG_IsOK(res2
)) {
34350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34352 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34355 (arg1
)->SetImageList(arg2
);
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34359 resultobj
= SWIG_Py_Void();
34366 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34367 PyObject
*resultobj
= 0;
34368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34369 wxImageList
*arg2
= (wxImageList
*) 0 ;
34374 PyObject
* obj0
= 0 ;
34375 PyObject
* obj1
= 0 ;
34376 char * kwnames
[] = {
34377 (char *) "self",(char *) "imageList", NULL
34380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34382 if (!SWIG_IsOK(res1
)) {
34383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34385 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34387 if (!SWIG_IsOK(res2
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34390 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34393 (arg1
)->SetStateImageList(arg2
);
34394 wxPyEndAllowThreads(__tstate
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34397 resultobj
= SWIG_Py_Void();
34404 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34405 PyObject
*resultobj
= 0;
34406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34407 wxImageList
*arg2
= (wxImageList
*) 0 ;
34411 PyObject
* obj0
= 0 ;
34412 PyObject
* obj1
= 0 ;
34413 char * kwnames
[] = {
34414 (char *) "self",(char *) "imageList", NULL
34417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34419 if (!SWIG_IsOK(res1
)) {
34420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34422 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34423 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34424 if (!SWIG_IsOK(res2
)) {
34425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34429 (arg1
)->AssignImageList(arg2
);
34430 wxPyEndAllowThreads(__tstate
);
34431 if (PyErr_Occurred()) SWIG_fail
;
34433 resultobj
= SWIG_Py_Void();
34440 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34441 PyObject
*resultobj
= 0;
34442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34443 wxImageList
*arg2
= (wxImageList
*) 0 ;
34447 PyObject
* obj0
= 0 ;
34448 PyObject
* obj1
= 0 ;
34449 char * kwnames
[] = {
34450 (char *) "self",(char *) "imageList", NULL
34453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34455 if (!SWIG_IsOK(res1
)) {
34456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34458 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34459 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34460 if (!SWIG_IsOK(res2
)) {
34461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34465 (arg1
)->AssignStateImageList(arg2
);
34466 wxPyEndAllowThreads(__tstate
);
34467 if (PyErr_Occurred()) SWIG_fail
;
34469 resultobj
= SWIG_Py_Void();
34476 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34477 PyObject
*resultobj
= 0;
34478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34479 wxTreeItemId
*arg2
= 0 ;
34485 PyObject
* obj0
= 0 ;
34486 PyObject
* obj1
= 0 ;
34487 char * kwnames
[] = {
34488 (char *) "self",(char *) "item", NULL
34491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34493 if (!SWIG_IsOK(res1
)) {
34494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34496 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34498 if (!SWIG_IsOK(res2
)) {
34499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34504 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34508 wxPyEndAllowThreads(__tstate
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34524 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34525 PyObject
*resultobj
= 0;
34526 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34527 wxTreeItemId
*arg2
= 0 ;
34528 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 PyObject
* obj2
= 0 ;
34539 char * kwnames
[] = {
34540 (char *) "self",(char *) "item",(char *) "which", NULL
34543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34545 if (!SWIG_IsOK(res1
)) {
34546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34548 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34550 if (!SWIG_IsOK(res2
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34556 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34559 if (!SWIG_IsOK(ecode3
)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34562 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= SWIG_From_int(static_cast< int >(result
));
34577 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34578 PyObject
*resultobj
= 0;
34579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34580 wxTreeItemId
*arg2
= 0 ;
34581 wxPyTreeItemData
*result
= 0 ;
34586 PyObject
* obj0
= 0 ;
34587 PyObject
* obj1
= 0 ;
34588 char * kwnames
[] = {
34589 (char *) "self",(char *) "item", NULL
34592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34594 if (!SWIG_IsOK(res1
)) {
34595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34599 if (!SWIG_IsOK(res2
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34605 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34608 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34609 wxPyEndAllowThreads(__tstate
);
34610 if (PyErr_Occurred()) SWIG_fail
;
34612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34619 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34620 PyObject
*resultobj
= 0;
34621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34622 wxTreeItemId
*arg2
= 0 ;
34623 PyObject
*result
= 0 ;
34628 PyObject
* obj0
= 0 ;
34629 PyObject
* obj1
= 0 ;
34630 char * kwnames
[] = {
34631 (char *) "self",(char *) "item", NULL
34634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34636 if (!SWIG_IsOK(res1
)) {
34637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34639 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34641 if (!SWIG_IsOK(res2
)) {
34642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34647 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34650 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34651 wxPyEndAllowThreads(__tstate
);
34652 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= result
;
34661 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34662 PyObject
*resultobj
= 0;
34663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34664 wxTreeItemId
*arg2
= 0 ;
34670 PyObject
* obj0
= 0 ;
34671 PyObject
* obj1
= 0 ;
34672 char * kwnames
[] = {
34673 (char *) "self",(char *) "item", NULL
34676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34678 if (!SWIG_IsOK(res1
)) {
34679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34681 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34683 if (!SWIG_IsOK(res2
)) {
34684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34689 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34692 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34693 wxPyEndAllowThreads(__tstate
);
34694 if (PyErr_Occurred()) SWIG_fail
;
34696 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34703 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34704 PyObject
*resultobj
= 0;
34705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34706 wxTreeItemId
*arg2
= 0 ;
34712 PyObject
* obj0
= 0 ;
34713 PyObject
* obj1
= 0 ;
34714 char * kwnames
[] = {
34715 (char *) "self",(char *) "item", NULL
34718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34720 if (!SWIG_IsOK(res1
)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34723 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34725 if (!SWIG_IsOK(res2
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34731 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34734 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34738 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34745 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
= 0;
34747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34748 wxTreeItemId
*arg2
= 0 ;
34754 PyObject
* obj0
= 0 ;
34755 PyObject
* obj1
= 0 ;
34756 char * kwnames
[] = {
34757 (char *) "self",(char *) "item", NULL
34760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34762 if (!SWIG_IsOK(res1
)) {
34763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34765 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34767 if (!SWIG_IsOK(res2
)) {
34768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34773 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34776 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34787 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
= 0;
34789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34790 wxTreeItemId
*arg2
= 0 ;
34791 wxString
*arg3
= 0 ;
34796 bool temp3
= false ;
34797 PyObject
* obj0
= 0 ;
34798 PyObject
* obj1
= 0 ;
34799 PyObject
* obj2
= 0 ;
34800 char * kwnames
[] = {
34801 (char *) "self",(char *) "item",(char *) "text", NULL
34804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34806 if (!SWIG_IsOK(res1
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34809 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34811 if (!SWIG_IsOK(res2
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34817 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34819 arg3
= wxString_in_helper(obj2
);
34820 if (arg3
== NULL
) SWIG_fail
;
34824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34825 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34826 wxPyEndAllowThreads(__tstate
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34829 resultobj
= SWIG_Py_Void();
34844 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
= 0;
34846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34847 wxTreeItemId
*arg2
= 0 ;
34849 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34858 PyObject
* obj0
= 0 ;
34859 PyObject
* obj1
= 0 ;
34860 PyObject
* obj2
= 0 ;
34861 PyObject
* obj3
= 0 ;
34862 char * kwnames
[] = {
34863 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34868 if (!SWIG_IsOK(res1
)) {
34869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34871 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34873 if (!SWIG_IsOK(res2
)) {
34874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34879 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34881 if (!SWIG_IsOK(ecode3
)) {
34882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34884 arg3
= static_cast< int >(val3
);
34886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34887 if (!SWIG_IsOK(ecode4
)) {
34888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34890 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34894 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34895 wxPyEndAllowThreads(__tstate
);
34896 if (PyErr_Occurred()) SWIG_fail
;
34898 resultobj
= SWIG_Py_Void();
34905 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34906 PyObject
*resultobj
= 0;
34907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34908 wxTreeItemId
*arg2
= 0 ;
34909 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34915 PyObject
* obj0
= 0 ;
34916 PyObject
* obj1
= 0 ;
34917 PyObject
* obj2
= 0 ;
34918 char * kwnames
[] = {
34919 (char *) "self",(char *) "item",(char *) "data", NULL
34922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34924 if (!SWIG_IsOK(res1
)) {
34925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34927 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34929 if (!SWIG_IsOK(res2
)) {
34930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34935 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34936 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34937 if (!SWIG_IsOK(res3
)) {
34938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34942 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34943 wxPyEndAllowThreads(__tstate
);
34944 if (PyErr_Occurred()) SWIG_fail
;
34946 resultobj
= SWIG_Py_Void();
34953 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34954 PyObject
*resultobj
= 0;
34955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34956 wxTreeItemId
*arg2
= 0 ;
34957 PyObject
*arg3
= (PyObject
*) 0 ;
34962 PyObject
* obj0
= 0 ;
34963 PyObject
* obj1
= 0 ;
34964 PyObject
* obj2
= 0 ;
34965 char * kwnames
[] = {
34966 (char *) "self",(char *) "item",(char *) "obj", NULL
34969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34971 if (!SWIG_IsOK(res1
)) {
34972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34974 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34976 if (!SWIG_IsOK(res2
)) {
34977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34982 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34986 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34987 wxPyEndAllowThreads(__tstate
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34990 resultobj
= SWIG_Py_Void();
34997 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34998 PyObject
*resultobj
= 0;
34999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35000 wxTreeItemId
*arg2
= 0 ;
35001 bool arg3
= (bool) true ;
35008 PyObject
* obj0
= 0 ;
35009 PyObject
* obj1
= 0 ;
35010 PyObject
* obj2
= 0 ;
35011 char * kwnames
[] = {
35012 (char *) "self",(char *) "item",(char *) "has", NULL
35015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35017 if (!SWIG_IsOK(res1
)) {
35018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35020 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35022 if (!SWIG_IsOK(res2
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35028 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35030 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35031 if (!SWIG_IsOK(ecode3
)) {
35032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35034 arg3
= static_cast< bool >(val3
);
35037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35038 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35039 wxPyEndAllowThreads(__tstate
);
35040 if (PyErr_Occurred()) SWIG_fail
;
35042 resultobj
= SWIG_Py_Void();
35049 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35050 PyObject
*resultobj
= 0;
35051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35052 wxTreeItemId
*arg2
= 0 ;
35053 bool arg3
= (bool) true ;
35060 PyObject
* obj0
= 0 ;
35061 PyObject
* obj1
= 0 ;
35062 PyObject
* obj2
= 0 ;
35063 char * kwnames
[] = {
35064 (char *) "self",(char *) "item",(char *) "bold", NULL
35067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35069 if (!SWIG_IsOK(res1
)) {
35070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35072 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35074 if (!SWIG_IsOK(res2
)) {
35075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35080 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35082 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35083 if (!SWIG_IsOK(ecode3
)) {
35084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35086 arg3
= static_cast< bool >(val3
);
35089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35090 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35091 wxPyEndAllowThreads(__tstate
);
35092 if (PyErr_Occurred()) SWIG_fail
;
35094 resultobj
= SWIG_Py_Void();
35101 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35102 PyObject
*resultobj
= 0;
35103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35104 wxTreeItemId
*arg2
= 0 ;
35105 bool arg3
= (bool) true ;
35112 PyObject
* obj0
= 0 ;
35113 PyObject
* obj1
= 0 ;
35114 PyObject
* obj2
= 0 ;
35115 char * kwnames
[] = {
35116 (char *) "self",(char *) "item",(char *) "highlight", NULL
35119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35121 if (!SWIG_IsOK(res1
)) {
35122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35124 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35126 if (!SWIG_IsOK(res2
)) {
35127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35132 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35134 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35135 if (!SWIG_IsOK(ecode3
)) {
35136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35138 arg3
= static_cast< bool >(val3
);
35141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35142 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35146 resultobj
= SWIG_Py_Void();
35153 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35154 PyObject
*resultobj
= 0;
35155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35156 wxTreeItemId
*arg2
= 0 ;
35157 wxColour
*arg3
= 0 ;
35163 PyObject
* obj0
= 0 ;
35164 PyObject
* obj1
= 0 ;
35165 PyObject
* obj2
= 0 ;
35166 char * kwnames
[] = {
35167 (char *) "self",(char *) "item",(char *) "col", NULL
35170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35172 if (!SWIG_IsOK(res1
)) {
35173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35175 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35177 if (!SWIG_IsOK(res2
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35183 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35186 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35191 wxPyEndAllowThreads(__tstate
);
35192 if (PyErr_Occurred()) SWIG_fail
;
35194 resultobj
= SWIG_Py_Void();
35201 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35202 PyObject
*resultobj
= 0;
35203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35204 wxTreeItemId
*arg2
= 0 ;
35205 wxColour
*arg3
= 0 ;
35211 PyObject
* obj0
= 0 ;
35212 PyObject
* obj1
= 0 ;
35213 PyObject
* obj2
= 0 ;
35214 char * kwnames
[] = {
35215 (char *) "self",(char *) "item",(char *) "col", NULL
35218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35220 if (!SWIG_IsOK(res1
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35225 if (!SWIG_IsOK(res2
)) {
35226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35231 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35234 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35242 resultobj
= SWIG_Py_Void();
35249 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35250 PyObject
*resultobj
= 0;
35251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35252 wxTreeItemId
*arg2
= 0 ;
35260 PyObject
* obj0
= 0 ;
35261 PyObject
* obj1
= 0 ;
35262 PyObject
* obj2
= 0 ;
35263 char * kwnames
[] = {
35264 (char *) "self",(char *) "item",(char *) "font", NULL
35267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35269 if (!SWIG_IsOK(res1
)) {
35270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35272 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35274 if (!SWIG_IsOK(res2
)) {
35275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35280 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35281 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35282 if (!SWIG_IsOK(res3
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35288 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35291 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35292 wxPyEndAllowThreads(__tstate
);
35293 if (PyErr_Occurred()) SWIG_fail
;
35295 resultobj
= SWIG_Py_Void();
35302 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35303 PyObject
*resultobj
= 0;
35304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35305 wxTreeItemId
*arg2
= 0 ;
35311 PyObject
* obj0
= 0 ;
35312 PyObject
* obj1
= 0 ;
35313 char * kwnames
[] = {
35314 (char *) "self",(char *) "item", NULL
35317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35319 if (!SWIG_IsOK(res1
)) {
35320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35322 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35324 if (!SWIG_IsOK(res2
)) {
35325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35330 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35333 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35334 wxPyEndAllowThreads(__tstate
);
35335 if (PyErr_Occurred()) SWIG_fail
;
35338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35346 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
= 0;
35348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35349 wxTreeItemId
*arg2
= 0 ;
35355 PyObject
* obj0
= 0 ;
35356 PyObject
* obj1
= 0 ;
35357 char * kwnames
[] = {
35358 (char *) "self",(char *) "item", NULL
35361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35363 if (!SWIG_IsOK(res1
)) {
35364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35366 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35368 if (!SWIG_IsOK(res2
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35374 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35390 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
= 0;
35392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35393 wxTreeItemId
*arg2
= 0 ;
35399 PyObject
* obj0
= 0 ;
35400 PyObject
* obj1
= 0 ;
35401 char * kwnames
[] = {
35402 (char *) "self",(char *) "item", NULL
35405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35407 if (!SWIG_IsOK(res1
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35410 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35412 if (!SWIG_IsOK(res2
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35418 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35421 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35422 wxPyEndAllowThreads(__tstate
);
35423 if (PyErr_Occurred()) SWIG_fail
;
35426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35434 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35435 PyObject
*resultobj
= 0;
35436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35437 wxTreeItemId
*arg2
= 0 ;
35443 PyObject
* obj0
= 0 ;
35444 PyObject
* obj1
= 0 ;
35445 char * kwnames
[] = {
35446 (char *) "self",(char *) "item", NULL
35449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35451 if (!SWIG_IsOK(res1
)) {
35452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35454 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35456 if (!SWIG_IsOK(res2
)) {
35457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35462 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35465 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35466 wxPyEndAllowThreads(__tstate
);
35467 if (PyErr_Occurred()) SWIG_fail
;
35470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35478 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35479 PyObject
*resultobj
= 0;
35480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35481 wxTreeItemId
*arg2
= 0 ;
35487 PyObject
* obj0
= 0 ;
35488 PyObject
* obj1
= 0 ;
35489 char * kwnames
[] = {
35490 (char *) "self",(char *) "item", NULL
35493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35495 if (!SWIG_IsOK(res1
)) {
35496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35498 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35499 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35500 if (!SWIG_IsOK(res2
)) {
35501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35506 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35509 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35510 wxPyEndAllowThreads(__tstate
);
35511 if (PyErr_Occurred()) SWIG_fail
;
35514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35522 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35523 PyObject
*resultobj
= 0;
35524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35525 wxTreeItemId
*arg2
= 0 ;
35526 bool arg3
= (bool) true ;
35534 PyObject
* obj0
= 0 ;
35535 PyObject
* obj1
= 0 ;
35536 PyObject
* obj2
= 0 ;
35537 char * kwnames
[] = {
35538 (char *) "self",(char *) "item",(char *) "recursively", NULL
35541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35543 if (!SWIG_IsOK(res1
)) {
35544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35546 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35548 if (!SWIG_IsOK(res2
)) {
35549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35554 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35556 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35557 if (!SWIG_IsOK(ecode3
)) {
35558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35560 arg3
= static_cast< bool >(val3
);
35563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35564 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35565 wxPyEndAllowThreads(__tstate
);
35566 if (PyErr_Occurred()) SWIG_fail
;
35568 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35575 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35576 PyObject
*resultobj
= 0;
35577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35578 wxTreeItemId result
;
35581 PyObject
*swig_obj
[1] ;
35583 if (!args
) SWIG_fail
;
35584 swig_obj
[0] = args
;
35585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35586 if (!SWIG_IsOK(res1
)) {
35587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35589 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35593 wxPyEndAllowThreads(__tstate
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35596 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35603 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35604 PyObject
*resultobj
= 0;
35605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35606 wxTreeItemId result
;
35609 PyObject
*swig_obj
[1] ;
35611 if (!args
) SWIG_fail
;
35612 swig_obj
[0] = args
;
35613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35614 if (!SWIG_IsOK(res1
)) {
35615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35617 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35631 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35632 PyObject
*resultobj
= 0;
35633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35634 PyObject
*result
= 0 ;
35637 PyObject
*swig_obj
[1] ;
35639 if (!args
) SWIG_fail
;
35640 swig_obj
[0] = args
;
35641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35642 if (!SWIG_IsOK(res1
)) {
35643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35645 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35648 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35649 wxPyEndAllowThreads(__tstate
);
35650 if (PyErr_Occurred()) SWIG_fail
;
35652 resultobj
= result
;
35659 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35660 PyObject
*resultobj
= 0;
35661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35662 wxTreeItemId
*arg2
= 0 ;
35663 wxTreeItemId result
;
35668 PyObject
* obj0
= 0 ;
35669 PyObject
* obj1
= 0 ;
35670 char * kwnames
[] = {
35671 (char *) "self",(char *) "item", NULL
35674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35676 if (!SWIG_IsOK(res1
)) {
35677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35679 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35681 if (!SWIG_IsOK(res2
)) {
35682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35687 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35690 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35694 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35701 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35702 PyObject
*resultobj
= 0;
35703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35704 wxTreeItemId
*arg2
= 0 ;
35705 PyObject
*result
= 0 ;
35710 PyObject
* obj0
= 0 ;
35711 PyObject
* obj1
= 0 ;
35712 char * kwnames
[] = {
35713 (char *) "self",(char *) "item", NULL
35716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35718 if (!SWIG_IsOK(res1
)) {
35719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35723 if (!SWIG_IsOK(res2
)) {
35724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35729 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35732 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35736 resultobj
= result
;
35743 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35744 PyObject
*resultobj
= 0;
35745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35746 wxTreeItemId
*arg2
= 0 ;
35747 void *arg3
= (void *) 0 ;
35748 PyObject
*result
= 0 ;
35754 PyObject
* obj0
= 0 ;
35755 PyObject
* obj1
= 0 ;
35756 PyObject
* obj2
= 0 ;
35757 char * kwnames
[] = {
35758 (char *) "self",(char *) "item",(char *) "cookie", NULL
35761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35763 if (!SWIG_IsOK(res1
)) {
35764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35766 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35768 if (!SWIG_IsOK(res2
)) {
35769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35774 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35775 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35776 if (!SWIG_IsOK(res3
)) {
35777 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35781 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= result
;
35792 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35793 PyObject
*resultobj
= 0;
35794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35795 wxTreeItemId
*arg2
= 0 ;
35796 wxTreeItemId result
;
35801 PyObject
* obj0
= 0 ;
35802 PyObject
* obj1
= 0 ;
35803 char * kwnames
[] = {
35804 (char *) "self",(char *) "item", NULL
35807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35809 if (!SWIG_IsOK(res1
)) {
35810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35812 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35814 if (!SWIG_IsOK(res2
)) {
35815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35820 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35823 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35824 wxPyEndAllowThreads(__tstate
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35827 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35834 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35835 PyObject
*resultobj
= 0;
35836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35837 wxTreeItemId
*arg2
= 0 ;
35838 wxTreeItemId result
;
35843 PyObject
* obj0
= 0 ;
35844 PyObject
* obj1
= 0 ;
35845 char * kwnames
[] = {
35846 (char *) "self",(char *) "item", NULL
35849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35851 if (!SWIG_IsOK(res1
)) {
35852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35854 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35856 if (!SWIG_IsOK(res2
)) {
35857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35862 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35876 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
= 0;
35878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35879 wxTreeItemId
*arg2
= 0 ;
35880 wxTreeItemId result
;
35885 PyObject
* obj0
= 0 ;
35886 PyObject
* obj1
= 0 ;
35887 char * kwnames
[] = {
35888 (char *) "self",(char *) "item", NULL
35891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35893 if (!SWIG_IsOK(res1
)) {
35894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35896 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35898 if (!SWIG_IsOK(res2
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35904 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35918 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35919 PyObject
*resultobj
= 0;
35920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35921 wxTreeItemId result
;
35924 PyObject
*swig_obj
[1] ;
35926 if (!args
) SWIG_fail
;
35927 swig_obj
[0] = args
;
35928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35929 if (!SWIG_IsOK(res1
)) {
35930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35932 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35935 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35936 wxPyEndAllowThreads(__tstate
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35939 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35946 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35947 PyObject
*resultobj
= 0;
35948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35949 wxTreeItemId
*arg2
= 0 ;
35950 wxTreeItemId result
;
35955 PyObject
* obj0
= 0 ;
35956 PyObject
* obj1
= 0 ;
35957 char * kwnames
[] = {
35958 (char *) "self",(char *) "item", NULL
35961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35963 if (!SWIG_IsOK(res1
)) {
35964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35966 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35968 if (!SWIG_IsOK(res2
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35974 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35977 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35978 wxPyEndAllowThreads(__tstate
);
35979 if (PyErr_Occurred()) SWIG_fail
;
35981 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35988 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35989 PyObject
*resultobj
= 0;
35990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35991 wxTreeItemId
*arg2
= 0 ;
35992 wxTreeItemId result
;
35997 PyObject
* obj0
= 0 ;
35998 PyObject
* obj1
= 0 ;
35999 char * kwnames
[] = {
36000 (char *) "self",(char *) "item", NULL
36003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36005 if (!SWIG_IsOK(res1
)) {
36006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36008 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36010 if (!SWIG_IsOK(res2
)) {
36011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36016 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36019 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36020 wxPyEndAllowThreads(__tstate
);
36021 if (PyErr_Occurred()) SWIG_fail
;
36023 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36030 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36031 PyObject
*resultobj
= 0;
36032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36033 wxString
*arg2
= 0 ;
36034 int arg3
= (int) -1 ;
36035 int arg4
= (int) -1 ;
36036 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36037 wxTreeItemId result
;
36040 bool temp2
= false ;
36046 PyObject
* obj0
= 0 ;
36047 PyObject
* obj1
= 0 ;
36048 PyObject
* obj2
= 0 ;
36049 PyObject
* obj3
= 0 ;
36050 PyObject
* obj4
= 0 ;
36051 char * kwnames
[] = {
36052 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36057 if (!SWIG_IsOK(res1
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36060 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36062 arg2
= wxString_in_helper(obj1
);
36063 if (arg2
== NULL
) SWIG_fail
;
36067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36068 if (!SWIG_IsOK(ecode3
)) {
36069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36071 arg3
= static_cast< int >(val3
);
36074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36075 if (!SWIG_IsOK(ecode4
)) {
36076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36078 arg4
= static_cast< int >(val4
);
36081 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36082 if (!SWIG_IsOK(res5
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36088 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36089 wxPyEndAllowThreads(__tstate
);
36090 if (PyErr_Occurred()) SWIG_fail
;
36092 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36107 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36108 PyObject
*resultobj
= 0;
36109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36110 wxTreeItemId
*arg2
= 0 ;
36111 wxString
*arg3
= 0 ;
36112 int arg4
= (int) -1 ;
36113 int arg5
= (int) -1 ;
36114 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36115 wxTreeItemId result
;
36120 bool temp3
= false ;
36126 PyObject
* obj0
= 0 ;
36127 PyObject
* obj1
= 0 ;
36128 PyObject
* obj2
= 0 ;
36129 PyObject
* obj3
= 0 ;
36130 PyObject
* obj4
= 0 ;
36131 PyObject
* obj5
= 0 ;
36132 char * kwnames
[] = {
36133 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36138 if (!SWIG_IsOK(res1
)) {
36139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36141 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36142 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36143 if (!SWIG_IsOK(res2
)) {
36144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36149 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36151 arg3
= wxString_in_helper(obj2
);
36152 if (arg3
== NULL
) SWIG_fail
;
36156 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36157 if (!SWIG_IsOK(ecode4
)) {
36158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36160 arg4
= static_cast< int >(val4
);
36163 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36164 if (!SWIG_IsOK(ecode5
)) {
36165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36167 arg5
= static_cast< int >(val5
);
36170 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36171 if (!SWIG_IsOK(res6
)) {
36172 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36181 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36196 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36197 PyObject
*resultobj
= 0;
36198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36199 wxTreeItemId
*arg2
= 0 ;
36200 wxTreeItemId
*arg3
= 0 ;
36201 wxString
*arg4
= 0 ;
36202 int arg5
= (int) -1 ;
36203 int arg6
= (int) -1 ;
36204 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36205 wxTreeItemId result
;
36212 bool temp4
= false ;
36218 PyObject
* obj0
= 0 ;
36219 PyObject
* obj1
= 0 ;
36220 PyObject
* obj2
= 0 ;
36221 PyObject
* obj3
= 0 ;
36222 PyObject
* obj4
= 0 ;
36223 PyObject
* obj5
= 0 ;
36224 PyObject
* obj6
= 0 ;
36225 char * kwnames
[] = {
36226 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_InsertItem" "', 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_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36242 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36243 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36244 if (!SWIG_IsOK(res3
)) {
36245 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36250 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36252 arg4
= wxString_in_helper(obj3
);
36253 if (arg4
== NULL
) SWIG_fail
;
36257 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36258 if (!SWIG_IsOK(ecode5
)) {
36259 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36261 arg5
= static_cast< int >(val5
);
36264 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36265 if (!SWIG_IsOK(ecode6
)) {
36266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36268 arg6
= static_cast< int >(val6
);
36271 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36272 if (!SWIG_IsOK(res7
)) {
36273 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36278 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36279 wxPyEndAllowThreads(__tstate
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36282 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36297 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36298 PyObject
*resultobj
= 0;
36299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36300 wxTreeItemId
*arg2
= 0 ;
36302 wxString
*arg4
= 0 ;
36303 int arg5
= (int) -1 ;
36304 int arg6
= (int) -1 ;
36305 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36306 wxTreeItemId result
;
36313 bool temp4
= false ;
36319 PyObject
* obj0
= 0 ;
36320 PyObject
* obj1
= 0 ;
36321 PyObject
* obj2
= 0 ;
36322 PyObject
* obj3
= 0 ;
36323 PyObject
* obj4
= 0 ;
36324 PyObject
* obj5
= 0 ;
36325 PyObject
* obj6
= 0 ;
36326 char * kwnames
[] = {
36327 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36332 if (!SWIG_IsOK(res1
)) {
36333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36335 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36337 if (!SWIG_IsOK(res2
)) {
36338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36343 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36344 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36345 if (!SWIG_IsOK(ecode3
)) {
36346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36348 arg3
= static_cast< size_t >(val3
);
36350 arg4
= wxString_in_helper(obj3
);
36351 if (arg4
== NULL
) SWIG_fail
;
36355 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36356 if (!SWIG_IsOK(ecode5
)) {
36357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36359 arg5
= static_cast< int >(val5
);
36362 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36363 if (!SWIG_IsOK(ecode6
)) {
36364 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36366 arg6
= static_cast< int >(val6
);
36369 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36370 if (!SWIG_IsOK(res7
)) {
36371 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36376 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36377 wxPyEndAllowThreads(__tstate
);
36378 if (PyErr_Occurred()) SWIG_fail
;
36380 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36395 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36396 PyObject
*resultobj
= 0;
36397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36398 wxTreeItemId
*arg2
= 0 ;
36399 wxString
*arg3
= 0 ;
36400 int arg4
= (int) -1 ;
36401 int arg5
= (int) -1 ;
36402 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36403 wxTreeItemId result
;
36408 bool temp3
= false ;
36414 PyObject
* obj0
= 0 ;
36415 PyObject
* obj1
= 0 ;
36416 PyObject
* obj2
= 0 ;
36417 PyObject
* obj3
= 0 ;
36418 PyObject
* obj4
= 0 ;
36419 PyObject
* obj5
= 0 ;
36420 char * kwnames
[] = {
36421 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36426 if (!SWIG_IsOK(res1
)) {
36427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36429 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36431 if (!SWIG_IsOK(res2
)) {
36432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36437 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36439 arg3
= wxString_in_helper(obj2
);
36440 if (arg3
== NULL
) SWIG_fail
;
36444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36445 if (!SWIG_IsOK(ecode4
)) {
36446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36448 arg4
= static_cast< int >(val4
);
36451 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36452 if (!SWIG_IsOK(ecode5
)) {
36453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36455 arg5
= static_cast< int >(val5
);
36458 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36459 if (!SWIG_IsOK(res6
)) {
36460 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36466 wxPyEndAllowThreads(__tstate
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36469 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36484 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36485 PyObject
*resultobj
= 0;
36486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36487 wxTreeItemId
*arg2
= 0 ;
36492 PyObject
* obj0
= 0 ;
36493 PyObject
* obj1
= 0 ;
36494 char * kwnames
[] = {
36495 (char *) "self",(char *) "item", NULL
36498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36500 if (!SWIG_IsOK(res1
)) {
36501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36503 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36505 if (!SWIG_IsOK(res2
)) {
36506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36511 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36514 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36515 wxPyEndAllowThreads(__tstate
);
36516 if (PyErr_Occurred()) SWIG_fail
;
36518 resultobj
= SWIG_Py_Void();
36525 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36526 PyObject
*resultobj
= 0;
36527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36528 wxTreeItemId
*arg2
= 0 ;
36533 PyObject
* obj0
= 0 ;
36534 PyObject
* obj1
= 0 ;
36535 char * kwnames
[] = {
36536 (char *) "self",(char *) "item", NULL
36539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36541 if (!SWIG_IsOK(res1
)) {
36542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36544 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36546 if (!SWIG_IsOK(res2
)) {
36547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36552 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36555 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36556 wxPyEndAllowThreads(__tstate
);
36557 if (PyErr_Occurred()) SWIG_fail
;
36559 resultobj
= SWIG_Py_Void();
36566 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36567 PyObject
*resultobj
= 0;
36568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36571 PyObject
*swig_obj
[1] ;
36573 if (!args
) SWIG_fail
;
36574 swig_obj
[0] = args
;
36575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36576 if (!SWIG_IsOK(res1
)) {
36577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36579 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 (arg1
)->DeleteAllItems();
36583 wxPyEndAllowThreads(__tstate
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36586 resultobj
= SWIG_Py_Void();
36593 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36594 PyObject
*resultobj
= 0;
36595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36596 wxTreeItemId
*arg2
= 0 ;
36601 PyObject
* obj0
= 0 ;
36602 PyObject
* obj1
= 0 ;
36603 char * kwnames
[] = {
36604 (char *) "self",(char *) "item", NULL
36607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36609 if (!SWIG_IsOK(res1
)) {
36610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36612 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36614 if (!SWIG_IsOK(res2
)) {
36615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36620 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36624 wxPyEndAllowThreads(__tstate
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36627 resultobj
= SWIG_Py_Void();
36634 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36635 PyObject
*resultobj
= 0;
36636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36637 wxTreeItemId
*arg2
= 0 ;
36642 PyObject
* obj0
= 0 ;
36643 PyObject
* obj1
= 0 ;
36644 char * kwnames
[] = {
36645 (char *) "self",(char *) "item", NULL
36648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36650 if (!SWIG_IsOK(res1
)) {
36651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36653 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36655 if (!SWIG_IsOK(res2
)) {
36656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36661 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36664 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36665 wxPyEndAllowThreads(__tstate
);
36666 if (PyErr_Occurred()) SWIG_fail
;
36668 resultobj
= SWIG_Py_Void();
36675 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36676 PyObject
*resultobj
= 0;
36677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36680 PyObject
*swig_obj
[1] ;
36682 if (!args
) SWIG_fail
;
36683 swig_obj
[0] = args
;
36684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36685 if (!SWIG_IsOK(res1
)) {
36686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36688 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36691 (arg1
)->ExpandAll();
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 resultobj
= SWIG_Py_Void();
36702 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
= 0;
36704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36705 wxTreeItemId
*arg2
= 0 ;
36710 PyObject
* obj0
= 0 ;
36711 PyObject
* obj1
= 0 ;
36712 char * kwnames
[] = {
36713 (char *) "self",(char *) "item", NULL
36716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36718 if (!SWIG_IsOK(res1
)) {
36719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36723 if (!SWIG_IsOK(res2
)) {
36724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36729 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36732 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36733 wxPyEndAllowThreads(__tstate
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36736 resultobj
= SWIG_Py_Void();
36743 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36744 PyObject
*resultobj
= 0;
36745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36746 wxTreeItemId
*arg2
= 0 ;
36751 PyObject
* obj0
= 0 ;
36752 PyObject
* obj1
= 0 ;
36753 char * kwnames
[] = {
36754 (char *) "self",(char *) "item", NULL
36757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36759 if (!SWIG_IsOK(res1
)) {
36760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36762 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36764 if (!SWIG_IsOK(res2
)) {
36765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36770 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36774 wxPyEndAllowThreads(__tstate
);
36775 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= SWIG_Py_Void();
36784 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36785 PyObject
*resultobj
= 0;
36786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36787 wxTreeItemId
*arg2
= 0 ;
36792 PyObject
* obj0
= 0 ;
36793 PyObject
* obj1
= 0 ;
36794 char * kwnames
[] = {
36795 (char *) "self",(char *) "item", NULL
36798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36800 if (!SWIG_IsOK(res1
)) {
36801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36803 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36805 if (!SWIG_IsOK(res2
)) {
36806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36811 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36814 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36815 wxPyEndAllowThreads(__tstate
);
36816 if (PyErr_Occurred()) SWIG_fail
;
36818 resultobj
= SWIG_Py_Void();
36825 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36826 PyObject
*resultobj
= 0;
36827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36830 PyObject
*swig_obj
[1] ;
36832 if (!args
) SWIG_fail
;
36833 swig_obj
[0] = args
;
36834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36835 if (!SWIG_IsOK(res1
)) {
36836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36838 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 (arg1
)->Unselect();
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= SWIG_Py_Void();
36852 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
= 0;
36854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36855 wxTreeItemId
*arg2
= 0 ;
36860 PyObject
* obj0
= 0 ;
36861 PyObject
* obj1
= 0 ;
36862 char * kwnames
[] = {
36863 (char *) "self",(char *) "item", NULL
36866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36868 if (!SWIG_IsOK(res1
)) {
36869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36871 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36873 if (!SWIG_IsOK(res2
)) {
36874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36879 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36882 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36883 wxPyEndAllowThreads(__tstate
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36886 resultobj
= SWIG_Py_Void();
36893 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36894 PyObject
*resultobj
= 0;
36895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36898 PyObject
*swig_obj
[1] ;
36900 if (!args
) SWIG_fail
;
36901 swig_obj
[0] = args
;
36902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36903 if (!SWIG_IsOK(res1
)) {
36904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36906 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36909 (arg1
)->UnselectAll();
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36913 resultobj
= SWIG_Py_Void();
36920 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36921 PyObject
*resultobj
= 0;
36922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36923 wxTreeItemId
*arg2
= 0 ;
36924 bool arg3
= (bool) true ;
36931 PyObject
* obj0
= 0 ;
36932 PyObject
* obj1
= 0 ;
36933 PyObject
* obj2
= 0 ;
36934 char * kwnames
[] = {
36935 (char *) "self",(char *) "item",(char *) "select", NULL
36938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36940 if (!SWIG_IsOK(res1
)) {
36941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36945 if (!SWIG_IsOK(res2
)) {
36946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36951 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36953 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36954 if (!SWIG_IsOK(ecode3
)) {
36955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36957 arg3
= static_cast< bool >(val3
);
36960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36961 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36962 wxPyEndAllowThreads(__tstate
);
36963 if (PyErr_Occurred()) SWIG_fail
;
36965 resultobj
= SWIG_Py_Void();
36972 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36973 PyObject
*resultobj
= 0;
36974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36975 wxTreeItemId
*arg2
= 0 ;
36980 PyObject
* obj0
= 0 ;
36981 PyObject
* obj1
= 0 ;
36982 char * kwnames
[] = {
36983 (char *) "self",(char *) "item", NULL
36986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36988 if (!SWIG_IsOK(res1
)) {
36989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36991 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36993 if (!SWIG_IsOK(res2
)) {
36994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36999 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37002 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37003 wxPyEndAllowThreads(__tstate
);
37004 if (PyErr_Occurred()) SWIG_fail
;
37006 resultobj
= SWIG_Py_Void();
37013 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37014 PyObject
*resultobj
= 0;
37015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37016 wxTreeItemId
*arg2
= 0 ;
37021 PyObject
* obj0
= 0 ;
37022 PyObject
* obj1
= 0 ;
37023 char * kwnames
[] = {
37024 (char *) "self",(char *) "item", NULL
37027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37029 if (!SWIG_IsOK(res1
)) {
37030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37032 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37034 if (!SWIG_IsOK(res2
)) {
37035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37040 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37043 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37044 wxPyEndAllowThreads(__tstate
);
37045 if (PyErr_Occurred()) SWIG_fail
;
37047 resultobj
= SWIG_Py_Void();
37054 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37055 PyObject
*resultobj
= 0;
37056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37057 wxTreeItemId
*arg2
= 0 ;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 char * kwnames
[] = {
37065 (char *) "self",(char *) "item", NULL
37068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37070 if (!SWIG_IsOK(res1
)) {
37071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37073 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37075 if (!SWIG_IsOK(res2
)) {
37076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37081 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37084 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37085 wxPyEndAllowThreads(__tstate
);
37086 if (PyErr_Occurred()) SWIG_fail
;
37088 resultobj
= SWIG_Py_Void();
37095 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37096 PyObject
*resultobj
= 0;
37097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37098 wxTreeItemId
*arg2
= 0 ;
37103 PyObject
* obj0
= 0 ;
37104 PyObject
* obj1
= 0 ;
37105 char * kwnames
[] = {
37106 (char *) "self",(char *) "item", NULL
37109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37111 if (!SWIG_IsOK(res1
)) {
37112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37114 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37116 if (!SWIG_IsOK(res2
)) {
37117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37122 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37125 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37126 wxPyEndAllowThreads(__tstate
);
37127 if (PyErr_Occurred()) SWIG_fail
;
37129 resultobj
= SWIG_Py_Void();
37136 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37137 PyObject
*resultobj
= 0;
37138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37139 wxTextCtrl
*result
= 0 ;
37142 PyObject
*swig_obj
[1] ;
37144 if (!args
) SWIG_fail
;
37145 swig_obj
[0] = args
;
37146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37147 if (!SWIG_IsOK(res1
)) {
37148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37150 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37154 wxPyEndAllowThreads(__tstate
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37158 resultobj
= wxPyMake_wxObject(result
, 0);
37166 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37167 PyObject
*resultobj
= 0;
37168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37169 wxTreeItemId
*arg2
= 0 ;
37174 PyObject
* obj0
= 0 ;
37175 PyObject
* obj1
= 0 ;
37176 char * kwnames
[] = {
37177 (char *) "self",(char *) "item", NULL
37180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37182 if (!SWIG_IsOK(res1
)) {
37183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37185 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37187 if (!SWIG_IsOK(res2
)) {
37188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37193 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37197 wxPyEndAllowThreads(__tstate
);
37198 if (PyErr_Occurred()) SWIG_fail
;
37200 resultobj
= SWIG_Py_Void();
37207 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37208 PyObject
*resultobj
= 0;
37209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37210 wxPoint
*arg2
= 0 ;
37212 wxTreeItemId result
;
37217 int res3
= SWIG_TMPOBJ
;
37218 PyObject
* obj0
= 0 ;
37219 PyObject
* obj1
= 0 ;
37220 char * kwnames
[] = {
37221 (char *) "self",(char *) "point", NULL
37225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37227 if (!SWIG_IsOK(res1
)) {
37228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37230 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37233 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37237 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37238 wxPyEndAllowThreads(__tstate
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37241 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37242 if (SWIG_IsTmpObj(res3
)) {
37243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37245 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37254 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37255 PyObject
*resultobj
= 0;
37256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37257 wxTreeItemId
*arg2
= 0 ;
37258 bool arg3
= (bool) false ;
37259 PyObject
*result
= 0 ;
37266 PyObject
* obj0
= 0 ;
37267 PyObject
* obj1
= 0 ;
37268 PyObject
* obj2
= 0 ;
37269 char * kwnames
[] = {
37270 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37275 if (!SWIG_IsOK(res1
)) {
37276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37278 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37280 if (!SWIG_IsOK(res2
)) {
37281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37286 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37288 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37289 if (!SWIG_IsOK(ecode3
)) {
37290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37292 arg3
= static_cast< bool >(val3
);
37295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37296 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37297 wxPyEndAllowThreads(__tstate
);
37298 if (PyErr_Occurred()) SWIG_fail
;
37300 resultobj
= result
;
37307 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37308 PyObject
*resultobj
= 0;
37309 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37310 SwigValueWrapper
<wxVisualAttributes
> result
;
37313 PyObject
* obj0
= 0 ;
37314 char * kwnames
[] = {
37315 (char *) "variant", NULL
37318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37321 if (!SWIG_IsOK(ecode1
)) {
37322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37324 arg1
= static_cast< wxWindowVariant
>(val1
);
37327 if (!wxPyCheckForApp()) SWIG_fail
;
37328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37329 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37333 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37340 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
= 0;
37342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37348 PyObject
* obj0
= 0 ;
37349 PyObject
* obj1
= 0 ;
37350 char * kwnames
[] = {
37351 (char *) "self",(char *) "q", NULL
37354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37356 if (!SWIG_IsOK(res1
)) {
37357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37360 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37361 if (!SWIG_IsOK(ecode2
)) {
37362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37364 arg2
= static_cast< bool >(val2
);
37366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37367 (arg1
)->SetQuickBestSize(arg2
);
37368 wxPyEndAllowThreads(__tstate
);
37369 if (PyErr_Occurred()) SWIG_fail
;
37371 resultobj
= SWIG_Py_Void();
37378 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37379 PyObject
*resultobj
= 0;
37380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37384 PyObject
*swig_obj
[1] ;
37386 if (!args
) SWIG_fail
;
37387 swig_obj
[0] = args
;
37388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37389 if (!SWIG_IsOK(res1
)) {
37390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37392 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37395 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37396 wxPyEndAllowThreads(__tstate
);
37397 if (PyErr_Occurred()) SWIG_fail
;
37400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37408 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37411 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37412 return SWIG_Py_Void();
37415 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37416 return SWIG_Python_InitShadowInstance(args
);
37419 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37420 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37425 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37426 PyObject
*pyobj
= 0;
37430 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37432 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37439 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37440 PyObject
*resultobj
= 0;
37441 wxWindow
*arg1
= (wxWindow
*) 0 ;
37442 int arg2
= (int) (int)-1 ;
37443 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37444 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37445 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37446 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37447 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37448 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37449 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37450 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37452 int arg8
= (int) 0 ;
37453 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37454 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37455 wxGenericDirCtrl
*result
= 0 ;
37460 bool temp3
= false ;
37465 bool temp7
= false ;
37468 bool temp9
= false ;
37469 PyObject
* obj0
= 0 ;
37470 PyObject
* obj1
= 0 ;
37471 PyObject
* obj2
= 0 ;
37472 PyObject
* obj3
= 0 ;
37473 PyObject
* obj4
= 0 ;
37474 PyObject
* obj5
= 0 ;
37475 PyObject
* obj6
= 0 ;
37476 PyObject
* obj7
= 0 ;
37477 PyObject
* obj8
= 0 ;
37478 char * kwnames
[] = {
37479 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37484 if (!SWIG_IsOK(res1
)) {
37485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37487 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37490 if (!SWIG_IsOK(ecode2
)) {
37491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37493 arg2
= static_cast< int >(val2
);
37497 arg3
= wxString_in_helper(obj2
);
37498 if (arg3
== NULL
) SWIG_fail
;
37505 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37511 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37515 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37516 if (!SWIG_IsOK(ecode6
)) {
37517 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37519 arg6
= static_cast< long >(val6
);
37523 arg7
= wxString_in_helper(obj6
);
37524 if (arg7
== NULL
) SWIG_fail
;
37529 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37530 if (!SWIG_IsOK(ecode8
)) {
37531 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37533 arg8
= static_cast< int >(val8
);
37537 arg9
= wxString_in_helper(obj8
);
37538 if (arg9
== NULL
) SWIG_fail
;
37543 if (!wxPyCheckForApp()) SWIG_fail
;
37544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37545 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37580 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37581 PyObject
*resultobj
= 0;
37582 wxGenericDirCtrl
*result
= 0 ;
37584 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37586 if (!wxPyCheckForApp()) SWIG_fail
;
37587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37588 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37589 wxPyEndAllowThreads(__tstate
);
37590 if (PyErr_Occurred()) SWIG_fail
;
37592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37599 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37600 PyObject
*resultobj
= 0;
37601 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37602 wxWindow
*arg2
= (wxWindow
*) 0 ;
37603 int arg3
= (int) (int)-1 ;
37604 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37605 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37606 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37607 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37608 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37609 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37610 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37611 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37612 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37613 int arg9
= (int) 0 ;
37614 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37615 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37623 bool temp4
= false ;
37628 bool temp8
= false ;
37631 bool temp10
= false ;
37632 PyObject
* obj0
= 0 ;
37633 PyObject
* obj1
= 0 ;
37634 PyObject
* obj2
= 0 ;
37635 PyObject
* obj3
= 0 ;
37636 PyObject
* obj4
= 0 ;
37637 PyObject
* obj5
= 0 ;
37638 PyObject
* obj6
= 0 ;
37639 PyObject
* obj7
= 0 ;
37640 PyObject
* obj8
= 0 ;
37641 PyObject
* obj9
= 0 ;
37642 char * kwnames
[] = {
37643 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37648 if (!SWIG_IsOK(res1
)) {
37649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37651 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37653 if (!SWIG_IsOK(res2
)) {
37654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37656 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37659 if (!SWIG_IsOK(ecode3
)) {
37660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37662 arg3
= static_cast< int >(val3
);
37666 arg4
= wxString_in_helper(obj3
);
37667 if (arg4
== NULL
) SWIG_fail
;
37674 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37680 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37684 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37685 if (!SWIG_IsOK(ecode7
)) {
37686 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37688 arg7
= static_cast< long >(val7
);
37692 arg8
= wxString_in_helper(obj7
);
37693 if (arg8
== NULL
) SWIG_fail
;
37698 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37699 if (!SWIG_IsOK(ecode9
)) {
37700 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37702 arg9
= static_cast< int >(val9
);
37706 arg10
= wxString_in_helper(obj9
);
37707 if (arg10
== NULL
) SWIG_fail
;
37712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37714 wxPyEndAllowThreads(__tstate
);
37715 if (PyErr_Occurred()) SWIG_fail
;
37718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37750 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37751 PyObject
*resultobj
= 0;
37752 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37753 wxString
*arg2
= 0 ;
37757 bool temp2
= false ;
37758 PyObject
* obj0
= 0 ;
37759 PyObject
* obj1
= 0 ;
37760 char * kwnames
[] = {
37761 (char *) "self",(char *) "path", NULL
37764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37766 if (!SWIG_IsOK(res1
)) {
37767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37769 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37771 arg2
= wxString_in_helper(obj1
);
37772 if (arg2
== NULL
) SWIG_fail
;
37776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37777 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37778 wxPyEndAllowThreads(__tstate
);
37779 if (PyErr_Occurred()) SWIG_fail
;
37782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37798 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37799 PyObject
*resultobj
= 0;
37800 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37801 wxString
*arg2
= 0 ;
37805 bool temp2
= false ;
37806 PyObject
* obj0
= 0 ;
37807 PyObject
* obj1
= 0 ;
37808 char * kwnames
[] = {
37809 (char *) "self",(char *) "path", NULL
37812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37814 if (!SWIG_IsOK(res1
)) {
37815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37817 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37819 arg2
= wxString_in_helper(obj1
);
37820 if (arg2
== NULL
) SWIG_fail
;
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37825 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37826 wxPyEndAllowThreads(__tstate
);
37827 if (PyErr_Occurred()) SWIG_fail
;
37830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37846 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37847 PyObject
*resultobj
= 0;
37848 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37852 PyObject
*swig_obj
[1] ;
37854 if (!args
) SWIG_fail
;
37855 swig_obj
[0] = args
;
37856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37857 if (!SWIG_IsOK(res1
)) {
37858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37860 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37863 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37864 wxPyEndAllowThreads(__tstate
);
37865 if (PyErr_Occurred()) SWIG_fail
;
37869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37880 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
= 0;
37882 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37883 wxString
*arg2
= 0 ;
37886 bool temp2
= false ;
37887 PyObject
* obj0
= 0 ;
37888 PyObject
* obj1
= 0 ;
37889 char * kwnames
[] = {
37890 (char *) "self",(char *) "path", NULL
37893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37895 if (!SWIG_IsOK(res1
)) {
37896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37898 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37900 arg2
= wxString_in_helper(obj1
);
37901 if (arg2
== NULL
) SWIG_fail
;
37905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37906 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37907 wxPyEndAllowThreads(__tstate
);
37908 if (PyErr_Occurred()) SWIG_fail
;
37910 resultobj
= SWIG_Py_Void();
37925 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37926 PyObject
*resultobj
= 0;
37927 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37931 PyObject
*swig_obj
[1] ;
37933 if (!args
) SWIG_fail
;
37934 swig_obj
[0] = args
;
37935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37936 if (!SWIG_IsOK(res1
)) {
37937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37939 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37942 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37943 wxPyEndAllowThreads(__tstate
);
37944 if (PyErr_Occurred()) SWIG_fail
;
37948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37959 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37960 PyObject
*resultobj
= 0;
37961 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37965 PyObject
*swig_obj
[1] ;
37967 if (!args
) SWIG_fail
;
37968 swig_obj
[0] = args
;
37969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37970 if (!SWIG_IsOK(res1
)) {
37971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37973 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37976 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37993 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37994 PyObject
*resultobj
= 0;
37995 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37996 wxString
*arg2
= 0 ;
37999 bool temp2
= false ;
38000 PyObject
* obj0
= 0 ;
38001 PyObject
* obj1
= 0 ;
38002 char * kwnames
[] = {
38003 (char *) "self",(char *) "path", NULL
38006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38008 if (!SWIG_IsOK(res1
)) {
38009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38011 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38013 arg2
= wxString_in_helper(obj1
);
38014 if (arg2
== NULL
) SWIG_fail
;
38018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38019 (arg1
)->SetPath((wxString
const &)*arg2
);
38020 wxPyEndAllowThreads(__tstate
);
38021 if (PyErr_Occurred()) SWIG_fail
;
38023 resultobj
= SWIG_Py_Void();
38038 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38039 PyObject
*resultobj
= 0;
38040 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38046 PyObject
* obj0
= 0 ;
38047 PyObject
* obj1
= 0 ;
38048 char * kwnames
[] = {
38049 (char *) "self",(char *) "show", NULL
38052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38054 if (!SWIG_IsOK(res1
)) {
38055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38057 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38058 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38059 if (!SWIG_IsOK(ecode2
)) {
38060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38062 arg2
= static_cast< bool >(val2
);
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 (arg1
)->ShowHidden(arg2
);
38066 wxPyEndAllowThreads(__tstate
);
38067 if (PyErr_Occurred()) SWIG_fail
;
38069 resultobj
= SWIG_Py_Void();
38076 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38077 PyObject
*resultobj
= 0;
38078 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38082 PyObject
*swig_obj
[1] ;
38084 if (!args
) SWIG_fail
;
38085 swig_obj
[0] = args
;
38086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38087 if (!SWIG_IsOK(res1
)) {
38088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38090 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38093 result
= (bool)(arg1
)->GetShowHidden();
38094 wxPyEndAllowThreads(__tstate
);
38095 if (PyErr_Occurred()) SWIG_fail
;
38098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38106 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38107 PyObject
*resultobj
= 0;
38108 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38112 PyObject
*swig_obj
[1] ;
38114 if (!args
) SWIG_fail
;
38115 swig_obj
[0] = args
;
38116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38117 if (!SWIG_IsOK(res1
)) {
38118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38120 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38123 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38140 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38141 PyObject
*resultobj
= 0;
38142 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38143 wxString
*arg2
= 0 ;
38146 bool temp2
= false ;
38147 PyObject
* obj0
= 0 ;
38148 PyObject
* obj1
= 0 ;
38149 char * kwnames
[] = {
38150 (char *) "self",(char *) "filter", NULL
38153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38155 if (!SWIG_IsOK(res1
)) {
38156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38158 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38160 arg2
= wxString_in_helper(obj1
);
38161 if (arg2
== NULL
) SWIG_fail
;
38165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38166 (arg1
)->SetFilter((wxString
const &)*arg2
);
38167 wxPyEndAllowThreads(__tstate
);
38168 if (PyErr_Occurred()) SWIG_fail
;
38170 resultobj
= SWIG_Py_Void();
38185 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38186 PyObject
*resultobj
= 0;
38187 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38191 PyObject
*swig_obj
[1] ;
38193 if (!args
) SWIG_fail
;
38194 swig_obj
[0] = args
;
38195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38196 if (!SWIG_IsOK(res1
)) {
38197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38199 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38202 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38206 resultobj
= SWIG_From_int(static_cast< int >(result
));
38213 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38214 PyObject
*resultobj
= 0;
38215 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38221 PyObject
* obj0
= 0 ;
38222 PyObject
* obj1
= 0 ;
38223 char * kwnames
[] = {
38224 (char *) "self",(char *) "n", NULL
38227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38229 if (!SWIG_IsOK(res1
)) {
38230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38232 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38234 if (!SWIG_IsOK(ecode2
)) {
38235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38237 arg2
= static_cast< int >(val2
);
38239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38240 (arg1
)->SetFilterIndex(arg2
);
38241 wxPyEndAllowThreads(__tstate
);
38242 if (PyErr_Occurred()) SWIG_fail
;
38244 resultobj
= SWIG_Py_Void();
38251 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38252 PyObject
*resultobj
= 0;
38253 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38254 wxTreeItemId result
;
38257 PyObject
*swig_obj
[1] ;
38259 if (!args
) SWIG_fail
;
38260 swig_obj
[0] = args
;
38261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38262 if (!SWIG_IsOK(res1
)) {
38263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38265 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38268 result
= (arg1
)->GetRootId();
38269 wxPyEndAllowThreads(__tstate
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38272 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38279 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38280 PyObject
*resultobj
= 0;
38281 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38282 wxPyTreeCtrl
*result
= 0 ;
38285 PyObject
*swig_obj
[1] ;
38287 if (!args
) SWIG_fail
;
38288 swig_obj
[0] = args
;
38289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38290 if (!SWIG_IsOK(res1
)) {
38291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38293 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38296 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38297 wxPyEndAllowThreads(__tstate
);
38298 if (PyErr_Occurred()) SWIG_fail
;
38301 resultobj
= wxPyMake_wxObject(result
, 0);
38309 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38310 PyObject
*resultobj
= 0;
38311 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38312 wxDirFilterListCtrl
*result
= 0 ;
38315 PyObject
*swig_obj
[1] ;
38317 if (!args
) SWIG_fail
;
38318 swig_obj
[0] = args
;
38319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38320 if (!SWIG_IsOK(res1
)) {
38321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38323 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38326 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38327 wxPyEndAllowThreads(__tstate
);
38328 if (PyErr_Occurred()) SWIG_fail
;
38330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38337 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38338 PyObject
*resultobj
= 0;
38339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38340 wxTreeItemId arg2
;
38341 wxString
*arg3
= 0 ;
38343 wxTreeItemId result
;
38348 bool temp3
= false ;
38350 int res4
= SWIG_TMPOBJ
;
38351 PyObject
* obj0
= 0 ;
38352 PyObject
* obj1
= 0 ;
38353 PyObject
* obj2
= 0 ;
38354 char * kwnames
[] = {
38355 (char *) "self",(char *) "parentId",(char *) "path", NULL
38359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38361 if (!SWIG_IsOK(res1
)) {
38362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38364 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38367 if (!SWIG_IsOK(res2
)) {
38368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38373 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38375 if (SWIG_IsNewObj(res2
)) delete temp
;
38379 arg3
= wxString_in_helper(obj2
);
38380 if (arg3
== NULL
) SWIG_fail
;
38384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38385 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38389 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38390 if (SWIG_IsTmpObj(res4
)) {
38391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38393 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38410 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38411 PyObject
*resultobj
= 0;
38412 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38415 PyObject
*swig_obj
[1] ;
38417 if (!args
) SWIG_fail
;
38418 swig_obj
[0] = args
;
38419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38420 if (!SWIG_IsOK(res1
)) {
38421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38423 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38426 (arg1
)->DoResize();
38427 wxPyEndAllowThreads(__tstate
);
38428 if (PyErr_Occurred()) SWIG_fail
;
38430 resultobj
= SWIG_Py_Void();
38437 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38438 PyObject
*resultobj
= 0;
38439 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38442 PyObject
*swig_obj
[1] ;
38444 if (!args
) SWIG_fail
;
38445 swig_obj
[0] = args
;
38446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38447 if (!SWIG_IsOK(res1
)) {
38448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38450 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 (arg1
)->ReCreateTree();
38454 wxPyEndAllowThreads(__tstate
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38457 resultobj
= SWIG_Py_Void();
38464 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38467 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38468 return SWIG_Py_Void();
38471 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38472 return SWIG_Python_InitShadowInstance(args
);
38475 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38476 PyObject
*resultobj
= 0;
38477 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38478 int arg2
= (int) (int)-1 ;
38479 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38480 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38481 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38482 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38483 long arg5
= (long) 0 ;
38484 wxDirFilterListCtrl
*result
= 0 ;
38493 PyObject
* obj0
= 0 ;
38494 PyObject
* obj1
= 0 ;
38495 PyObject
* obj2
= 0 ;
38496 PyObject
* obj3
= 0 ;
38497 PyObject
* obj4
= 0 ;
38498 char * kwnames
[] = {
38499 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38504 if (!SWIG_IsOK(res1
)) {
38505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38507 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38510 if (!SWIG_IsOK(ecode2
)) {
38511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38513 arg2
= static_cast< int >(val2
);
38518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38524 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38528 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38529 if (!SWIG_IsOK(ecode5
)) {
38530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38532 arg5
= static_cast< long >(val5
);
38535 if (!wxPyCheckForApp()) SWIG_fail
;
38536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38537 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38538 wxPyEndAllowThreads(__tstate
);
38539 if (PyErr_Occurred()) SWIG_fail
;
38541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38548 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38549 PyObject
*resultobj
= 0;
38550 wxDirFilterListCtrl
*result
= 0 ;
38552 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38554 if (!wxPyCheckForApp()) SWIG_fail
;
38555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38556 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38557 wxPyEndAllowThreads(__tstate
);
38558 if (PyErr_Occurred()) SWIG_fail
;
38560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38567 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38568 PyObject
*resultobj
= 0;
38569 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38570 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38571 int arg3
= (int) (int)-1 ;
38572 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38573 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38574 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38575 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38576 long arg6
= (long) 0 ;
38588 PyObject
* obj0
= 0 ;
38589 PyObject
* obj1
= 0 ;
38590 PyObject
* obj2
= 0 ;
38591 PyObject
* obj3
= 0 ;
38592 PyObject
* obj4
= 0 ;
38593 PyObject
* obj5
= 0 ;
38594 char * kwnames
[] = {
38595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38600 if (!SWIG_IsOK(res1
)) {
38601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38603 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38605 if (!SWIG_IsOK(res2
)) {
38606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38608 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38611 if (!SWIG_IsOK(ecode3
)) {
38612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38614 arg3
= static_cast< int >(val3
);
38619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38629 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38630 if (!SWIG_IsOK(ecode6
)) {
38631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38633 arg6
= static_cast< long >(val6
);
38636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38650 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38651 PyObject
*resultobj
= 0;
38652 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38653 wxString
*arg2
= 0 ;
38657 bool temp2
= false ;
38660 PyObject
* obj0
= 0 ;
38661 PyObject
* obj1
= 0 ;
38662 PyObject
* obj2
= 0 ;
38663 char * kwnames
[] = {
38664 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38669 if (!SWIG_IsOK(res1
)) {
38670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38672 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38674 arg2
= wxString_in_helper(obj1
);
38675 if (arg2
== NULL
) SWIG_fail
;
38678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38679 if (!SWIG_IsOK(ecode3
)) {
38680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38682 arg3
= static_cast< int >(val3
);
38684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38685 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38686 wxPyEndAllowThreads(__tstate
);
38687 if (PyErr_Occurred()) SWIG_fail
;
38689 resultobj
= SWIG_Py_Void();
38704 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38707 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38708 return SWIG_Py_Void();
38711 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38712 return SWIG_Python_InitShadowInstance(args
);
38715 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38716 PyObject
*resultobj
= 0;
38717 wxWindow
*arg1
= (wxWindow
*) 0 ;
38718 int arg2
= (int) (int)-1 ;
38719 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38720 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38721 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38722 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38723 long arg5
= (long) 0 ;
38724 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38725 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38726 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38727 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38728 wxPyControl
*result
= 0 ;
38739 bool temp7
= false ;
38740 PyObject
* obj0
= 0 ;
38741 PyObject
* obj1
= 0 ;
38742 PyObject
* obj2
= 0 ;
38743 PyObject
* obj3
= 0 ;
38744 PyObject
* obj4
= 0 ;
38745 PyObject
* obj5
= 0 ;
38746 PyObject
* obj6
= 0 ;
38747 char * kwnames
[] = {
38748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38753 if (!SWIG_IsOK(res1
)) {
38754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38759 if (!SWIG_IsOK(ecode2
)) {
38760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38762 arg2
= static_cast< int >(val2
);
38767 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38773 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38777 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38778 if (!SWIG_IsOK(ecode5
)) {
38779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38781 arg5
= static_cast< long >(val5
);
38784 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38785 if (!SWIG_IsOK(res6
)) {
38786 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38791 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38795 arg7
= wxString_in_helper(obj6
);
38796 if (arg7
== NULL
) SWIG_fail
;
38801 if (!wxPyCheckForApp()) SWIG_fail
;
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38804 wxPyEndAllowThreads(__tstate
);
38805 if (PyErr_Occurred()) SWIG_fail
;
38807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38822 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38823 PyObject
*resultobj
= 0;
38824 wxPyControl
*result
= 0 ;
38826 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38828 if (!wxPyCheckForApp()) SWIG_fail
;
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 result
= (wxPyControl
*)new wxPyControl();
38831 wxPyEndAllowThreads(__tstate
);
38832 if (PyErr_Occurred()) SWIG_fail
;
38834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38841 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38842 PyObject
*resultobj
= 0;
38843 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38844 PyObject
*arg2
= (PyObject
*) 0 ;
38845 PyObject
*arg3
= (PyObject
*) 0 ;
38848 PyObject
* obj0
= 0 ;
38849 PyObject
* obj1
= 0 ;
38850 PyObject
* obj2
= 0 ;
38851 char * kwnames
[] = {
38852 (char *) "self",(char *) "self",(char *) "_class", NULL
38855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38857 if (!SWIG_IsOK(res1
)) {
38858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38860 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38865 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38866 wxPyEndAllowThreads(__tstate
);
38867 if (PyErr_Occurred()) SWIG_fail
;
38869 resultobj
= SWIG_Py_Void();
38876 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38877 PyObject
*resultobj
= 0;
38878 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38883 PyObject
* obj0
= 0 ;
38884 PyObject
* obj1
= 0 ;
38885 char * kwnames
[] = {
38886 (char *) "self",(char *) "size", NULL
38889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38891 if (!SWIG_IsOK(res1
)) {
38892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38894 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38897 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38901 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38902 wxPyEndAllowThreads(__tstate
);
38903 if (PyErr_Occurred()) SWIG_fail
;
38905 resultobj
= SWIG_Py_Void();
38912 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38913 PyObject
*resultobj
= 0;
38914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38915 wxDC
*arg2
= (wxDC
*) 0 ;
38921 PyObject
* obj0
= 0 ;
38922 PyObject
* obj1
= 0 ;
38923 char * kwnames
[] = {
38924 (char *) "self",(char *) "dc", NULL
38927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38929 if (!SWIG_IsOK(res1
)) {
38930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38932 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38934 if (!SWIG_IsOK(res2
)) {
38935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38937 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38940 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38941 wxPyEndAllowThreads(__tstate
);
38942 if (PyErr_Occurred()) SWIG_fail
;
38945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38953 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38954 PyObject
*resultobj
= 0;
38955 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38970 PyObject
* obj0
= 0 ;
38971 PyObject
* obj1
= 0 ;
38972 PyObject
* obj2
= 0 ;
38973 PyObject
* obj3
= 0 ;
38974 PyObject
* obj4
= 0 ;
38975 char * kwnames
[] = {
38976 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38981 if (!SWIG_IsOK(res1
)) {
38982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38984 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38986 if (!SWIG_IsOK(ecode2
)) {
38987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38989 arg2
= static_cast< int >(val2
);
38990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38991 if (!SWIG_IsOK(ecode3
)) {
38992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38994 arg3
= static_cast< int >(val3
);
38995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38996 if (!SWIG_IsOK(ecode4
)) {
38997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38999 arg4
= static_cast< int >(val4
);
39000 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39001 if (!SWIG_IsOK(ecode5
)) {
39002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39004 arg5
= static_cast< int >(val5
);
39006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39007 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39008 wxPyEndAllowThreads(__tstate
);
39009 if (PyErr_Occurred()) SWIG_fail
;
39011 resultobj
= SWIG_Py_Void();
39018 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39019 PyObject
*resultobj
= 0;
39020 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39025 int arg6
= (int) wxSIZE_AUTO
;
39038 PyObject
* obj0
= 0 ;
39039 PyObject
* obj1
= 0 ;
39040 PyObject
* obj2
= 0 ;
39041 PyObject
* obj3
= 0 ;
39042 PyObject
* obj4
= 0 ;
39043 PyObject
* obj5
= 0 ;
39044 char * kwnames
[] = {
39045 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39050 if (!SWIG_IsOK(res1
)) {
39051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39053 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39055 if (!SWIG_IsOK(ecode2
)) {
39056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39058 arg2
= static_cast< int >(val2
);
39059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39060 if (!SWIG_IsOK(ecode3
)) {
39061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39063 arg3
= static_cast< int >(val3
);
39064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39065 if (!SWIG_IsOK(ecode4
)) {
39066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39068 arg4
= static_cast< int >(val4
);
39069 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39070 if (!SWIG_IsOK(ecode5
)) {
39071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39073 arg5
= static_cast< int >(val5
);
39075 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39076 if (!SWIG_IsOK(ecode6
)) {
39077 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39079 arg6
= static_cast< int >(val6
);
39082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39083 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39084 wxPyEndAllowThreads(__tstate
);
39085 if (PyErr_Occurred()) SWIG_fail
;
39087 resultobj
= SWIG_Py_Void();
39094 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39095 PyObject
*resultobj
= 0;
39096 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39105 PyObject
* obj0
= 0 ;
39106 PyObject
* obj1
= 0 ;
39107 PyObject
* obj2
= 0 ;
39108 char * kwnames
[] = {
39109 (char *) "self",(char *) "width",(char *) "height", NULL
39112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39114 if (!SWIG_IsOK(res1
)) {
39115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39117 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39119 if (!SWIG_IsOK(ecode2
)) {
39120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39122 arg2
= static_cast< int >(val2
);
39123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39124 if (!SWIG_IsOK(ecode3
)) {
39125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39127 arg3
= static_cast< int >(val3
);
39129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39130 (arg1
)->DoSetClientSize(arg2
,arg3
);
39131 wxPyEndAllowThreads(__tstate
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39134 resultobj
= SWIG_Py_Void();
39141 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39142 PyObject
*resultobj
= 0;
39143 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39152 PyObject
* obj0
= 0 ;
39153 PyObject
* obj1
= 0 ;
39154 PyObject
* obj2
= 0 ;
39155 char * kwnames
[] = {
39156 (char *) "self",(char *) "x",(char *) "y", NULL
39159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39161 if (!SWIG_IsOK(res1
)) {
39162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39164 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39166 if (!SWIG_IsOK(ecode2
)) {
39167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39169 arg2
= static_cast< int >(val2
);
39170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39171 if (!SWIG_IsOK(ecode3
)) {
39172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39174 arg3
= static_cast< int >(val3
);
39176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39177 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39178 wxPyEndAllowThreads(__tstate
);
39179 if (PyErr_Occurred()) SWIG_fail
;
39181 resultobj
= SWIG_Py_Void();
39188 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39189 PyObject
*resultobj
= 0;
39190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39191 int *arg2
= (int *) 0 ;
39192 int *arg3
= (int *) 0 ;
39196 int res2
= SWIG_TMPOBJ
;
39198 int res3
= SWIG_TMPOBJ
;
39199 PyObject
*swig_obj
[1] ;
39203 if (!args
) SWIG_fail
;
39204 swig_obj
[0] = args
;
39205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39206 if (!SWIG_IsOK(res1
)) {
39207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39209 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39212 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39213 wxPyEndAllowThreads(__tstate
);
39214 if (PyErr_Occurred()) SWIG_fail
;
39216 resultobj
= SWIG_Py_Void();
39217 if (SWIG_IsTmpObj(res2
)) {
39218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39220 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39223 if (SWIG_IsTmpObj(res3
)) {
39224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39235 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39236 PyObject
*resultobj
= 0;
39237 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39238 int *arg2
= (int *) 0 ;
39239 int *arg3
= (int *) 0 ;
39243 int res2
= SWIG_TMPOBJ
;
39245 int res3
= SWIG_TMPOBJ
;
39246 PyObject
*swig_obj
[1] ;
39250 if (!args
) SWIG_fail
;
39251 swig_obj
[0] = args
;
39252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39253 if (!SWIG_IsOK(res1
)) {
39254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39256 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39259 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39260 wxPyEndAllowThreads(__tstate
);
39261 if (PyErr_Occurred()) SWIG_fail
;
39263 resultobj
= SWIG_Py_Void();
39264 if (SWIG_IsTmpObj(res2
)) {
39265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39267 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39270 if (SWIG_IsTmpObj(res3
)) {
39271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39273 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39282 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39283 PyObject
*resultobj
= 0;
39284 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39285 int *arg2
= (int *) 0 ;
39286 int *arg3
= (int *) 0 ;
39290 int res2
= SWIG_TMPOBJ
;
39292 int res3
= SWIG_TMPOBJ
;
39293 PyObject
*swig_obj
[1] ;
39297 if (!args
) SWIG_fail
;
39298 swig_obj
[0] = args
;
39299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39300 if (!SWIG_IsOK(res1
)) {
39301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39303 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39306 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39307 wxPyEndAllowThreads(__tstate
);
39308 if (PyErr_Occurred()) SWIG_fail
;
39310 resultobj
= SWIG_Py_Void();
39311 if (SWIG_IsTmpObj(res2
)) {
39312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39314 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39317 if (SWIG_IsTmpObj(res3
)) {
39318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39320 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39329 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39330 PyObject
*resultobj
= 0;
39331 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39335 PyObject
*swig_obj
[1] ;
39337 if (!args
) SWIG_fail
;
39338 swig_obj
[0] = args
;
39339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39340 if (!SWIG_IsOK(res1
)) {
39341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39343 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39346 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39347 wxPyEndAllowThreads(__tstate
);
39348 if (PyErr_Occurred()) SWIG_fail
;
39350 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39357 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39358 PyObject
*resultobj
= 0;
39359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39363 PyObject
*swig_obj
[1] ;
39365 if (!args
) SWIG_fail
;
39366 swig_obj
[0] = args
;
39367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39368 if (!SWIG_IsOK(res1
)) {
39369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39371 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39374 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39375 wxPyEndAllowThreads(__tstate
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39378 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39385 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39386 PyObject
*resultobj
= 0;
39387 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39388 SwigValueWrapper
<wxVisualAttributes
> result
;
39391 PyObject
*swig_obj
[1] ;
39393 if (!args
) SWIG_fail
;
39394 swig_obj
[0] = args
;
39395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39396 if (!SWIG_IsOK(res1
)) {
39397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39399 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39402 result
= (arg1
)->GetDefaultAttributes();
39403 wxPyEndAllowThreads(__tstate
);
39404 if (PyErr_Occurred()) SWIG_fail
;
39406 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39413 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39414 PyObject
*resultobj
= 0;
39415 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39418 PyObject
*swig_obj
[1] ;
39420 if (!args
) SWIG_fail
;
39421 swig_obj
[0] = args
;
39422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39423 if (!SWIG_IsOK(res1
)) {
39424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39426 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39429 (arg1
)->OnInternalIdle();
39430 wxPyEndAllowThreads(__tstate
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39433 resultobj
= SWIG_Py_Void();
39440 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39443 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39444 return SWIG_Py_Void();
39447 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39448 return SWIG_Python_InitShadowInstance(args
);
39451 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39452 PyObject
*resultobj
= 0;
39453 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39454 int arg2
= (int) 0 ;
39455 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39456 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39457 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39458 wxHelpEvent
*result
= 0 ;
39466 PyObject
* obj0
= 0 ;
39467 PyObject
* obj1
= 0 ;
39468 PyObject
* obj2
= 0 ;
39469 PyObject
* obj3
= 0 ;
39470 char * kwnames
[] = {
39471 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39477 if (!SWIG_IsOK(ecode1
)) {
39478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39480 arg1
= static_cast< wxEventType
>(val1
);
39483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39484 if (!SWIG_IsOK(ecode2
)) {
39485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39487 arg2
= static_cast< int >(val2
);
39492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39497 if (!SWIG_IsOK(ecode4
)) {
39498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39500 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39505 wxPyEndAllowThreads(__tstate
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39515 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39516 PyObject
*resultobj
= 0;
39517 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39521 PyObject
*swig_obj
[1] ;
39523 if (!args
) SWIG_fail
;
39524 swig_obj
[0] = args
;
39525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39526 if (!SWIG_IsOK(res1
)) {
39527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39529 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39532 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39533 wxPyEndAllowThreads(__tstate
);
39534 if (PyErr_Occurred()) SWIG_fail
;
39536 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39543 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39544 PyObject
*resultobj
= 0;
39545 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39546 wxPoint
*arg2
= 0 ;
39550 PyObject
* obj0
= 0 ;
39551 PyObject
* obj1
= 0 ;
39552 char * kwnames
[] = {
39553 (char *) "self",(char *) "pos", NULL
39556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39558 if (!SWIG_IsOK(res1
)) {
39559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39561 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39568 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39569 wxPyEndAllowThreads(__tstate
);
39570 if (PyErr_Occurred()) SWIG_fail
;
39572 resultobj
= SWIG_Py_Void();
39579 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39580 PyObject
*resultobj
= 0;
39581 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39582 wxString
*result
= 0 ;
39585 PyObject
*swig_obj
[1] ;
39587 if (!args
) SWIG_fail
;
39588 swig_obj
[0] = args
;
39589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39590 if (!SWIG_IsOK(res1
)) {
39591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39593 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39597 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39598 result
= (wxString
*) &_result_ref
;
39600 wxPyEndAllowThreads(__tstate
);
39601 if (PyErr_Occurred()) SWIG_fail
;
39605 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39607 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39616 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39617 PyObject
*resultobj
= 0;
39618 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39619 wxString
*arg2
= 0 ;
39622 bool temp2
= false ;
39623 PyObject
* obj0
= 0 ;
39624 PyObject
* obj1
= 0 ;
39625 char * kwnames
[] = {
39626 (char *) "self",(char *) "link", NULL
39629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39631 if (!SWIG_IsOK(res1
)) {
39632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39634 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39636 arg2
= wxString_in_helper(obj1
);
39637 if (arg2
== NULL
) SWIG_fail
;
39641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39642 (arg1
)->SetLink((wxString
const &)*arg2
);
39643 wxPyEndAllowThreads(__tstate
);
39644 if (PyErr_Occurred()) SWIG_fail
;
39646 resultobj
= SWIG_Py_Void();
39661 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39662 PyObject
*resultobj
= 0;
39663 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39664 wxString
*result
= 0 ;
39667 PyObject
*swig_obj
[1] ;
39669 if (!args
) SWIG_fail
;
39670 swig_obj
[0] = args
;
39671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39672 if (!SWIG_IsOK(res1
)) {
39673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39675 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39679 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39680 result
= (wxString
*) &_result_ref
;
39682 wxPyEndAllowThreads(__tstate
);
39683 if (PyErr_Occurred()) SWIG_fail
;
39687 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39689 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39698 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39699 PyObject
*resultobj
= 0;
39700 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39701 wxString
*arg2
= 0 ;
39704 bool temp2
= false ;
39705 PyObject
* obj0
= 0 ;
39706 PyObject
* obj1
= 0 ;
39707 char * kwnames
[] = {
39708 (char *) "self",(char *) "target", NULL
39711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39713 if (!SWIG_IsOK(res1
)) {
39714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39716 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39718 arg2
= wxString_in_helper(obj1
);
39719 if (arg2
== NULL
) SWIG_fail
;
39723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39724 (arg1
)->SetTarget((wxString
const &)*arg2
);
39725 wxPyEndAllowThreads(__tstate
);
39726 if (PyErr_Occurred()) SWIG_fail
;
39728 resultobj
= SWIG_Py_Void();
39743 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39744 PyObject
*resultobj
= 0;
39745 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39746 wxHelpEvent::Origin result
;
39749 PyObject
*swig_obj
[1] ;
39751 if (!args
) SWIG_fail
;
39752 swig_obj
[0] = args
;
39753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39754 if (!SWIG_IsOK(res1
)) {
39755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39757 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39760 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39761 wxPyEndAllowThreads(__tstate
);
39762 if (PyErr_Occurred()) SWIG_fail
;
39764 resultobj
= SWIG_From_int(static_cast< int >(result
));
39771 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39772 PyObject
*resultobj
= 0;
39773 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39774 wxHelpEvent::Origin arg2
;
39779 PyObject
* obj0
= 0 ;
39780 PyObject
* obj1
= 0 ;
39781 char * kwnames
[] = {
39782 (char *) "self",(char *) "origin", NULL
39785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39787 if (!SWIG_IsOK(res1
)) {
39788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39790 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39792 if (!SWIG_IsOK(ecode2
)) {
39793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39795 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39798 (arg1
)->SetOrigin(arg2
);
39799 wxPyEndAllowThreads(__tstate
);
39800 if (PyErr_Occurred()) SWIG_fail
;
39802 resultobj
= SWIG_Py_Void();
39809 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39812 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39813 return SWIG_Py_Void();
39816 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39817 return SWIG_Python_InitShadowInstance(args
);
39820 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39821 PyObject
*resultobj
= 0;
39822 wxWindow
*arg1
= (wxWindow
*) NULL
;
39823 bool arg2
= (bool) true ;
39824 wxContextHelp
*result
= 0 ;
39829 PyObject
* obj0
= 0 ;
39830 PyObject
* obj1
= 0 ;
39831 char * kwnames
[] = {
39832 (char *) "window",(char *) "doNow", NULL
39835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39838 if (!SWIG_IsOK(res1
)) {
39839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39844 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39845 if (!SWIG_IsOK(ecode2
)) {
39846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39848 arg2
= static_cast< bool >(val2
);
39851 if (!wxPyCheckForApp()) SWIG_fail
;
39852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39853 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39854 wxPyEndAllowThreads(__tstate
);
39855 if (PyErr_Occurred()) SWIG_fail
;
39857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39864 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39865 PyObject
*resultobj
= 0;
39866 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39869 PyObject
*swig_obj
[1] ;
39871 if (!args
) SWIG_fail
;
39872 swig_obj
[0] = args
;
39873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39874 if (!SWIG_IsOK(res1
)) {
39875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39877 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39882 wxPyEndAllowThreads(__tstate
);
39883 if (PyErr_Occurred()) SWIG_fail
;
39885 resultobj
= SWIG_Py_Void();
39892 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39893 PyObject
*resultobj
= 0;
39894 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39895 wxWindow
*arg2
= (wxWindow
*) NULL
;
39901 PyObject
* obj0
= 0 ;
39902 PyObject
* obj1
= 0 ;
39903 char * kwnames
[] = {
39904 (char *) "self",(char *) "window", NULL
39907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39909 if (!SWIG_IsOK(res1
)) {
39910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39912 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39915 if (!SWIG_IsOK(res2
)) {
39916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39918 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39922 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39923 wxPyEndAllowThreads(__tstate
);
39924 if (PyErr_Occurred()) SWIG_fail
;
39927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39935 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39936 PyObject
*resultobj
= 0;
39937 wxContextHelp
*arg1
= (wxContextHelp
*) 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_wxContextHelp
, 0 | 0 );
39946 if (!SWIG_IsOK(res1
)) {
39947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39949 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39952 result
= (bool)(arg1
)->EndContextHelp();
39953 wxPyEndAllowThreads(__tstate
);
39954 if (PyErr_Occurred()) SWIG_fail
;
39957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39965 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39968 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39969 return SWIG_Py_Void();
39972 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39973 return SWIG_Python_InitShadowInstance(args
);
39976 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39977 PyObject
*resultobj
= 0;
39978 wxWindow
*arg1
= (wxWindow
*) 0 ;
39979 int arg2
= (int) wxID_CONTEXT_HELP
;
39980 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39981 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39982 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39983 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39984 long arg5
= (long) wxBU_AUTODRAW
;
39985 wxContextHelpButton
*result
= 0 ;
39994 PyObject
* obj0
= 0 ;
39995 PyObject
* obj1
= 0 ;
39996 PyObject
* obj2
= 0 ;
39997 PyObject
* obj3
= 0 ;
39998 PyObject
* obj4
= 0 ;
39999 char * kwnames
[] = {
40000 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40005 if (!SWIG_IsOK(res1
)) {
40006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40008 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40011 if (!SWIG_IsOK(ecode2
)) {
40012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40014 arg2
= static_cast< int >(val2
);
40019 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40025 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40029 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40030 if (!SWIG_IsOK(ecode5
)) {
40031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40033 arg5
= static_cast< long >(val5
);
40036 if (!wxPyCheckForApp()) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40039 wxPyEndAllowThreads(__tstate
);
40040 if (PyErr_Occurred()) SWIG_fail
;
40042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40049 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40052 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40053 return SWIG_Py_Void();
40056 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40057 return SWIG_Python_InitShadowInstance(args
);
40060 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40061 PyObject
*resultobj
= 0;
40062 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40065 PyObject
*swig_obj
[1] ;
40067 if (!args
) SWIG_fail
;
40068 swig_obj
[0] = args
;
40069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40070 if (!SWIG_IsOK(res1
)) {
40071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40073 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40078 wxPyEndAllowThreads(__tstate
);
40079 if (PyErr_Occurred()) SWIG_fail
;
40081 resultobj
= SWIG_Py_Void();
40088 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40089 PyObject
*resultobj
= 0;
40090 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40091 wxHelpProvider
*result
= 0 ;
40093 PyObject
* obj0
= 0 ;
40094 char * kwnames
[] = {
40095 (char *) "helpProvider", NULL
40098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40099 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40100 if (!SWIG_IsOK(res1
)) {
40101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40105 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40106 wxPyEndAllowThreads(__tstate
);
40107 if (PyErr_Occurred()) SWIG_fail
;
40109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40116 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40117 PyObject
*resultobj
= 0;
40118 wxHelpProvider
*result
= 0 ;
40120 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40123 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40124 wxPyEndAllowThreads(__tstate
);
40125 if (PyErr_Occurred()) SWIG_fail
;
40127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40134 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40135 PyObject
*resultobj
= 0;
40136 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40137 wxWindow
*arg2
= (wxWindow
*) 0 ;
40143 PyObject
* obj0
= 0 ;
40144 PyObject
* obj1
= 0 ;
40145 char * kwnames
[] = {
40146 (char *) "self",(char *) "window", NULL
40149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40151 if (!SWIG_IsOK(res1
)) {
40152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40154 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40156 if (!SWIG_IsOK(res2
)) {
40157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40162 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40163 wxPyEndAllowThreads(__tstate
);
40164 if (PyErr_Occurred()) SWIG_fail
;
40168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40179 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
= 0;
40181 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40182 wxWindow
*arg2
= (wxWindow
*) 0 ;
40188 PyObject
* obj0
= 0 ;
40189 PyObject
* obj1
= 0 ;
40190 char * kwnames
[] = {
40191 (char *) "self",(char *) "window", NULL
40194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40196 if (!SWIG_IsOK(res1
)) {
40197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40199 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40201 if (!SWIG_IsOK(res2
)) {
40202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40204 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40207 result
= (bool)(arg1
)->ShowHelp(arg2
);
40208 wxPyEndAllowThreads(__tstate
);
40209 if (PyErr_Occurred()) SWIG_fail
;
40212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40220 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40221 PyObject
*resultobj
= 0;
40222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40223 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40224 wxPoint
*arg3
= 0 ;
40225 wxHelpEvent::Origin arg4
;
40234 PyObject
* obj0
= 0 ;
40235 PyObject
* obj1
= 0 ;
40236 PyObject
* obj2
= 0 ;
40237 PyObject
* obj3
= 0 ;
40238 char * kwnames
[] = {
40239 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40244 if (!SWIG_IsOK(res1
)) {
40245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40247 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40249 if (!SWIG_IsOK(res2
)) {
40250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40252 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40255 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40258 if (!SWIG_IsOK(ecode4
)) {
40259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40261 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40264 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40265 wxPyEndAllowThreads(__tstate
);
40266 if (PyErr_Occurred()) SWIG_fail
;
40269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40277 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40278 PyObject
*resultobj
= 0;
40279 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40280 wxWindow
*arg2
= (wxWindow
*) 0 ;
40281 wxString
*arg3
= 0 ;
40286 bool temp3
= false ;
40287 PyObject
* obj0
= 0 ;
40288 PyObject
* obj1
= 0 ;
40289 PyObject
* obj2
= 0 ;
40290 char * kwnames
[] = {
40291 (char *) "self",(char *) "window",(char *) "text", NULL
40294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40296 if (!SWIG_IsOK(res1
)) {
40297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40299 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40301 if (!SWIG_IsOK(res2
)) {
40302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40306 arg3
= wxString_in_helper(obj2
);
40307 if (arg3
== NULL
) SWIG_fail
;
40311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40312 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40313 wxPyEndAllowThreads(__tstate
);
40314 if (PyErr_Occurred()) SWIG_fail
;
40316 resultobj
= SWIG_Py_Void();
40331 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40332 PyObject
*resultobj
= 0;
40333 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40335 wxString
*arg3
= 0 ;
40340 bool temp3
= false ;
40341 PyObject
* obj0
= 0 ;
40342 PyObject
* obj1
= 0 ;
40343 PyObject
* obj2
= 0 ;
40344 char * kwnames
[] = {
40345 (char *) "self",(char *) "id",(char *) "text", NULL
40348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40350 if (!SWIG_IsOK(res1
)) {
40351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40353 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40355 if (!SWIG_IsOK(ecode2
)) {
40356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40358 arg2
= static_cast< int >(val2
);
40360 arg3
= wxString_in_helper(obj2
);
40361 if (arg3
== NULL
) SWIG_fail
;
40365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40366 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40367 wxPyEndAllowThreads(__tstate
);
40368 if (PyErr_Occurred()) SWIG_fail
;
40370 resultobj
= SWIG_Py_Void();
40385 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40386 PyObject
*resultobj
= 0;
40387 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40388 wxWindow
*arg2
= (wxWindow
*) 0 ;
40393 PyObject
* obj0
= 0 ;
40394 PyObject
* obj1
= 0 ;
40395 char * kwnames
[] = {
40396 (char *) "self",(char *) "window", NULL
40399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40401 if (!SWIG_IsOK(res1
)) {
40402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40404 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40406 if (!SWIG_IsOK(res2
)) {
40407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40409 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40412 (arg1
)->RemoveHelp(arg2
);
40413 wxPyEndAllowThreads(__tstate
);
40414 if (PyErr_Occurred()) SWIG_fail
;
40416 resultobj
= SWIG_Py_Void();
40423 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40424 PyObject
*resultobj
= 0;
40425 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40428 PyObject
*swig_obj
[1] ;
40430 if (!args
) SWIG_fail
;
40431 swig_obj
[0] = args
;
40432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40433 if (!SWIG_IsOK(res1
)) {
40434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40436 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40439 wxHelpProvider_Destroy(arg1
);
40440 wxPyEndAllowThreads(__tstate
);
40441 if (PyErr_Occurred()) SWIG_fail
;
40443 resultobj
= SWIG_Py_Void();
40450 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40453 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40454 return SWIG_Py_Void();
40457 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40458 PyObject
*resultobj
= 0;
40459 wxSimpleHelpProvider
*result
= 0 ;
40461 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40464 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40465 wxPyEndAllowThreads(__tstate
);
40466 if (PyErr_Occurred()) SWIG_fail
;
40468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40475 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40478 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40479 return SWIG_Py_Void();
40482 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40483 return SWIG_Python_InitShadowInstance(args
);
40486 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40487 PyObject
*resultobj
= 0;
40488 wxBitmap
*arg1
= 0 ;
40489 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40490 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40491 wxGenericDragImage
*result
= 0 ;
40496 PyObject
* obj0
= 0 ;
40497 PyObject
* obj1
= 0 ;
40498 char * kwnames
[] = {
40499 (char *) "image",(char *) "cursor", NULL
40502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40503 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40504 if (!SWIG_IsOK(res1
)) {
40505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40510 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40513 if (!SWIG_IsOK(res2
)) {
40514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40519 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40522 if (!wxPyCheckForApp()) SWIG_fail
;
40523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40524 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40525 wxPyEndAllowThreads(__tstate
);
40526 if (PyErr_Occurred()) SWIG_fail
;
40528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40535 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40536 PyObject
*resultobj
= 0;
40538 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40539 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40540 wxGenericDragImage
*result
= 0 ;
40545 PyObject
* obj0
= 0 ;
40546 PyObject
* obj1
= 0 ;
40547 char * kwnames
[] = {
40548 (char *) "image",(char *) "cursor", NULL
40551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40552 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40553 if (!SWIG_IsOK(res1
)) {
40554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40559 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40562 if (!SWIG_IsOK(res2
)) {
40563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40568 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40571 if (!wxPyCheckForApp()) SWIG_fail
;
40572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40573 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40574 wxPyEndAllowThreads(__tstate
);
40575 if (PyErr_Occurred()) SWIG_fail
;
40577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40584 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40585 PyObject
*resultobj
= 0;
40586 wxString
*arg1
= 0 ;
40587 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40588 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40589 wxGenericDragImage
*result
= 0 ;
40590 bool temp1
= false ;
40593 PyObject
* obj0
= 0 ;
40594 PyObject
* obj1
= 0 ;
40595 char * kwnames
[] = {
40596 (char *) "str",(char *) "cursor", NULL
40599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40601 arg1
= wxString_in_helper(obj0
);
40602 if (arg1
== NULL
) SWIG_fail
;
40606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40607 if (!SWIG_IsOK(res2
)) {
40608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40613 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40616 if (!wxPyCheckForApp()) SWIG_fail
;
40617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40618 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40619 wxPyEndAllowThreads(__tstate
);
40620 if (PyErr_Occurred()) SWIG_fail
;
40622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40637 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40638 PyObject
*resultobj
= 0;
40639 wxPyTreeCtrl
*arg1
= 0 ;
40640 wxTreeItemId
*arg2
= 0 ;
40641 wxGenericDragImage
*result
= 0 ;
40646 PyObject
* obj0
= 0 ;
40647 PyObject
* obj1
= 0 ;
40648 char * kwnames
[] = {
40649 (char *) "treeCtrl",(char *) "id", NULL
40652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40653 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40654 if (!SWIG_IsOK(res1
)) {
40655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40660 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40662 if (!SWIG_IsOK(res2
)) {
40663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40668 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40670 if (!wxPyCheckForApp()) SWIG_fail
;
40671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40672 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40673 wxPyEndAllowThreads(__tstate
);
40674 if (PyErr_Occurred()) SWIG_fail
;
40676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40683 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40684 PyObject
*resultobj
= 0;
40685 wxPyListCtrl
*arg1
= 0 ;
40687 wxGenericDragImage
*result
= 0 ;
40692 PyObject
* obj0
= 0 ;
40693 PyObject
* obj1
= 0 ;
40694 char * kwnames
[] = {
40695 (char *) "listCtrl",(char *) "id", NULL
40698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40699 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40700 if (!SWIG_IsOK(res1
)) {
40701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40706 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40707 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40708 if (!SWIG_IsOK(ecode2
)) {
40709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40711 arg2
= static_cast< long >(val2
);
40713 if (!wxPyCheckForApp()) SWIG_fail
;
40714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40715 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40716 wxPyEndAllowThreads(__tstate
);
40717 if (PyErr_Occurred()) SWIG_fail
;
40719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40726 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40727 PyObject
*resultobj
= 0;
40728 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40731 PyObject
*swig_obj
[1] ;
40733 if (!args
) SWIG_fail
;
40734 swig_obj
[0] = args
;
40735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40736 if (!SWIG_IsOK(res1
)) {
40737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40739 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40744 wxPyEndAllowThreads(__tstate
);
40745 if (PyErr_Occurred()) SWIG_fail
;
40747 resultobj
= SWIG_Py_Void();
40754 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40755 PyObject
*resultobj
= 0;
40756 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40757 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40762 PyObject
* obj0
= 0 ;
40763 PyObject
* obj1
= 0 ;
40764 char * kwnames
[] = {
40765 (char *) "self",(char *) "bitmap", NULL
40768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40770 if (!SWIG_IsOK(res1
)) {
40771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40773 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40775 if (!SWIG_IsOK(res2
)) {
40776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40778 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40781 (arg1
)->SetBackingBitmap(arg2
);
40782 wxPyEndAllowThreads(__tstate
);
40783 if (PyErr_Occurred()) SWIG_fail
;
40785 resultobj
= SWIG_Py_Void();
40792 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40793 PyObject
*resultobj
= 0;
40794 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40795 wxPoint
*arg2
= 0 ;
40796 wxWindow
*arg3
= (wxWindow
*) 0 ;
40797 bool arg4
= (bool) false ;
40798 wxRect
*arg5
= (wxRect
*) NULL
;
40809 PyObject
* obj0
= 0 ;
40810 PyObject
* obj1
= 0 ;
40811 PyObject
* obj2
= 0 ;
40812 PyObject
* obj3
= 0 ;
40813 PyObject
* obj4
= 0 ;
40814 char * kwnames
[] = {
40815 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40820 if (!SWIG_IsOK(res1
)) {
40821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40823 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40828 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40829 if (!SWIG_IsOK(res3
)) {
40830 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40832 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40834 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40835 if (!SWIG_IsOK(ecode4
)) {
40836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40838 arg4
= static_cast< bool >(val4
);
40841 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40842 if (!SWIG_IsOK(res5
)) {
40843 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40845 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40849 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40850 wxPyEndAllowThreads(__tstate
);
40851 if (PyErr_Occurred()) SWIG_fail
;
40854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40862 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40863 PyObject
*resultobj
= 0;
40864 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40865 wxPoint
*arg2
= 0 ;
40866 wxWindow
*arg3
= (wxWindow
*) 0 ;
40867 wxWindow
*arg4
= (wxWindow
*) 0 ;
40876 PyObject
* obj0
= 0 ;
40877 PyObject
* obj1
= 0 ;
40878 PyObject
* obj2
= 0 ;
40879 PyObject
* obj3
= 0 ;
40880 char * kwnames
[] = {
40881 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40886 if (!SWIG_IsOK(res1
)) {
40887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40889 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40894 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40895 if (!SWIG_IsOK(res3
)) {
40896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40898 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40899 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40900 if (!SWIG_IsOK(res4
)) {
40901 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40903 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40906 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40907 wxPyEndAllowThreads(__tstate
);
40908 if (PyErr_Occurred()) SWIG_fail
;
40911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40919 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40920 PyObject
*resultobj
= 0;
40921 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40925 PyObject
*swig_obj
[1] ;
40927 if (!args
) SWIG_fail
;
40928 swig_obj
[0] = args
;
40929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40930 if (!SWIG_IsOK(res1
)) {
40931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40933 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40936 result
= (bool)(arg1
)->EndDrag();
40937 wxPyEndAllowThreads(__tstate
);
40938 if (PyErr_Occurred()) SWIG_fail
;
40941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40949 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40950 PyObject
*resultobj
= 0;
40951 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40952 wxPoint
*arg2
= 0 ;
40957 PyObject
* obj0
= 0 ;
40958 PyObject
* obj1
= 0 ;
40959 char * kwnames
[] = {
40960 (char *) "self",(char *) "pt", NULL
40963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40965 if (!SWIG_IsOK(res1
)) {
40966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40968 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40975 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40988 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40989 PyObject
*resultobj
= 0;
40990 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40994 PyObject
*swig_obj
[1] ;
40996 if (!args
) SWIG_fail
;
40997 swig_obj
[0] = args
;
40998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40999 if (!SWIG_IsOK(res1
)) {
41000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41002 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41005 result
= (bool)(arg1
)->Show();
41006 wxPyEndAllowThreads(__tstate
);
41007 if (PyErr_Occurred()) SWIG_fail
;
41010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41018 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41019 PyObject
*resultobj
= 0;
41020 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41024 PyObject
*swig_obj
[1] ;
41026 if (!args
) SWIG_fail
;
41027 swig_obj
[0] = args
;
41028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41029 if (!SWIG_IsOK(res1
)) {
41030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41032 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41035 result
= (bool)(arg1
)->Hide();
41036 wxPyEndAllowThreads(__tstate
);
41037 if (PyErr_Occurred()) SWIG_fail
;
41040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41048 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41049 PyObject
*resultobj
= 0;
41050 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41051 wxPoint
*arg2
= 0 ;
41056 PyObject
* obj0
= 0 ;
41057 PyObject
* obj1
= 0 ;
41058 char * kwnames
[] = {
41059 (char *) "self",(char *) "pos", NULL
41062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41064 if (!SWIG_IsOK(res1
)) {
41065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41067 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41074 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41075 wxPyEndAllowThreads(__tstate
);
41076 if (PyErr_Occurred()) SWIG_fail
;
41078 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41085 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41086 PyObject
*resultobj
= 0;
41087 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41089 wxPoint
*arg3
= 0 ;
41096 PyObject
* obj0
= 0 ;
41097 PyObject
* obj1
= 0 ;
41098 PyObject
* obj2
= 0 ;
41099 char * kwnames
[] = {
41100 (char *) "self",(char *) "dc",(char *) "pos", NULL
41103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41105 if (!SWIG_IsOK(res1
)) {
41106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41108 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41110 if (!SWIG_IsOK(res2
)) {
41111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41116 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41123 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41124 wxPyEndAllowThreads(__tstate
);
41125 if (PyErr_Occurred()) SWIG_fail
;
41128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41136 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41137 PyObject
*resultobj
= 0;
41138 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41140 wxMemoryDC
*arg3
= 0 ;
41152 PyObject
* obj0
= 0 ;
41153 PyObject
* obj1
= 0 ;
41154 PyObject
* obj2
= 0 ;
41155 PyObject
* obj3
= 0 ;
41156 PyObject
* obj4
= 0 ;
41157 char * kwnames
[] = {
41158 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41163 if (!SWIG_IsOK(res1
)) {
41164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41166 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41168 if (!SWIG_IsOK(res2
)) {
41169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41174 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41175 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41176 if (!SWIG_IsOK(res3
)) {
41177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41182 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41185 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41189 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41193 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41194 wxPyEndAllowThreads(__tstate
);
41195 if (PyErr_Occurred()) SWIG_fail
;
41198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41206 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41207 PyObject
*resultobj
= 0;
41208 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41209 wxPoint
*arg2
= 0 ;
41210 wxPoint
*arg3
= 0 ;
41222 PyObject
* obj0
= 0 ;
41223 PyObject
* obj1
= 0 ;
41224 PyObject
* obj2
= 0 ;
41225 PyObject
* obj3
= 0 ;
41226 PyObject
* obj4
= 0 ;
41227 char * kwnames
[] = {
41228 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41233 if (!SWIG_IsOK(res1
)) {
41234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41236 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41245 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41246 if (!SWIG_IsOK(ecode4
)) {
41247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41249 arg4
= static_cast< bool >(val4
);
41250 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41251 if (!SWIG_IsOK(ecode5
)) {
41252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41254 arg5
= static_cast< bool >(val5
);
41256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41257 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41258 wxPyEndAllowThreads(__tstate
);
41259 if (PyErr_Occurred()) SWIG_fail
;
41262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41270 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41273 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41274 return SWIG_Py_Void();
41277 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41278 return SWIG_Python_InitShadowInstance(args
);
41281 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41282 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41287 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41288 PyObject
*pyobj
= 0;
41292 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41294 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41301 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41302 PyObject
*resultobj
= 0;
41303 wxWindow
*arg1
= (wxWindow
*) 0 ;
41304 int arg2
= (int) -1 ;
41305 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41306 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41307 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41308 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41309 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41310 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41311 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41312 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41313 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41314 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41315 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41316 wxDatePickerCtrl
*result
= 0 ;
41329 bool temp8
= false ;
41330 PyObject
* obj0
= 0 ;
41331 PyObject
* obj1
= 0 ;
41332 PyObject
* obj2
= 0 ;
41333 PyObject
* obj3
= 0 ;
41334 PyObject
* obj4
= 0 ;
41335 PyObject
* obj5
= 0 ;
41336 PyObject
* obj6
= 0 ;
41337 PyObject
* obj7
= 0 ;
41338 char * kwnames
[] = {
41339 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41344 if (!SWIG_IsOK(res1
)) {
41345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41347 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41350 if (!SWIG_IsOK(ecode2
)) {
41351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41353 arg2
= static_cast< int >(val2
);
41356 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41357 if (!SWIG_IsOK(res3
)) {
41358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41363 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41368 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41374 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41378 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41379 if (!SWIG_IsOK(ecode6
)) {
41380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41382 arg6
= static_cast< long >(val6
);
41385 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41386 if (!SWIG_IsOK(res7
)) {
41387 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41392 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41396 arg8
= wxString_in_helper(obj7
);
41397 if (arg8
== NULL
) SWIG_fail
;
41402 if (!wxPyCheckForApp()) SWIG_fail
;
41403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41404 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41405 wxPyEndAllowThreads(__tstate
);
41406 if (PyErr_Occurred()) SWIG_fail
;
41408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41423 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41424 PyObject
*resultobj
= 0;
41425 wxDatePickerCtrl
*result
= 0 ;
41427 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41429 if (!wxPyCheckForApp()) SWIG_fail
;
41430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41431 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41432 wxPyEndAllowThreads(__tstate
);
41433 if (PyErr_Occurred()) SWIG_fail
;
41435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41442 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41443 PyObject
*resultobj
= 0;
41444 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41445 wxWindow
*arg2
= (wxWindow
*) 0 ;
41446 int arg3
= (int) -1 ;
41447 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41448 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41449 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41450 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41451 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41452 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41453 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41454 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41455 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41456 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41457 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41473 bool temp9
= false ;
41474 PyObject
* obj0
= 0 ;
41475 PyObject
* obj1
= 0 ;
41476 PyObject
* obj2
= 0 ;
41477 PyObject
* obj3
= 0 ;
41478 PyObject
* obj4
= 0 ;
41479 PyObject
* obj5
= 0 ;
41480 PyObject
* obj6
= 0 ;
41481 PyObject
* obj7
= 0 ;
41482 PyObject
* obj8
= 0 ;
41483 char * kwnames
[] = {
41484 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41489 if (!SWIG_IsOK(res1
)) {
41490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41492 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41494 if (!SWIG_IsOK(res2
)) {
41495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41497 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41500 if (!SWIG_IsOK(ecode3
)) {
41501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41503 arg3
= static_cast< int >(val3
);
41506 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41507 if (!SWIG_IsOK(res4
)) {
41508 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41513 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41518 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41524 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41528 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41529 if (!SWIG_IsOK(ecode7
)) {
41530 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41532 arg7
= static_cast< long >(val7
);
41535 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41536 if (!SWIG_IsOK(res8
)) {
41537 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41542 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41546 arg9
= wxString_in_helper(obj8
);
41547 if (arg9
== NULL
) SWIG_fail
;
41552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41553 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41554 wxPyEndAllowThreads(__tstate
);
41555 if (PyErr_Occurred()) SWIG_fail
;
41558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41574 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41575 PyObject
*resultobj
= 0;
41576 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41577 wxDateTime
*arg2
= 0 ;
41582 PyObject
* obj0
= 0 ;
41583 PyObject
* obj1
= 0 ;
41584 char * kwnames
[] = {
41585 (char *) "self",(char *) "dt", NULL
41588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41590 if (!SWIG_IsOK(res1
)) {
41591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41593 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41595 if (!SWIG_IsOK(res2
)) {
41596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41601 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41604 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41605 wxPyEndAllowThreads(__tstate
);
41606 if (PyErr_Occurred()) SWIG_fail
;
41608 resultobj
= SWIG_Py_Void();
41615 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41616 PyObject
*resultobj
= 0;
41617 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41621 PyObject
*swig_obj
[1] ;
41623 if (!args
) SWIG_fail
;
41624 swig_obj
[0] = args
;
41625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41626 if (!SWIG_IsOK(res1
)) {
41627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41629 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41632 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41633 wxPyEndAllowThreads(__tstate
);
41634 if (PyErr_Occurred()) SWIG_fail
;
41636 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41643 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41644 PyObject
*resultobj
= 0;
41645 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41646 wxDateTime
*arg2
= 0 ;
41647 wxDateTime
*arg3
= 0 ;
41654 PyObject
* obj0
= 0 ;
41655 PyObject
* obj1
= 0 ;
41656 PyObject
* obj2
= 0 ;
41657 char * kwnames
[] = {
41658 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41663 if (!SWIG_IsOK(res1
)) {
41664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41666 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41668 if (!SWIG_IsOK(res2
)) {
41669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41674 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41675 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41676 if (!SWIG_IsOK(res3
)) {
41677 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41682 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41685 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41686 wxPyEndAllowThreads(__tstate
);
41687 if (PyErr_Occurred()) SWIG_fail
;
41689 resultobj
= SWIG_Py_Void();
41696 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41697 PyObject
*resultobj
= 0;
41698 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41702 PyObject
*swig_obj
[1] ;
41704 if (!args
) SWIG_fail
;
41705 swig_obj
[0] = args
;
41706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41707 if (!SWIG_IsOK(res1
)) {
41708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41710 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41713 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41714 wxPyEndAllowThreads(__tstate
);
41715 if (PyErr_Occurred()) SWIG_fail
;
41717 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41724 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41725 PyObject
*resultobj
= 0;
41726 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41730 PyObject
*swig_obj
[1] ;
41732 if (!args
) SWIG_fail
;
41733 swig_obj
[0] = args
;
41734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41735 if (!SWIG_IsOK(res1
)) {
41736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41738 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41741 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41742 wxPyEndAllowThreads(__tstate
);
41743 if (PyErr_Occurred()) SWIG_fail
;
41745 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41752 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41755 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41756 return SWIG_Py_Void();
41759 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41760 return SWIG_Python_InitShadowInstance(args
);
41763 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41764 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41769 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41770 PyObject
*pyobj
= 0;
41774 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41776 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41783 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41784 PyObject
*resultobj
= 0;
41785 wxWindow
*arg1
= (wxWindow
*) 0 ;
41787 wxString
*arg3
= 0 ;
41788 wxString
*arg4
= 0 ;
41789 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41790 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41791 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41792 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41793 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41794 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41795 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41796 wxHyperlinkCtrl
*result
= 0 ;
41801 bool temp3
= false ;
41802 bool temp4
= false ;
41807 bool temp8
= false ;
41808 PyObject
* obj0
= 0 ;
41809 PyObject
* obj1
= 0 ;
41810 PyObject
* obj2
= 0 ;
41811 PyObject
* obj3
= 0 ;
41812 PyObject
* obj4
= 0 ;
41813 PyObject
* obj5
= 0 ;
41814 PyObject
* obj6
= 0 ;
41815 PyObject
* obj7
= 0 ;
41816 char * kwnames
[] = {
41817 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41822 if (!SWIG_IsOK(res1
)) {
41823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41825 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41827 if (!SWIG_IsOK(ecode2
)) {
41828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41830 arg2
= static_cast< int >(val2
);
41832 arg3
= wxString_in_helper(obj2
);
41833 if (arg3
== NULL
) SWIG_fail
;
41837 arg4
= wxString_in_helper(obj3
);
41838 if (arg4
== NULL
) SWIG_fail
;
41844 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41850 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41854 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41855 if (!SWIG_IsOK(ecode7
)) {
41856 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41858 arg7
= static_cast< long >(val7
);
41862 arg8
= wxString_in_helper(obj7
);
41863 if (arg8
== NULL
) SWIG_fail
;
41868 if (!wxPyCheckForApp()) SWIG_fail
;
41869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41870 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41871 wxPyEndAllowThreads(__tstate
);
41872 if (PyErr_Occurred()) SWIG_fail
;
41874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41905 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41906 PyObject
*resultobj
= 0;
41907 wxHyperlinkCtrl
*result
= 0 ;
41909 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41911 if (!wxPyCheckForApp()) SWIG_fail
;
41912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41913 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41914 wxPyEndAllowThreads(__tstate
);
41915 if (PyErr_Occurred()) SWIG_fail
;
41917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41924 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41925 PyObject
*resultobj
= 0;
41926 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41927 wxWindow
*arg2
= (wxWindow
*) 0 ;
41929 wxString
*arg4
= 0 ;
41930 wxString
*arg5
= 0 ;
41931 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41932 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41933 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41934 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41935 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41936 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41937 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41945 bool temp4
= false ;
41946 bool temp5
= false ;
41951 bool temp9
= false ;
41952 PyObject
* obj0
= 0 ;
41953 PyObject
* obj1
= 0 ;
41954 PyObject
* obj2
= 0 ;
41955 PyObject
* obj3
= 0 ;
41956 PyObject
* obj4
= 0 ;
41957 PyObject
* obj5
= 0 ;
41958 PyObject
* obj6
= 0 ;
41959 PyObject
* obj7
= 0 ;
41960 PyObject
* obj8
= 0 ;
41961 char * kwnames
[] = {
41962 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41967 if (!SWIG_IsOK(res1
)) {
41968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41970 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41971 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41972 if (!SWIG_IsOK(res2
)) {
41973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41975 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41977 if (!SWIG_IsOK(ecode3
)) {
41978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41980 arg3
= static_cast< int >(val3
);
41982 arg4
= wxString_in_helper(obj3
);
41983 if (arg4
== NULL
) SWIG_fail
;
41987 arg5
= wxString_in_helper(obj4
);
41988 if (arg5
== NULL
) SWIG_fail
;
41994 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42000 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42004 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42005 if (!SWIG_IsOK(ecode8
)) {
42006 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42008 arg8
= static_cast< long >(val8
);
42012 arg9
= wxString_in_helper(obj8
);
42013 if (arg9
== NULL
) SWIG_fail
;
42018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42020 wxPyEndAllowThreads(__tstate
);
42021 if (PyErr_Occurred()) SWIG_fail
;
42024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42056 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42057 PyObject
*resultobj
= 0;
42058 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42062 PyObject
*swig_obj
[1] ;
42064 if (!args
) SWIG_fail
;
42065 swig_obj
[0] = args
;
42066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42067 if (!SWIG_IsOK(res1
)) {
42068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42070 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42073 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42074 wxPyEndAllowThreads(__tstate
);
42075 if (PyErr_Occurred()) SWIG_fail
;
42077 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42084 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42085 PyObject
*resultobj
= 0;
42086 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42087 wxColour
*arg2
= 0 ;
42091 PyObject
* obj0
= 0 ;
42092 PyObject
* obj1
= 0 ;
42093 char * kwnames
[] = {
42094 (char *) "self",(char *) "colour", NULL
42097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42099 if (!SWIG_IsOK(res1
)) {
42100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42102 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42105 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42109 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42110 wxPyEndAllowThreads(__tstate
);
42111 if (PyErr_Occurred()) SWIG_fail
;
42113 resultobj
= SWIG_Py_Void();
42120 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42121 PyObject
*resultobj
= 0;
42122 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42126 PyObject
*swig_obj
[1] ;
42128 if (!args
) SWIG_fail
;
42129 swig_obj
[0] = args
;
42130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42131 if (!SWIG_IsOK(res1
)) {
42132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42134 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42137 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42138 wxPyEndAllowThreads(__tstate
);
42139 if (PyErr_Occurred()) SWIG_fail
;
42141 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42148 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42149 PyObject
*resultobj
= 0;
42150 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42151 wxColour
*arg2
= 0 ;
42155 PyObject
* obj0
= 0 ;
42156 PyObject
* obj1
= 0 ;
42157 char * kwnames
[] = {
42158 (char *) "self",(char *) "colour", NULL
42161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42163 if (!SWIG_IsOK(res1
)) {
42164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42166 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42169 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42173 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42177 resultobj
= SWIG_Py_Void();
42184 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42185 PyObject
*resultobj
= 0;
42186 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42190 PyObject
*swig_obj
[1] ;
42192 if (!args
) SWIG_fail
;
42193 swig_obj
[0] = args
;
42194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42195 if (!SWIG_IsOK(res1
)) {
42196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42198 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42201 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42202 wxPyEndAllowThreads(__tstate
);
42203 if (PyErr_Occurred()) SWIG_fail
;
42205 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42212 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42213 PyObject
*resultobj
= 0;
42214 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42215 wxColour
*arg2
= 0 ;
42219 PyObject
* obj0
= 0 ;
42220 PyObject
* obj1
= 0 ;
42221 char * kwnames
[] = {
42222 (char *) "self",(char *) "colour", NULL
42225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42227 if (!SWIG_IsOK(res1
)) {
42228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42230 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42233 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42237 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42238 wxPyEndAllowThreads(__tstate
);
42239 if (PyErr_Occurred()) SWIG_fail
;
42241 resultobj
= SWIG_Py_Void();
42248 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42249 PyObject
*resultobj
= 0;
42250 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42254 PyObject
*swig_obj
[1] ;
42256 if (!args
) SWIG_fail
;
42257 swig_obj
[0] = args
;
42258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42259 if (!SWIG_IsOK(res1
)) {
42260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42262 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42265 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42266 wxPyEndAllowThreads(__tstate
);
42267 if (PyErr_Occurred()) SWIG_fail
;
42271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42282 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42283 PyObject
*resultobj
= 0;
42284 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42285 wxString
*arg2
= 0 ;
42288 bool temp2
= false ;
42289 PyObject
* obj0
= 0 ;
42290 PyObject
* obj1
= 0 ;
42291 char * kwnames
[] = {
42292 (char *) "self",(char *) "url", NULL
42295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42297 if (!SWIG_IsOK(res1
)) {
42298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42300 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42302 arg2
= wxString_in_helper(obj1
);
42303 if (arg2
== NULL
) SWIG_fail
;
42307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42308 (arg1
)->SetURL((wxString
const &)*arg2
);
42309 wxPyEndAllowThreads(__tstate
);
42310 if (PyErr_Occurred()) SWIG_fail
;
42312 resultobj
= SWIG_Py_Void();
42327 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42328 PyObject
*resultobj
= 0;
42329 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42330 bool arg2
= (bool) true ;
42335 PyObject
* obj0
= 0 ;
42336 PyObject
* obj1
= 0 ;
42337 char * kwnames
[] = {
42338 (char *) "self",(char *) "visited", NULL
42341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42343 if (!SWIG_IsOK(res1
)) {
42344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42346 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42348 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42349 if (!SWIG_IsOK(ecode2
)) {
42350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42352 arg2
= static_cast< bool >(val2
);
42355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42356 (arg1
)->SetVisited(arg2
);
42357 wxPyEndAllowThreads(__tstate
);
42358 if (PyErr_Occurred()) SWIG_fail
;
42360 resultobj
= SWIG_Py_Void();
42367 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42368 PyObject
*resultobj
= 0;
42369 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42373 PyObject
*swig_obj
[1] ;
42375 if (!args
) SWIG_fail
;
42376 swig_obj
[0] = args
;
42377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42378 if (!SWIG_IsOK(res1
)) {
42379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42381 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42384 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42385 wxPyEndAllowThreads(__tstate
);
42386 if (PyErr_Occurred()) SWIG_fail
;
42389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42397 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42400 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42401 return SWIG_Py_Void();
42404 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42405 return SWIG_Python_InitShadowInstance(args
);
42408 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42409 PyObject
*resultobj
= 0;
42410 wxObject
*arg1
= (wxObject
*) 0 ;
42412 wxString
*arg3
= 0 ;
42413 wxHyperlinkEvent
*result
= 0 ;
42418 bool temp3
= false ;
42419 PyObject
* obj0
= 0 ;
42420 PyObject
* obj1
= 0 ;
42421 PyObject
* obj2
= 0 ;
42422 char * kwnames
[] = {
42423 (char *) "generator",(char *) "id",(char *) "url", NULL
42426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42428 if (!SWIG_IsOK(res1
)) {
42429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42431 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42433 if (!SWIG_IsOK(ecode2
)) {
42434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42436 arg2
= static_cast< int >(val2
);
42438 arg3
= wxString_in_helper(obj2
);
42439 if (arg3
== NULL
) SWIG_fail
;
42443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42444 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42445 wxPyEndAllowThreads(__tstate
);
42446 if (PyErr_Occurred()) SWIG_fail
;
42448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42463 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42464 PyObject
*resultobj
= 0;
42465 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42469 PyObject
*swig_obj
[1] ;
42471 if (!args
) SWIG_fail
;
42472 swig_obj
[0] = args
;
42473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42474 if (!SWIG_IsOK(res1
)) {
42475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42477 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42480 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42481 wxPyEndAllowThreads(__tstate
);
42482 if (PyErr_Occurred()) SWIG_fail
;
42486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42497 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42498 PyObject
*resultobj
= 0;
42499 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42500 wxString
*arg2
= 0 ;
42503 bool temp2
= false ;
42504 PyObject
* obj0
= 0 ;
42505 PyObject
* obj1
= 0 ;
42506 char * kwnames
[] = {
42507 (char *) "self",(char *) "url", NULL
42510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42512 if (!SWIG_IsOK(res1
)) {
42513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42515 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42517 arg2
= wxString_in_helper(obj1
);
42518 if (arg2
== NULL
) SWIG_fail
;
42522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42523 (arg1
)->SetURL((wxString
const &)*arg2
);
42524 wxPyEndAllowThreads(__tstate
);
42525 if (PyErr_Occurred()) SWIG_fail
;
42527 resultobj
= SWIG_Py_Void();
42542 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42545 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42546 return SWIG_Py_Void();
42549 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42550 return SWIG_Python_InitShadowInstance(args
);
42553 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42554 PyObject
*resultobj
= 0;
42555 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42556 wxWindow
*arg2
= (wxWindow
*) 0 ;
42558 wxString
const &arg4_defvalue
= wxEmptyString
;
42559 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42560 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42561 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42562 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42563 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42564 long arg7
= (long) 0 ;
42565 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42566 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42567 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42568 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42576 bool temp4
= false ;
42583 bool temp9
= false ;
42584 PyObject
* obj0
= 0 ;
42585 PyObject
* obj1
= 0 ;
42586 PyObject
* obj2
= 0 ;
42587 PyObject
* obj3
= 0 ;
42588 PyObject
* obj4
= 0 ;
42589 PyObject
* obj5
= 0 ;
42590 PyObject
* obj6
= 0 ;
42591 PyObject
* obj7
= 0 ;
42592 PyObject
* obj8
= 0 ;
42593 char * kwnames
[] = {
42594 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42599 if (!SWIG_IsOK(res1
)) {
42600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42602 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42604 if (!SWIG_IsOK(res2
)) {
42605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42607 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42609 if (!SWIG_IsOK(ecode3
)) {
42610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42612 arg3
= static_cast< int >(val3
);
42615 arg4
= wxString_in_helper(obj3
);
42616 if (arg4
== NULL
) SWIG_fail
;
42623 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42629 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42633 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42634 if (!SWIG_IsOK(ecode7
)) {
42635 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42637 arg7
= static_cast< long >(val7
);
42640 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42641 if (!SWIG_IsOK(res8
)) {
42642 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42647 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42651 arg9
= wxString_in_helper(obj8
);
42652 if (arg9
== NULL
) SWIG_fail
;
42657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42658 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42659 wxPyEndAllowThreads(__tstate
);
42660 if (PyErr_Occurred()) SWIG_fail
;
42663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42687 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42688 PyObject
*resultobj
= 0;
42689 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42695 PyObject
* obj0
= 0 ;
42696 PyObject
* obj1
= 0 ;
42697 char * kwnames
[] = {
42698 (char *) "self",(char *) "newmargin", NULL
42701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42703 if (!SWIG_IsOK(res1
)) {
42704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42706 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42708 if (!SWIG_IsOK(ecode2
)) {
42709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42711 arg2
= static_cast< int >(val2
);
42713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42714 (arg1
)->SetInternalMargin(arg2
);
42715 wxPyEndAllowThreads(__tstate
);
42716 if (PyErr_Occurred()) SWIG_fail
;
42718 resultobj
= SWIG_Py_Void();
42725 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42726 PyObject
*resultobj
= 0;
42727 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42731 PyObject
*swig_obj
[1] ;
42733 if (!args
) SWIG_fail
;
42734 swig_obj
[0] = args
;
42735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42736 if (!SWIG_IsOK(res1
)) {
42737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42739 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42742 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42743 wxPyEndAllowThreads(__tstate
);
42744 if (PyErr_Occurred()) SWIG_fail
;
42746 resultobj
= SWIG_From_int(static_cast< int >(result
));
42753 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42754 PyObject
*resultobj
= 0;
42755 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42761 PyObject
* obj0
= 0 ;
42762 PyObject
* obj1
= 0 ;
42763 char * kwnames
[] = {
42764 (char *) "self",(char *) "prop", NULL
42767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42769 if (!SWIG_IsOK(res1
)) {
42770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42772 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42774 if (!SWIG_IsOK(ecode2
)) {
42775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42777 arg2
= static_cast< int >(val2
);
42779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42780 (arg1
)->SetTextCtrlProportion(arg2
);
42781 wxPyEndAllowThreads(__tstate
);
42782 if (PyErr_Occurred()) SWIG_fail
;
42784 resultobj
= SWIG_Py_Void();
42791 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42792 PyObject
*resultobj
= 0;
42793 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42797 PyObject
*swig_obj
[1] ;
42799 if (!args
) SWIG_fail
;
42800 swig_obj
[0] = args
;
42801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42802 if (!SWIG_IsOK(res1
)) {
42803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42805 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42808 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42809 wxPyEndAllowThreads(__tstate
);
42810 if (PyErr_Occurred()) SWIG_fail
;
42812 resultobj
= SWIG_From_int(static_cast< int >(result
));
42819 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42820 PyObject
*resultobj
= 0;
42821 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42827 PyObject
* obj0
= 0 ;
42828 PyObject
* obj1
= 0 ;
42829 char * kwnames
[] = {
42830 (char *) "self",(char *) "prop", NULL
42833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42835 if (!SWIG_IsOK(res1
)) {
42836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42838 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42840 if (!SWIG_IsOK(ecode2
)) {
42841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42843 arg2
= static_cast< int >(val2
);
42845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42846 (arg1
)->SetPickerCtrlProportion(arg2
);
42847 wxPyEndAllowThreads(__tstate
);
42848 if (PyErr_Occurred()) SWIG_fail
;
42850 resultobj
= SWIG_Py_Void();
42857 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42858 PyObject
*resultobj
= 0;
42859 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42863 PyObject
*swig_obj
[1] ;
42865 if (!args
) SWIG_fail
;
42866 swig_obj
[0] = args
;
42867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42868 if (!SWIG_IsOK(res1
)) {
42869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42871 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42874 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42875 wxPyEndAllowThreads(__tstate
);
42876 if (PyErr_Occurred()) SWIG_fail
;
42878 resultobj
= SWIG_From_int(static_cast< int >(result
));
42885 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42886 PyObject
*resultobj
= 0;
42887 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42891 PyObject
*swig_obj
[1] ;
42893 if (!args
) SWIG_fail
;
42894 swig_obj
[0] = args
;
42895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42896 if (!SWIG_IsOK(res1
)) {
42897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42899 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42902 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42903 wxPyEndAllowThreads(__tstate
);
42904 if (PyErr_Occurred()) SWIG_fail
;
42907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42915 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42916 PyObject
*resultobj
= 0;
42917 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42918 bool arg2
= (bool) true ;
42923 PyObject
* obj0
= 0 ;
42924 PyObject
* obj1
= 0 ;
42925 char * kwnames
[] = {
42926 (char *) "self",(char *) "grow", NULL
42929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42931 if (!SWIG_IsOK(res1
)) {
42932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42934 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42936 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42937 if (!SWIG_IsOK(ecode2
)) {
42938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42940 arg2
= static_cast< bool >(val2
);
42943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42944 (arg1
)->SetTextCtrlGrowable(arg2
);
42945 wxPyEndAllowThreads(__tstate
);
42946 if (PyErr_Occurred()) SWIG_fail
;
42948 resultobj
= SWIG_Py_Void();
42955 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42956 PyObject
*resultobj
= 0;
42957 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42961 PyObject
*swig_obj
[1] ;
42963 if (!args
) SWIG_fail
;
42964 swig_obj
[0] = args
;
42965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42966 if (!SWIG_IsOK(res1
)) {
42967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42969 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42972 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42973 wxPyEndAllowThreads(__tstate
);
42974 if (PyErr_Occurred()) SWIG_fail
;
42977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42985 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42986 PyObject
*resultobj
= 0;
42987 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42988 bool arg2
= (bool) true ;
42993 PyObject
* obj0
= 0 ;
42994 PyObject
* obj1
= 0 ;
42995 char * kwnames
[] = {
42996 (char *) "self",(char *) "grow", NULL
42999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43001 if (!SWIG_IsOK(res1
)) {
43002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43004 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43006 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43007 if (!SWIG_IsOK(ecode2
)) {
43008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43010 arg2
= static_cast< bool >(val2
);
43013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43014 (arg1
)->SetPickerCtrlGrowable(arg2
);
43015 wxPyEndAllowThreads(__tstate
);
43016 if (PyErr_Occurred()) SWIG_fail
;
43018 resultobj
= SWIG_Py_Void();
43025 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43026 PyObject
*resultobj
= 0;
43027 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43031 PyObject
*swig_obj
[1] ;
43033 if (!args
) SWIG_fail
;
43034 swig_obj
[0] = args
;
43035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43036 if (!SWIG_IsOK(res1
)) {
43037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43039 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43042 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43043 wxPyEndAllowThreads(__tstate
);
43044 if (PyErr_Occurred()) SWIG_fail
;
43047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43055 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43056 PyObject
*resultobj
= 0;
43057 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43058 wxTextCtrl
*result
= 0 ;
43061 PyObject
*swig_obj
[1] ;
43063 if (!args
) SWIG_fail
;
43064 swig_obj
[0] = args
;
43065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43066 if (!SWIG_IsOK(res1
)) {
43067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43069 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43072 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43073 wxPyEndAllowThreads(__tstate
);
43074 if (PyErr_Occurred()) SWIG_fail
;
43077 resultobj
= wxPyMake_wxObject(result
, 0);
43085 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43086 PyObject
*resultobj
= 0;
43087 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43088 wxControl
*result
= 0 ;
43091 PyObject
*swig_obj
[1] ;
43093 if (!args
) SWIG_fail
;
43094 swig_obj
[0] = args
;
43095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43096 if (!SWIG_IsOK(res1
)) {
43097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43099 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43102 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43103 wxPyEndAllowThreads(__tstate
);
43104 if (PyErr_Occurred()) SWIG_fail
;
43107 resultobj
= wxPyMake_wxObject(result
, 0);
43115 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43119 return SWIG_Py_Void();
43122 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43123 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43128 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43129 PyObject
*pyobj
= 0;
43133 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43135 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43142 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43143 PyObject
*resultobj
= 0;
43144 wxWindow
*arg1
= (wxWindow
*) 0 ;
43145 int arg2
= (int) -1 ;
43146 wxColour
const &arg3_defvalue
= *wxBLACK
;
43147 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43152 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43153 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43154 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43155 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43156 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43157 wxColourPickerCtrl
*result
= 0 ;
43169 bool temp8
= false ;
43170 PyObject
* obj0
= 0 ;
43171 PyObject
* obj1
= 0 ;
43172 PyObject
* obj2
= 0 ;
43173 PyObject
* obj3
= 0 ;
43174 PyObject
* obj4
= 0 ;
43175 PyObject
* obj5
= 0 ;
43176 PyObject
* obj6
= 0 ;
43177 PyObject
* obj7
= 0 ;
43178 char * kwnames
[] = {
43179 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43184 if (!SWIG_IsOK(res1
)) {
43185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43190 if (!SWIG_IsOK(ecode2
)) {
43191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43193 arg2
= static_cast< int >(val2
);
43198 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43204 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43210 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43214 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43215 if (!SWIG_IsOK(ecode6
)) {
43216 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43218 arg6
= static_cast< long >(val6
);
43221 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43222 if (!SWIG_IsOK(res7
)) {
43223 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43228 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43232 arg8
= wxString_in_helper(obj7
);
43233 if (arg8
== NULL
) SWIG_fail
;
43238 if (!wxPyCheckForApp()) SWIG_fail
;
43239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43240 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43241 wxPyEndAllowThreads(__tstate
);
43242 if (PyErr_Occurred()) SWIG_fail
;
43244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43259 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43260 PyObject
*resultobj
= 0;
43261 wxColourPickerCtrl
*result
= 0 ;
43263 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43265 if (!wxPyCheckForApp()) SWIG_fail
;
43266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43267 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43268 wxPyEndAllowThreads(__tstate
);
43269 if (PyErr_Occurred()) SWIG_fail
;
43271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43278 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43279 PyObject
*resultobj
= 0;
43280 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43281 wxWindow
*arg2
= (wxWindow
*) 0 ;
43283 wxColour
const &arg4_defvalue
= *wxBLACK
;
43284 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43285 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43286 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43287 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43288 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43289 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43290 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43291 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43292 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43293 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43308 bool temp9
= false ;
43309 PyObject
* obj0
= 0 ;
43310 PyObject
* obj1
= 0 ;
43311 PyObject
* obj2
= 0 ;
43312 PyObject
* obj3
= 0 ;
43313 PyObject
* obj4
= 0 ;
43314 PyObject
* obj5
= 0 ;
43315 PyObject
* obj6
= 0 ;
43316 PyObject
* obj7
= 0 ;
43317 PyObject
* obj8
= 0 ;
43318 char * kwnames
[] = {
43319 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43324 if (!SWIG_IsOK(res1
)) {
43325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43327 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43329 if (!SWIG_IsOK(res2
)) {
43330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43334 if (!SWIG_IsOK(ecode3
)) {
43335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43337 arg3
= static_cast< int >(val3
);
43341 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43347 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43353 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43357 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43358 if (!SWIG_IsOK(ecode7
)) {
43359 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43361 arg7
= static_cast< long >(val7
);
43364 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43365 if (!SWIG_IsOK(res8
)) {
43366 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43371 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43375 arg9
= wxString_in_helper(obj8
);
43376 if (arg9
== NULL
) SWIG_fail
;
43381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43382 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43383 wxPyEndAllowThreads(__tstate
);
43384 if (PyErr_Occurred()) SWIG_fail
;
43387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43403 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43404 PyObject
*resultobj
= 0;
43405 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43409 PyObject
*swig_obj
[1] ;
43411 if (!args
) SWIG_fail
;
43412 swig_obj
[0] = args
;
43413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43414 if (!SWIG_IsOK(res1
)) {
43415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43417 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43420 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43421 wxPyEndAllowThreads(__tstate
);
43422 if (PyErr_Occurred()) SWIG_fail
;
43424 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43431 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43432 PyObject
*resultobj
= 0;
43433 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43434 wxColour
*arg2
= 0 ;
43438 PyObject
* obj0
= 0 ;
43439 PyObject
* obj1
= 0 ;
43440 char * kwnames
[] = {
43441 (char *) "self",(char *) "col", NULL
43444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43446 if (!SWIG_IsOK(res1
)) {
43447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43449 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43452 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43456 (arg1
)->SetColour((wxColour
const &)*arg2
);
43457 wxPyEndAllowThreads(__tstate
);
43458 if (PyErr_Occurred()) SWIG_fail
;
43460 resultobj
= SWIG_Py_Void();
43467 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43470 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43471 return SWIG_Py_Void();
43474 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43475 return SWIG_Python_InitShadowInstance(args
);
43478 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43479 PyObject
*resultobj
= 0;
43480 wxObject
*arg1
= (wxObject
*) 0 ;
43482 wxColour
*arg3
= 0 ;
43483 wxColourPickerEvent
*result
= 0 ;
43489 PyObject
* obj0
= 0 ;
43490 PyObject
* obj1
= 0 ;
43491 PyObject
* obj2
= 0 ;
43492 char * kwnames
[] = {
43493 (char *) "generator",(char *) "id",(char *) "col", NULL
43496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43498 if (!SWIG_IsOK(res1
)) {
43499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43501 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43503 if (!SWIG_IsOK(ecode2
)) {
43504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43506 arg2
= static_cast< int >(val2
);
43509 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43513 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43514 wxPyEndAllowThreads(__tstate
);
43515 if (PyErr_Occurred()) SWIG_fail
;
43517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43524 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43525 PyObject
*resultobj
= 0;
43526 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43530 PyObject
*swig_obj
[1] ;
43532 if (!args
) SWIG_fail
;
43533 swig_obj
[0] = args
;
43534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43535 if (!SWIG_IsOK(res1
)) {
43536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43538 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43541 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43542 wxPyEndAllowThreads(__tstate
);
43543 if (PyErr_Occurred()) SWIG_fail
;
43545 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43552 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43553 PyObject
*resultobj
= 0;
43554 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43555 wxColour
*arg2
= 0 ;
43559 PyObject
* obj0
= 0 ;
43560 PyObject
* obj1
= 0 ;
43561 char * kwnames
[] = {
43562 (char *) "self",(char *) "c", NULL
43565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43567 if (!SWIG_IsOK(res1
)) {
43568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43570 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43577 (arg1
)->SetColour((wxColour
const &)*arg2
);
43578 wxPyEndAllowThreads(__tstate
);
43579 if (PyErr_Occurred()) SWIG_fail
;
43581 resultobj
= SWIG_Py_Void();
43588 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43591 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43592 return SWIG_Py_Void();
43595 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43596 return SWIG_Python_InitShadowInstance(args
);
43599 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43600 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43605 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43606 PyObject
*pyobj
= 0;
43610 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43612 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43619 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43620 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43625 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43626 PyObject
*pyobj
= 0;
43630 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43632 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43639 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43640 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43645 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43646 PyObject
*pyobj
= 0;
43650 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43652 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43659 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43660 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43665 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43666 PyObject
*pyobj
= 0;
43670 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43672 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43679 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43680 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43685 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43686 PyObject
*pyobj
= 0;
43690 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43692 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43699 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43700 PyObject
*resultobj
= 0;
43701 wxWindow
*arg1
= (wxWindow
*) 0 ;
43702 int arg2
= (int) -1 ;
43703 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43704 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43705 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43707 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43708 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43709 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43710 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43711 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43712 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43713 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43714 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43715 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43716 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43717 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43718 wxFilePickerCtrl
*result
= 0 ;
43723 bool temp3
= false ;
43724 bool temp4
= false ;
43725 bool temp5
= false ;
43732 bool temp10
= false ;
43733 PyObject
* obj0
= 0 ;
43734 PyObject
* obj1
= 0 ;
43735 PyObject
* obj2
= 0 ;
43736 PyObject
* obj3
= 0 ;
43737 PyObject
* obj4
= 0 ;
43738 PyObject
* obj5
= 0 ;
43739 PyObject
* obj6
= 0 ;
43740 PyObject
* obj7
= 0 ;
43741 PyObject
* obj8
= 0 ;
43742 PyObject
* obj9
= 0 ;
43743 char * kwnames
[] = {
43744 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43749 if (!SWIG_IsOK(res1
)) {
43750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43752 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43755 if (!SWIG_IsOK(ecode2
)) {
43756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43758 arg2
= static_cast< int >(val2
);
43762 arg3
= wxString_in_helper(obj2
);
43763 if (arg3
== NULL
) SWIG_fail
;
43769 arg4
= wxString_in_helper(obj3
);
43770 if (arg4
== NULL
) SWIG_fail
;
43776 arg5
= wxString_in_helper(obj4
);
43777 if (arg5
== NULL
) SWIG_fail
;
43784 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43790 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43794 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43795 if (!SWIG_IsOK(ecode8
)) {
43796 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43798 arg8
= static_cast< long >(val8
);
43801 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43802 if (!SWIG_IsOK(res9
)) {
43803 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43808 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43812 arg10
= wxString_in_helper(obj9
);
43813 if (arg10
== NULL
) SWIG_fail
;
43818 if (!wxPyCheckForApp()) SWIG_fail
;
43819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43820 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
);
43821 wxPyEndAllowThreads(__tstate
);
43822 if (PyErr_Occurred()) SWIG_fail
;
43824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43863 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43864 PyObject
*resultobj
= 0;
43865 wxFilePickerCtrl
*result
= 0 ;
43867 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43869 if (!wxPyCheckForApp()) SWIG_fail
;
43870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43871 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43872 wxPyEndAllowThreads(__tstate
);
43873 if (PyErr_Occurred()) SWIG_fail
;
43875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43882 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43883 PyObject
*resultobj
= 0;
43884 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43885 wxWindow
*arg2
= (wxWindow
*) 0 ;
43886 int arg3
= (int) -1 ;
43887 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43888 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43889 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43890 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43891 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43892 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43893 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43894 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43895 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43896 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43897 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43898 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43899 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43900 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43901 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43909 bool temp4
= false ;
43910 bool temp5
= false ;
43911 bool temp6
= false ;
43918 bool temp11
= false ;
43919 PyObject
* obj0
= 0 ;
43920 PyObject
* obj1
= 0 ;
43921 PyObject
* obj2
= 0 ;
43922 PyObject
* obj3
= 0 ;
43923 PyObject
* obj4
= 0 ;
43924 PyObject
* obj5
= 0 ;
43925 PyObject
* obj6
= 0 ;
43926 PyObject
* obj7
= 0 ;
43927 PyObject
* obj8
= 0 ;
43928 PyObject
* obj9
= 0 ;
43929 PyObject
* obj10
= 0 ;
43930 char * kwnames
[] = {
43931 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43936 if (!SWIG_IsOK(res1
)) {
43937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43939 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43941 if (!SWIG_IsOK(res2
)) {
43942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43944 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43947 if (!SWIG_IsOK(ecode3
)) {
43948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43950 arg3
= static_cast< int >(val3
);
43954 arg4
= wxString_in_helper(obj3
);
43955 if (arg4
== NULL
) SWIG_fail
;
43961 arg5
= wxString_in_helper(obj4
);
43962 if (arg5
== NULL
) SWIG_fail
;
43968 arg6
= wxString_in_helper(obj5
);
43969 if (arg6
== NULL
) SWIG_fail
;
43976 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43982 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43986 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43987 if (!SWIG_IsOK(ecode9
)) {
43988 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43990 arg9
= static_cast< long >(val9
);
43993 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43994 if (!SWIG_IsOK(res10
)) {
43995 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44000 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44004 arg11
= wxString_in_helper(obj10
);
44005 if (arg11
== NULL
) SWIG_fail
;
44010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44011 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
);
44012 wxPyEndAllowThreads(__tstate
);
44013 if (PyErr_Occurred()) SWIG_fail
;
44016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44056 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44057 PyObject
*resultobj
= 0;
44058 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44062 PyObject
*swig_obj
[1] ;
44064 if (!args
) SWIG_fail
;
44065 swig_obj
[0] = args
;
44066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44067 if (!SWIG_IsOK(res1
)) {
44068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44070 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44073 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44074 wxPyEndAllowThreads(__tstate
);
44075 if (PyErr_Occurred()) SWIG_fail
;
44079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44090 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44091 PyObject
*resultobj
= 0;
44092 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44093 wxString
*arg2
= 0 ;
44096 bool temp2
= false ;
44097 PyObject
* obj0
= 0 ;
44098 PyObject
* obj1
= 0 ;
44099 char * kwnames
[] = {
44100 (char *) "self",(char *) "str", NULL
44103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44105 if (!SWIG_IsOK(res1
)) {
44106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44108 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44110 arg2
= wxString_in_helper(obj1
);
44111 if (arg2
== NULL
) SWIG_fail
;
44115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44116 (arg1
)->SetPath((wxString
const &)*arg2
);
44117 wxPyEndAllowThreads(__tstate
);
44118 if (PyErr_Occurred()) SWIG_fail
;
44120 resultobj
= SWIG_Py_Void();
44135 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44136 PyObject
*resultobj
= 0;
44137 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44138 wxString
*arg2
= 0 ;
44142 bool temp2
= false ;
44143 PyObject
* obj0
= 0 ;
44144 PyObject
* obj1
= 0 ;
44145 char * kwnames
[] = {
44146 (char *) "self",(char *) "path", NULL
44149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44151 if (!SWIG_IsOK(res1
)) {
44152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44154 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44156 arg2
= wxString_in_helper(obj1
);
44157 if (arg2
== NULL
) SWIG_fail
;
44161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44162 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44163 wxPyEndAllowThreads(__tstate
);
44164 if (PyErr_Occurred()) SWIG_fail
;
44167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44183 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44184 PyObject
*resultobj
= 0;
44185 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44189 PyObject
*swig_obj
[1] ;
44191 if (!args
) SWIG_fail
;
44192 swig_obj
[0] = args
;
44193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44194 if (!SWIG_IsOK(res1
)) {
44195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44197 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44200 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44201 wxPyEndAllowThreads(__tstate
);
44202 if (PyErr_Occurred()) SWIG_fail
;
44206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44217 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44220 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44221 return SWIG_Py_Void();
44224 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44225 return SWIG_Python_InitShadowInstance(args
);
44228 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44229 PyObject
*resultobj
= 0;
44230 wxWindow
*arg1
= (wxWindow
*) 0 ;
44231 int arg2
= (int) -1 ;
44232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44234 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44235 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44236 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44237 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44238 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44239 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44240 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44241 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44242 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44243 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44244 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44245 wxDirPickerCtrl
*result
= 0 ;
44250 bool temp3
= false ;
44251 bool temp4
= false ;
44258 bool temp9
= false ;
44259 PyObject
* obj0
= 0 ;
44260 PyObject
* obj1
= 0 ;
44261 PyObject
* obj2
= 0 ;
44262 PyObject
* obj3
= 0 ;
44263 PyObject
* obj4
= 0 ;
44264 PyObject
* obj5
= 0 ;
44265 PyObject
* obj6
= 0 ;
44266 PyObject
* obj7
= 0 ;
44267 PyObject
* obj8
= 0 ;
44268 char * kwnames
[] = {
44269 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44274 if (!SWIG_IsOK(res1
)) {
44275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44277 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44280 if (!SWIG_IsOK(ecode2
)) {
44281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44283 arg2
= static_cast< int >(val2
);
44287 arg3
= wxString_in_helper(obj2
);
44288 if (arg3
== NULL
) SWIG_fail
;
44294 arg4
= wxString_in_helper(obj3
);
44295 if (arg4
== NULL
) SWIG_fail
;
44302 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44308 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44312 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44313 if (!SWIG_IsOK(ecode7
)) {
44314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44316 arg7
= static_cast< long >(val7
);
44319 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44320 if (!SWIG_IsOK(res8
)) {
44321 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44326 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44330 arg9
= wxString_in_helper(obj8
);
44331 if (arg9
== NULL
) SWIG_fail
;
44336 if (!wxPyCheckForApp()) SWIG_fail
;
44337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44338 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
);
44339 wxPyEndAllowThreads(__tstate
);
44340 if (PyErr_Occurred()) SWIG_fail
;
44342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44373 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44374 PyObject
*resultobj
= 0;
44375 wxDirPickerCtrl
*result
= 0 ;
44377 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44379 if (!wxPyCheckForApp()) SWIG_fail
;
44380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44381 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44382 wxPyEndAllowThreads(__tstate
);
44383 if (PyErr_Occurred()) SWIG_fail
;
44385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44392 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44393 PyObject
*resultobj
= 0;
44394 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44395 wxWindow
*arg2
= (wxWindow
*) 0 ;
44396 int arg3
= (int) -1 ;
44397 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44398 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44399 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44400 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44401 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44402 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44403 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44404 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44405 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44406 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44407 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44408 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44409 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44417 bool temp4
= false ;
44418 bool temp5
= false ;
44425 bool temp10
= false ;
44426 PyObject
* obj0
= 0 ;
44427 PyObject
* obj1
= 0 ;
44428 PyObject
* obj2
= 0 ;
44429 PyObject
* obj3
= 0 ;
44430 PyObject
* obj4
= 0 ;
44431 PyObject
* obj5
= 0 ;
44432 PyObject
* obj6
= 0 ;
44433 PyObject
* obj7
= 0 ;
44434 PyObject
* obj8
= 0 ;
44435 PyObject
* obj9
= 0 ;
44436 char * kwnames
[] = {
44437 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44442 if (!SWIG_IsOK(res1
)) {
44443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44445 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44447 if (!SWIG_IsOK(res2
)) {
44448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44450 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44453 if (!SWIG_IsOK(ecode3
)) {
44454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44456 arg3
= static_cast< int >(val3
);
44460 arg4
= wxString_in_helper(obj3
);
44461 if (arg4
== NULL
) SWIG_fail
;
44467 arg5
= wxString_in_helper(obj4
);
44468 if (arg5
== NULL
) SWIG_fail
;
44475 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44481 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44485 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44486 if (!SWIG_IsOK(ecode8
)) {
44487 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44489 arg8
= static_cast< long >(val8
);
44492 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44493 if (!SWIG_IsOK(res9
)) {
44494 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44499 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44503 arg10
= wxString_in_helper(obj9
);
44504 if (arg10
== NULL
) SWIG_fail
;
44509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44510 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
);
44511 wxPyEndAllowThreads(__tstate
);
44512 if (PyErr_Occurred()) SWIG_fail
;
44515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44547 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44548 PyObject
*resultobj
= 0;
44549 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44553 PyObject
*swig_obj
[1] ;
44555 if (!args
) SWIG_fail
;
44556 swig_obj
[0] = args
;
44557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44558 if (!SWIG_IsOK(res1
)) {
44559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44561 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44564 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44565 wxPyEndAllowThreads(__tstate
);
44566 if (PyErr_Occurred()) SWIG_fail
;
44570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44581 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44582 PyObject
*resultobj
= 0;
44583 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44584 wxString
*arg2
= 0 ;
44587 bool temp2
= false ;
44588 PyObject
* obj0
= 0 ;
44589 PyObject
* obj1
= 0 ;
44590 char * kwnames
[] = {
44591 (char *) "self",(char *) "str", NULL
44594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44596 if (!SWIG_IsOK(res1
)) {
44597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44599 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44601 arg2
= wxString_in_helper(obj1
);
44602 if (arg2
== NULL
) SWIG_fail
;
44606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44607 (arg1
)->SetPath((wxString
const &)*arg2
);
44608 wxPyEndAllowThreads(__tstate
);
44609 if (PyErr_Occurred()) SWIG_fail
;
44611 resultobj
= SWIG_Py_Void();
44626 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44627 PyObject
*resultobj
= 0;
44628 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44629 wxString
*arg2
= 0 ;
44633 bool temp2
= false ;
44634 PyObject
* obj0
= 0 ;
44635 PyObject
* obj1
= 0 ;
44636 char * kwnames
[] = {
44637 (char *) "self",(char *) "path", NULL
44640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44642 if (!SWIG_IsOK(res1
)) {
44643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44645 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44647 arg2
= wxString_in_helper(obj1
);
44648 if (arg2
== NULL
) SWIG_fail
;
44652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44653 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44654 wxPyEndAllowThreads(__tstate
);
44655 if (PyErr_Occurred()) SWIG_fail
;
44658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44674 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44675 PyObject
*resultobj
= 0;
44676 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44680 PyObject
*swig_obj
[1] ;
44682 if (!args
) SWIG_fail
;
44683 swig_obj
[0] = args
;
44684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44685 if (!SWIG_IsOK(res1
)) {
44686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44688 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44691 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44692 wxPyEndAllowThreads(__tstate
);
44693 if (PyErr_Occurred()) SWIG_fail
;
44697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44708 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44711 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44712 return SWIG_Py_Void();
44715 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44716 return SWIG_Python_InitShadowInstance(args
);
44719 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44720 PyObject
*resultobj
= 0;
44722 wxObject
*arg2
= (wxObject
*) 0 ;
44724 wxString
*arg4
= 0 ;
44725 wxFileDirPickerEvent
*result
= 0 ;
44732 bool temp4
= false ;
44733 PyObject
* obj0
= 0 ;
44734 PyObject
* obj1
= 0 ;
44735 PyObject
* obj2
= 0 ;
44736 PyObject
* obj3
= 0 ;
44737 char * kwnames
[] = {
44738 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44743 if (!SWIG_IsOK(ecode1
)) {
44744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44746 arg1
= static_cast< wxEventType
>(val1
);
44747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44748 if (!SWIG_IsOK(res2
)) {
44749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44751 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44753 if (!SWIG_IsOK(ecode3
)) {
44754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44756 arg3
= static_cast< int >(val3
);
44758 arg4
= wxString_in_helper(obj3
);
44759 if (arg4
== NULL
) SWIG_fail
;
44763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44764 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44765 wxPyEndAllowThreads(__tstate
);
44766 if (PyErr_Occurred()) SWIG_fail
;
44768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44783 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44784 PyObject
*resultobj
= 0;
44785 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44789 PyObject
*swig_obj
[1] ;
44791 if (!args
) SWIG_fail
;
44792 swig_obj
[0] = args
;
44793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44794 if (!SWIG_IsOK(res1
)) {
44795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44797 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44800 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44801 wxPyEndAllowThreads(__tstate
);
44802 if (PyErr_Occurred()) SWIG_fail
;
44806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44817 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44818 PyObject
*resultobj
= 0;
44819 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44820 wxString
*arg2
= 0 ;
44823 bool temp2
= false ;
44824 PyObject
* obj0
= 0 ;
44825 PyObject
* obj1
= 0 ;
44826 char * kwnames
[] = {
44827 (char *) "self",(char *) "p", NULL
44830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44832 if (!SWIG_IsOK(res1
)) {
44833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44835 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44837 arg2
= wxString_in_helper(obj1
);
44838 if (arg2
== NULL
) SWIG_fail
;
44842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44843 (arg1
)->SetPath((wxString
const &)*arg2
);
44844 wxPyEndAllowThreads(__tstate
);
44845 if (PyErr_Occurred()) SWIG_fail
;
44847 resultobj
= SWIG_Py_Void();
44862 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44865 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44866 return SWIG_Py_Void();
44869 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44870 return SWIG_Python_InitShadowInstance(args
);
44873 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44874 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44879 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44880 PyObject
*pyobj
= 0;
44884 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44886 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44893 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44894 PyObject
*resultobj
= 0;
44895 wxWindow
*arg1
= (wxWindow
*) 0 ;
44896 int arg2
= (int) -1 ;
44897 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44898 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44903 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44904 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44905 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44906 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44907 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44908 wxFontPickerCtrl
*result
= 0 ;
44921 bool temp8
= false ;
44922 PyObject
* obj0
= 0 ;
44923 PyObject
* obj1
= 0 ;
44924 PyObject
* obj2
= 0 ;
44925 PyObject
* obj3
= 0 ;
44926 PyObject
* obj4
= 0 ;
44927 PyObject
* obj5
= 0 ;
44928 PyObject
* obj6
= 0 ;
44929 PyObject
* obj7
= 0 ;
44930 char * kwnames
[] = {
44931 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44936 if (!SWIG_IsOK(res1
)) {
44937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44939 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44942 if (!SWIG_IsOK(ecode2
)) {
44943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44945 arg2
= static_cast< int >(val2
);
44948 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44949 if (!SWIG_IsOK(res3
)) {
44950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44955 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44970 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44971 if (!SWIG_IsOK(ecode6
)) {
44972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44974 arg6
= static_cast< long >(val6
);
44977 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44978 if (!SWIG_IsOK(res7
)) {
44979 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44984 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44988 arg8
= wxString_in_helper(obj7
);
44989 if (arg8
== NULL
) SWIG_fail
;
44994 if (!wxPyCheckForApp()) SWIG_fail
;
44995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44996 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44997 wxPyEndAllowThreads(__tstate
);
44998 if (PyErr_Occurred()) SWIG_fail
;
45000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45015 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45016 PyObject
*resultobj
= 0;
45017 wxFontPickerCtrl
*result
= 0 ;
45019 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45021 if (!wxPyCheckForApp()) SWIG_fail
;
45022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45023 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45024 wxPyEndAllowThreads(__tstate
);
45025 if (PyErr_Occurred()) SWIG_fail
;
45027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45034 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45035 PyObject
*resultobj
= 0;
45036 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45037 wxWindow
*arg2
= (wxWindow
*) 0 ;
45038 int arg3
= (int) -1 ;
45039 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
45040 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45041 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45042 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45043 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45044 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45045 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45046 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45047 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45048 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45049 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45065 bool temp9
= false ;
45066 PyObject
* obj0
= 0 ;
45067 PyObject
* obj1
= 0 ;
45068 PyObject
* obj2
= 0 ;
45069 PyObject
* obj3
= 0 ;
45070 PyObject
* obj4
= 0 ;
45071 PyObject
* obj5
= 0 ;
45072 PyObject
* obj6
= 0 ;
45073 PyObject
* obj7
= 0 ;
45074 PyObject
* obj8
= 0 ;
45075 char * kwnames
[] = {
45076 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45081 if (!SWIG_IsOK(res1
)) {
45082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45084 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45086 if (!SWIG_IsOK(res2
)) {
45087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45089 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45092 if (!SWIG_IsOK(ecode3
)) {
45093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45095 arg3
= static_cast< int >(val3
);
45098 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45099 if (!SWIG_IsOK(res4
)) {
45100 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45105 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45110 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45116 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45120 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45121 if (!SWIG_IsOK(ecode7
)) {
45122 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45124 arg7
= static_cast< long >(val7
);
45127 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45128 if (!SWIG_IsOK(res8
)) {
45129 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45134 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45138 arg9
= wxString_in_helper(obj8
);
45139 if (arg9
== NULL
) SWIG_fail
;
45144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45146 wxPyEndAllowThreads(__tstate
);
45147 if (PyErr_Occurred()) SWIG_fail
;
45150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45166 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45167 PyObject
*resultobj
= 0;
45168 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45172 PyObject
*swig_obj
[1] ;
45174 if (!args
) SWIG_fail
;
45175 swig_obj
[0] = args
;
45176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45177 if (!SWIG_IsOK(res1
)) {
45178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45180 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45183 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45184 wxPyEndAllowThreads(__tstate
);
45185 if (PyErr_Occurred()) SWIG_fail
;
45187 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45194 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45195 PyObject
*resultobj
= 0;
45196 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45202 PyObject
* obj0
= 0 ;
45203 PyObject
* obj1
= 0 ;
45204 char * kwnames
[] = {
45205 (char *) "self",(char *) "f", NULL
45208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45210 if (!SWIG_IsOK(res1
)) {
45211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45213 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45215 if (!SWIG_IsOK(res2
)) {
45216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45221 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45224 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45225 wxPyEndAllowThreads(__tstate
);
45226 if (PyErr_Occurred()) SWIG_fail
;
45228 resultobj
= SWIG_Py_Void();
45235 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45236 PyObject
*resultobj
= 0;
45237 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45238 unsigned int arg2
;
45241 unsigned int val2
;
45243 PyObject
* obj0
= 0 ;
45244 PyObject
* obj1
= 0 ;
45245 char * kwnames
[] = {
45246 (char *) "self",(char *) "max", NULL
45249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45251 if (!SWIG_IsOK(res1
)) {
45252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45254 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45255 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45256 if (!SWIG_IsOK(ecode2
)) {
45257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45259 arg2
= static_cast< unsigned int >(val2
);
45261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45262 (arg1
)->SetMaxPointSize(arg2
);
45263 wxPyEndAllowThreads(__tstate
);
45264 if (PyErr_Occurred()) SWIG_fail
;
45266 resultobj
= SWIG_Py_Void();
45273 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45274 PyObject
*resultobj
= 0;
45275 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45276 unsigned int result
;
45279 PyObject
*swig_obj
[1] ;
45281 if (!args
) SWIG_fail
;
45282 swig_obj
[0] = args
;
45283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45284 if (!SWIG_IsOK(res1
)) {
45285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45287 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45290 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45291 wxPyEndAllowThreads(__tstate
);
45292 if (PyErr_Occurred()) SWIG_fail
;
45294 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45301 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45304 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45305 return SWIG_Py_Void();
45308 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45309 return SWIG_Python_InitShadowInstance(args
);
45312 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45313 PyObject
*resultobj
= 0;
45314 wxObject
*arg1
= (wxObject
*) 0 ;
45317 wxFontPickerEvent
*result
= 0 ;
45324 PyObject
* obj0
= 0 ;
45325 PyObject
* obj1
= 0 ;
45326 PyObject
* obj2
= 0 ;
45327 char * kwnames
[] = {
45328 (char *) "generator",(char *) "id",(char *) "f", NULL
45331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45333 if (!SWIG_IsOK(res1
)) {
45334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45336 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45338 if (!SWIG_IsOK(ecode2
)) {
45339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45341 arg2
= static_cast< int >(val2
);
45342 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45343 if (!SWIG_IsOK(res3
)) {
45344 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45349 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45352 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45353 wxPyEndAllowThreads(__tstate
);
45354 if (PyErr_Occurred()) SWIG_fail
;
45356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45363 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45364 PyObject
*resultobj
= 0;
45365 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45369 PyObject
*swig_obj
[1] ;
45371 if (!args
) SWIG_fail
;
45372 swig_obj
[0] = args
;
45373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45374 if (!SWIG_IsOK(res1
)) {
45375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45377 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45380 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45381 wxPyEndAllowThreads(__tstate
);
45382 if (PyErr_Occurred()) SWIG_fail
;
45384 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45391 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45392 PyObject
*resultobj
= 0;
45393 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45399 PyObject
* obj0
= 0 ;
45400 PyObject
* obj1
= 0 ;
45401 char * kwnames
[] = {
45402 (char *) "self",(char *) "c", NULL
45405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45407 if (!SWIG_IsOK(res1
)) {
45408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45410 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45412 if (!SWIG_IsOK(res2
)) {
45413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45418 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45421 (arg1
)->SetFont((wxFont
const &)*arg2
);
45422 wxPyEndAllowThreads(__tstate
);
45423 if (PyErr_Occurred()) SWIG_fail
;
45425 resultobj
= SWIG_Py_Void();
45432 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45435 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45436 return SWIG_Py_Void();
45439 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45440 return SWIG_Python_InitShadowInstance(args
);
45443 static PyMethodDef SwigMethods
[] = {
45444 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45446 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45448 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45449 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45451 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45452 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45454 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45456 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45457 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45458 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45459 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45460 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45467 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45468 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45469 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45470 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45472 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45474 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45475 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45477 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45479 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45480 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45482 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45483 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45485 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45487 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45489 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45490 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45492 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45494 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45496 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45497 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45498 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45500 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45501 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45504 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45505 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45509 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45511 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45512 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45513 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45514 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45515 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45516 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45517 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45518 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45519 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45521 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45522 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45524 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45527 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45529 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
45530 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45531 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45533 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45535 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45537 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45538 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45540 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45543 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45544 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45546 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45548 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45549 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45551 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45552 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45554 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45558 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45559 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45561 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45563 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45567 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45568 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45570 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45581 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45586 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45592 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45593 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45595 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45599 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45600 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45601 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45603 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45604 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45614 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45615 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45616 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45617 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45618 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45619 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45620 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45622 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45623 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45624 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45625 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45626 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45627 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45628 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45629 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45630 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45631 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45633 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45634 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45636 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45638 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
45640 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45645 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45646 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45647 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45648 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45649 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45650 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45651 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45652 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45657 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45658 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45667 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45673 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45674 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45675 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45676 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45677 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45678 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45679 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45680 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45681 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45682 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45684 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45685 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45686 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45688 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
45690 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45694 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45695 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45697 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45698 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45699 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45700 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45701 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45703 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45705 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45706 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45707 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45708 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45709 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45712 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45713 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45715 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45717 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45718 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45719 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45724 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45726 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45727 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45729 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45731 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45735 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45736 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45739 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45740 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45742 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45744 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45745 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45747 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45750 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45751 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45753 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45761 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45762 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45769 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45770 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45772 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45774 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45777 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45778 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45780 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45782 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45785 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45786 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45791 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45792 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45794 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45796 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45797 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45799 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45800 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45801 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45804 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45805 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45807 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45810 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45812 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45813 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45814 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45816 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45817 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45822 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45827 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45829 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45831 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45833 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45834 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45837 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45845 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45847 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45849 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45851 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45852 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45854 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45856 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45859 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45863 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45864 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45866 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45867 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45869 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45871 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45872 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45873 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45875 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45876 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45878 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45880 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45881 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45882 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45884 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45885 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45887 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45895 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45896 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45897 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45899 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45900 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45902 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45904 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45905 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45907 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45909 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45910 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45911 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45912 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45913 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45914 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45915 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45916 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45917 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45918 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45919 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45920 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45921 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45922 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45923 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45924 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45925 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45926 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45927 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45929 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45936 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45938 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45940 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45948 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45953 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45954 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45971 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45972 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45973 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45974 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45977 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45978 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45980 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45981 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45984 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45985 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45986 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45988 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45991 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45992 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45994 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45998 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45999 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46000 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46001 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46002 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46003 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46005 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46006 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46007 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46008 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46009 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46010 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46011 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46025 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46026 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46027 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46028 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46029 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46030 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46031 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46032 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46033 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46034 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46035 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46036 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46037 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46038 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46039 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46040 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46041 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46042 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46043 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46044 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46045 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46046 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46047 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46048 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46049 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46050 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46051 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46052 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46053 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46054 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46055 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46056 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46057 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46058 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46059 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46060 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46062 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46063 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46064 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46065 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46066 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46067 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46068 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46069 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46070 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46071 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46072 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46073 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46074 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46075 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46076 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46077 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46078 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46079 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46080 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46081 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46082 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46083 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46084 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46085 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46087 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46088 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46090 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46097 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46098 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46099 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46114 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46115 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46116 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46118 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46119 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46121 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46127 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46128 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46133 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46135 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46136 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46159 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46161 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46162 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46164 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46168 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46170 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46174 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46175 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46176 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46177 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46178 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46181 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46182 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46183 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46184 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46186 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46187 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46189 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46191 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46192 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46193 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46194 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46195 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46197 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46199 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46201 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46202 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46204 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46206 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46209 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46210 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46211 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46213 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46216 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46217 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46219 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46221 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46222 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46250 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46251 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46252 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46259 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46269 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46272 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46276 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46278 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46284 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46290 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46291 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46292 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46294 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46298 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46300 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46301 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46304 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46305 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46307 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46309 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46310 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46311 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46313 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46314 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46315 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46316 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46318 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46321 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46322 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46324 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46332 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46333 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46334 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46335 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46336 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46337 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46338 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46339 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46340 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46342 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46344 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46346 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46348 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46350 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46351 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46353 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46355 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46356 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46357 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46359 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46360 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46361 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46363 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46370 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46371 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46372 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46373 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46374 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46380 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46384 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46386 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46387 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46392 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46393 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46395 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46398 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46400 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46401 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46402 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46403 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46405 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46407 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46409 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46411 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46413 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46416 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46417 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46418 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46420 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46422 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46423 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46426 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46428 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46430 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46431 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46433 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46435 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46436 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46437 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46438 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46440 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46442 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46444 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46445 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46447 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46449 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46450 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46452 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46454 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46457 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46458 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46459 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46461 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46463 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46466 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46467 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46468 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46470 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46472 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46473 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46475 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46477 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46480 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46481 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46482 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46484 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46486 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46487 { NULL
, NULL
, 0, NULL
}
46491 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46493 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46496 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46497 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46499 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46500 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46502 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46503 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46505 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46506 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46508 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46509 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46511 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46512 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46514 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46515 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46517 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46520 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46521 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46523 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46524 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46526 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46527 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46529 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46530 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46532 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46535 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46536 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46538 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46539 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46541 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46542 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46544 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46545 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46547 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46548 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46550 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46551 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46553 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46554 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46556 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46557 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46559 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46560 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46562 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46563 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46565 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46566 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46568 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46571 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46572 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46574 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46575 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46577 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46578 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46580 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46581 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46583 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46584 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46586 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46587 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46589 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46590 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46592 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46593 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46595 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46596 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46598 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46601 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46604 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46605 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46607 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46608 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46610 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46611 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46613 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46614 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46616 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46617 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46619 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46620 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46622 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46623 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46625 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46626 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46628 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46629 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46631 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46632 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46634 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46635 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46637 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46638 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46640 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46641 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46643 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46644 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46646 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46647 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46649 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46650 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46652 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46653 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46655 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46656 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46658 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46659 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46661 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46662 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46664 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46665 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46667 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46668 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46670 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46671 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46673 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46674 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46676 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46677 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46679 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46680 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46682 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46683 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46685 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46686 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46688 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46689 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46691 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46692 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46694 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46695 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46697 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46698 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46700 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46701 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46703 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46704 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46706 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46707 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46709 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46710 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46712 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46713 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46715 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46716 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46718 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46719 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46721 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46722 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46724 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46725 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46727 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46728 return (void *)((wxControl
*) ((wxGauge
*) x
));
46730 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46731 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46733 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46734 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46736 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46737 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46739 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46740 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46742 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46743 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46745 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46746 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46748 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46749 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46751 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46752 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46754 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46755 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46757 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46758 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46760 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46761 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46763 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46764 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46766 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46767 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46769 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46770 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46772 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46773 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46775 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46776 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46778 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46779 return (void *)((wxControl
*) ((wxSlider
*) x
));
46781 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46782 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46784 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46785 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46787 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46788 return (void *)((wxControl
*) ((wxButton
*) x
));
46790 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46791 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46793 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46794 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46796 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46797 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46799 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46800 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46802 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46803 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46805 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46806 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46808 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46809 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46811 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46812 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46814 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46815 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46817 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46818 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46820 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46821 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46823 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46824 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46826 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46827 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46829 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46830 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46832 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46833 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46835 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46836 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46838 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46839 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46841 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46842 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46844 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46845 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46847 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46848 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46850 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46851 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46853 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46854 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46856 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46857 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46859 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46860 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46862 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46863 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46865 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46868 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46869 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46871 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46872 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46874 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46877 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46880 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46881 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46883 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46886 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46889 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46890 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46892 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46893 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46895 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46896 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46898 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46901 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46902 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46904 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46907 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46910 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46913 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46914 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46916 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46919 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46920 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46922 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46925 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46928 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46931 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46934 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46937 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46940 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46943 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46946 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46949 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46952 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46955 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46958 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46961 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46964 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46967 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46970 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46973 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46976 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46977 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46979 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46980 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46982 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46983 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46985 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46988 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46991 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46994 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46997 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47000 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47001 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47003 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47006 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47009 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47012 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47013 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47015 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47016 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47018 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47019 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47021 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47022 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47024 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47025 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47027 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47030 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47033 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47036 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47039 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47042 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47045 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47048 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47051 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47054 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) ((wxSizer
*) x
));
47057 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47060 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47063 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47066 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47069 static void *_p_wxEventTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) ((wxEvent
*) x
));
47072 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47075 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47078 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47079 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47081 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47084 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47087 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47090 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47093 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47096 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47097 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47099 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47100 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47102 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47103 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47105 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47106 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47108 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47109 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47111 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47112 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47114 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47117 static void *_p_wxControlTo_p_wxObject(void *x
) {
47118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47120 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47123 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47126 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47129 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47132 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47135 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47136 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47138 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47141 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47142 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47144 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47147 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47150 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47151 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47153 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47154 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47156 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47159 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47162 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47165 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47168 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47171 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47172 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47174 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47177 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47180 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47183 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47184 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47186 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47189 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47192 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47193 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47195 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47198 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47199 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47201 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47204 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47205 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47207 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47208 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47210 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47211 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47213 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47214 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47216 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47217 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47219 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47220 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47222 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47225 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47226 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47228 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47231 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47232 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47234 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47235 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47237 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47238 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47240 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47241 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47243 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47244 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47246 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47247 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47249 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47250 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47252 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47253 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47255 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47258 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47259 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47261 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47262 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47264 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47267 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47268 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47270 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47271 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47273 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47274 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47276 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47279 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47282 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47285 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47288 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47291 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47294 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47297 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47298 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47300 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47301 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47303 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47306 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47309 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47312 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47315 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47316 return (void *)((wxObject
*) ((wxListItem
*) x
));
47318 static void *_p_wxImageTo_p_wxObject(void *x
) {
47319 return (void *)((wxObject
*) ((wxImage
*) x
));
47321 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47322 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47324 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47327 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47328 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47330 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47333 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47336 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47339 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47342 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47343 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47345 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47348 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47349 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47351 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47352 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47354 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47355 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47357 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47358 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47360 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47361 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47363 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47366 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47367 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47369 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47372 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47373 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47375 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47376 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47378 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47379 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47381 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47382 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47384 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47385 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47387 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47390 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47393 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47396 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47397 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47399 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47402 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47403 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47405 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47406 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47408 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47411 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47414 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47417 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47420 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47423 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47426 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47429 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47432 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47433 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47435 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47438 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47441 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47442 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47444 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47445 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47447 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47448 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47450 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47451 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47453 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47454 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47456 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47457 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47459 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47460 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47462 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47463 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47465 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47466 return (void *)((wxWindow
*) ((wxControl
*) x
));
47468 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47469 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47471 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47472 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47474 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47475 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47477 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47478 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47480 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47481 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47483 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47484 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47486 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47487 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47489 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47490 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47492 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47493 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47495 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47496 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47498 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47499 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47501 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47502 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47504 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47505 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47507 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47508 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47510 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47511 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47513 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47514 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47516 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47517 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47519 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47520 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47522 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47523 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47525 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47526 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47528 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47529 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47531 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47532 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47534 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47535 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47537 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47538 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47540 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47541 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47543 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47544 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47546 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47547 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47549 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47550 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47552 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47553 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47555 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47556 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47558 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47559 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47561 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47562 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47564 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47565 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47567 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47568 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47570 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47571 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47573 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47574 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47576 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47577 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47579 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47580 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47582 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47583 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47585 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47586 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47588 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47589 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47591 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47592 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47594 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47595 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47597 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47598 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47600 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47601 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47603 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47604 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47606 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47607 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47609 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47610 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47612 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47613 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47615 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47616 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47618 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47619 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47621 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47622 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47624 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47625 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47627 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47628 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47630 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47631 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47633 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47634 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47636 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47637 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47639 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47640 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47642 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47643 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47645 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47646 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47648 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47649 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47651 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47652 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47654 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47655 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47657 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47658 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47660 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47661 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47663 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47664 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47666 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47667 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47669 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47670 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47672 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47673 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47675 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47676 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47678 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47679 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47681 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47682 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47684 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47685 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47686 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};
47687 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47688 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47689 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47690 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47691 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47692 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47693 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47694 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47695 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47696 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47697 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47698 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47699 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47700 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47701 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47702 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47703 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47704 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47705 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47706 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47707 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47708 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47709 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47710 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47711 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47712 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47713 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47714 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47715 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47716 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47717 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47718 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47719 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47720 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47721 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47722 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47723 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47724 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47725 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47726 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47727 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47728 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47729 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47730 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47731 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47732 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47733 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47734 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47735 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47736 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47737 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47738 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47739 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47740 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47741 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47742 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47743 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47744 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47745 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47746 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47747 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47748 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47749 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47750 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47751 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47752 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47753 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47754 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47755 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47756 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47757 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47758 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47759 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47760 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47761 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47762 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47763 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47764 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47765 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47766 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47767 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47768 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47769 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47770 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47771 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47772 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47773 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47774 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47775 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47776 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47777 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47778 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47779 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47780 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47781 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47782 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47783 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47784 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47785 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47786 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47787 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47788 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47789 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47790 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47791 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47792 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47793 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47794 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47795 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47796 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47797 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47798 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47799 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47800 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47801 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47802 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47803 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47804 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47805 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47806 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47807 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47808 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47809 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47810 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47811 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47812 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47813 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47814 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47815 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47816 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47817 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47818 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47819 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47820 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47821 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47822 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47823 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47824 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47825 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47826 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47827 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47828 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47829 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47830 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47831 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47832 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47833 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47834 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47835 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47836 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47837 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47838 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47839 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47840 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47841 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47842 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47843 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47844 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47845 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47846 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47847 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47848 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47849 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47850 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47851 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47852 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47853 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47854 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47855 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47856 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47857 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47858 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47860 static swig_type_info
*swig_type_initial
[] = {
47863 &_swigt__p_form_ops_t
,
47866 &_swigt__p_unsigned_char
,
47867 &_swigt__p_unsigned_int
,
47868 &_swigt__p_unsigned_long
,
47870 &_swigt__p_wxANIHandler
,
47871 &_swigt__p_wxAcceleratorTable
,
47872 &_swigt__p_wxActivateEvent
,
47873 &_swigt__p_wxArrayInt
,
47874 &_swigt__p_wxArrayString
,
47875 &_swigt__p_wxBMPHandler
,
47876 &_swigt__p_wxBitmap
,
47877 &_swigt__p_wxBitmapButton
,
47878 &_swigt__p_wxBookCtrlBase
,
47879 &_swigt__p_wxBookCtrlBaseEvent
,
47880 &_swigt__p_wxBoxSizer
,
47881 &_swigt__p_wxButton
,
47882 &_swigt__p_wxCURHandler
,
47883 &_swigt__p_wxCheckBox
,
47884 &_swigt__p_wxCheckListBox
,
47885 &_swigt__p_wxChildFocusEvent
,
47886 &_swigt__p_wxChoice
,
47887 &_swigt__p_wxChoicebook
,
47888 &_swigt__p_wxChoicebookEvent
,
47889 &_swigt__p_wxClipboardTextEvent
,
47890 &_swigt__p_wxCloseEvent
,
47891 &_swigt__p_wxColour
,
47892 &_swigt__p_wxColourPickerCtrl
,
47893 &_swigt__p_wxColourPickerEvent
,
47894 &_swigt__p_wxComboBox
,
47895 &_swigt__p_wxCommandEvent
,
47896 &_swigt__p_wxContextHelp
,
47897 &_swigt__p_wxContextHelpButton
,
47898 &_swigt__p_wxContextMenuEvent
,
47899 &_swigt__p_wxControl
,
47900 &_swigt__p_wxControlWithItems
,
47901 &_swigt__p_wxCursor
,
47903 &_swigt__p_wxDateEvent
,
47904 &_swigt__p_wxDatePickerCtrl
,
47905 &_swigt__p_wxDateTime
,
47906 &_swigt__p_wxDirFilterListCtrl
,
47907 &_swigt__p_wxDirPickerCtrl
,
47908 &_swigt__p_wxDisplayChangedEvent
,
47909 &_swigt__p_wxDropFilesEvent
,
47910 &_swigt__p_wxDuplexMode
,
47911 &_swigt__p_wxEraseEvent
,
47912 &_swigt__p_wxEvent
,
47913 &_swigt__p_wxEvtHandler
,
47914 &_swigt__p_wxFSFile
,
47915 &_swigt__p_wxFileDirPickerEvent
,
47916 &_swigt__p_wxFilePickerCtrl
,
47917 &_swigt__p_wxFileSystem
,
47918 &_swigt__p_wxFlexGridSizer
,
47919 &_swigt__p_wxFocusEvent
,
47921 &_swigt__p_wxFontPickerCtrl
,
47922 &_swigt__p_wxFontPickerEvent
,
47923 &_swigt__p_wxGBSizerItem
,
47924 &_swigt__p_wxGIFHandler
,
47925 &_swigt__p_wxGauge
,
47926 &_swigt__p_wxGenericDirCtrl
,
47927 &_swigt__p_wxGenericDragImage
,
47928 &_swigt__p_wxGridBagSizer
,
47929 &_swigt__p_wxGridSizer
,
47930 &_swigt__p_wxHelpEvent
,
47931 &_swigt__p_wxHelpProvider
,
47932 &_swigt__p_wxHyperlinkCtrl
,
47933 &_swigt__p_wxHyperlinkEvent
,
47934 &_swigt__p_wxICOHandler
,
47936 &_swigt__p_wxIconizeEvent
,
47937 &_swigt__p_wxIdleEvent
,
47938 &_swigt__p_wxImage
,
47939 &_swigt__p_wxImageHandler
,
47940 &_swigt__p_wxImageList
,
47941 &_swigt__p_wxIndividualLayoutConstraint
,
47942 &_swigt__p_wxInitDialogEvent
,
47943 &_swigt__p_wxItemContainer
,
47944 &_swigt__p_wxJPEGHandler
,
47945 &_swigt__p_wxKeyEvent
,
47946 &_swigt__p_wxLayoutConstraints
,
47947 &_swigt__p_wxListBox
,
47948 &_swigt__p_wxListEvent
,
47949 &_swigt__p_wxListItem
,
47950 &_swigt__p_wxListItemAttr
,
47951 &_swigt__p_wxListView
,
47952 &_swigt__p_wxListbook
,
47953 &_swigt__p_wxListbookEvent
,
47954 &_swigt__p_wxMaximizeEvent
,
47955 &_swigt__p_wxMemoryDC
,
47957 &_swigt__p_wxMenuBar
,
47958 &_swigt__p_wxMenuEvent
,
47959 &_swigt__p_wxMenuItem
,
47960 &_swigt__p_wxMouseCaptureChangedEvent
,
47961 &_swigt__p_wxMouseCaptureLostEvent
,
47962 &_swigt__p_wxMouseEvent
,
47963 &_swigt__p_wxMoveEvent
,
47964 &_swigt__p_wxNavigationKeyEvent
,
47965 &_swigt__p_wxNcPaintEvent
,
47966 &_swigt__p_wxNotebook
,
47967 &_swigt__p_wxNotebookEvent
,
47968 &_swigt__p_wxNotifyEvent
,
47969 &_swigt__p_wxObject
,
47970 &_swigt__p_wxPCXHandler
,
47971 &_swigt__p_wxPNGHandler
,
47972 &_swigt__p_wxPNMHandler
,
47973 &_swigt__p_wxPaintEvent
,
47974 &_swigt__p_wxPaletteChangedEvent
,
47975 &_swigt__p_wxPaperSize
,
47976 &_swigt__p_wxPickerBase
,
47977 &_swigt__p_wxPoint
,
47978 &_swigt__p_wxPyApp
,
47979 &_swigt__p_wxPyCommandEvent
,
47980 &_swigt__p_wxPyControl
,
47981 &_swigt__p_wxPyEvent
,
47982 &_swigt__p_wxPyImageHandler
,
47983 &_swigt__p_wxPyListCtrl
,
47984 &_swigt__p_wxPySizer
,
47985 &_swigt__p_wxPyTreeCtrl
,
47986 &_swigt__p_wxPyTreeItemData
,
47987 &_swigt__p_wxPyValidator
,
47988 &_swigt__p_wxQueryNewPaletteEvent
,
47989 &_swigt__p_wxRadioBox
,
47990 &_swigt__p_wxRadioButton
,
47992 &_swigt__p_wxScrollBar
,
47993 &_swigt__p_wxScrollEvent
,
47994 &_swigt__p_wxScrollWinEvent
,
47995 &_swigt__p_wxSetCursorEvent
,
47996 &_swigt__p_wxShowEvent
,
47997 &_swigt__p_wxSimpleHelpProvider
,
47999 &_swigt__p_wxSizeEvent
,
48000 &_swigt__p_wxSizer
,
48001 &_swigt__p_wxSizerItem
,
48002 &_swigt__p_wxSlider
,
48003 &_swigt__p_wxSpinButton
,
48004 &_swigt__p_wxSpinCtrl
,
48005 &_swigt__p_wxSpinEvent
,
48006 &_swigt__p_wxStaticBitmap
,
48007 &_swigt__p_wxStaticBox
,
48008 &_swigt__p_wxStaticBoxSizer
,
48009 &_swigt__p_wxStaticLine
,
48010 &_swigt__p_wxStaticText
,
48011 &_swigt__p_wxStdDialogButtonSizer
,
48012 &_swigt__p_wxString
,
48013 &_swigt__p_wxSysColourChangedEvent
,
48014 &_swigt__p_wxTIFFHandler
,
48015 &_swigt__p_wxTextAttr
,
48016 &_swigt__p_wxTextCtrl
,
48017 &_swigt__p_wxTextUrlEvent
,
48018 &_swigt__p_wxToggleButton
,
48019 &_swigt__p_wxToolBar
,
48020 &_swigt__p_wxToolBarBase
,
48021 &_swigt__p_wxToolBarToolBase
,
48022 &_swigt__p_wxToolbook
,
48023 &_swigt__p_wxToolbookEvent
,
48024 &_swigt__p_wxTreeEvent
,
48025 &_swigt__p_wxTreeItemId
,
48026 &_swigt__p_wxTreebook
,
48027 &_swigt__p_wxTreebookEvent
,
48028 &_swigt__p_wxUpdateUIEvent
,
48029 &_swigt__p_wxValidator
,
48030 &_swigt__p_wxVisualAttributes
,
48031 &_swigt__p_wxWindow
,
48032 &_swigt__p_wxWindowBase
,
48033 &_swigt__p_wxWindowCreateEvent
,
48034 &_swigt__p_wxWindowDestroyEvent
,
48035 &_swigt__p_wxXPMHandler
,
48038 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48039 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48040 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48041 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48042 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48043 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48044 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48045 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48046 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48047 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48048 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48049 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48050 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}};
48051 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}};
48052 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}};
48053 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}};
48054 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48055 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48056 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}};
48057 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48058 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48059 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48060 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48061 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48062 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48063 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48064 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48065 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48066 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48067 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48068 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48069 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48070 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48071 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48072 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}};
48073 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48074 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48075 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}};
48076 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}};
48077 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48078 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48079 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48080 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48081 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48082 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48083 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48084 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48085 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48086 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48087 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48088 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48089 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48090 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48091 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48092 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48093 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48094 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48095 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48096 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48097 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48098 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48099 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48100 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48101 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48102 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48103 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48104 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48105 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48106 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48107 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48108 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48109 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
48110 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48111 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48112 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48113 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48114 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}};
48115 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48116 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48117 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48118 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48119 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48120 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48121 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48122 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48123 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48124 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}};
48125 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48126 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48127 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48128 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48129 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}};
48130 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48131 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}};
48132 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48133 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48134 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48135 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48136 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48137 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48138 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48139 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48140 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48141 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48142 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}};
48143 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48144 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48145 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48146 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48147 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48148 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48149 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48150 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48151 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48152 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48153 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48154 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48155 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48156 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48157 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48158 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48159 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48160 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48161 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48162 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48163 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48164 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48165 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48166 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48167 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48168 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48169 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48170 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48171 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48172 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48173 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
48174 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48175 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}};
48176 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48177 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48178 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}};
48179 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48180 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48181 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48182 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48183 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48184 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48185 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48186 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48187 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48188 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48189 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48190 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48191 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48192 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48193 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48194 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48195 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48196 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48197 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48198 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48199 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48200 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48201 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}};
48202 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48203 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48204 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48205 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48206 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48207 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48208 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48209 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}};
48210 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48211 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}};
48212 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48214 static swig_cast_info
*swig_cast_initial
[] = {
48217 _swigc__p_form_ops_t
,
48220 _swigc__p_unsigned_char
,
48221 _swigc__p_unsigned_int
,
48222 _swigc__p_unsigned_long
,
48224 _swigc__p_wxANIHandler
,
48225 _swigc__p_wxAcceleratorTable
,
48226 _swigc__p_wxActivateEvent
,
48227 _swigc__p_wxArrayInt
,
48228 _swigc__p_wxArrayString
,
48229 _swigc__p_wxBMPHandler
,
48230 _swigc__p_wxBitmap
,
48231 _swigc__p_wxBitmapButton
,
48232 _swigc__p_wxBookCtrlBase
,
48233 _swigc__p_wxBookCtrlBaseEvent
,
48234 _swigc__p_wxBoxSizer
,
48235 _swigc__p_wxButton
,
48236 _swigc__p_wxCURHandler
,
48237 _swigc__p_wxCheckBox
,
48238 _swigc__p_wxCheckListBox
,
48239 _swigc__p_wxChildFocusEvent
,
48240 _swigc__p_wxChoice
,
48241 _swigc__p_wxChoicebook
,
48242 _swigc__p_wxChoicebookEvent
,
48243 _swigc__p_wxClipboardTextEvent
,
48244 _swigc__p_wxCloseEvent
,
48245 _swigc__p_wxColour
,
48246 _swigc__p_wxColourPickerCtrl
,
48247 _swigc__p_wxColourPickerEvent
,
48248 _swigc__p_wxComboBox
,
48249 _swigc__p_wxCommandEvent
,
48250 _swigc__p_wxContextHelp
,
48251 _swigc__p_wxContextHelpButton
,
48252 _swigc__p_wxContextMenuEvent
,
48253 _swigc__p_wxControl
,
48254 _swigc__p_wxControlWithItems
,
48255 _swigc__p_wxCursor
,
48257 _swigc__p_wxDateEvent
,
48258 _swigc__p_wxDatePickerCtrl
,
48259 _swigc__p_wxDateTime
,
48260 _swigc__p_wxDirFilterListCtrl
,
48261 _swigc__p_wxDirPickerCtrl
,
48262 _swigc__p_wxDisplayChangedEvent
,
48263 _swigc__p_wxDropFilesEvent
,
48264 _swigc__p_wxDuplexMode
,
48265 _swigc__p_wxEraseEvent
,
48267 _swigc__p_wxEvtHandler
,
48268 _swigc__p_wxFSFile
,
48269 _swigc__p_wxFileDirPickerEvent
,
48270 _swigc__p_wxFilePickerCtrl
,
48271 _swigc__p_wxFileSystem
,
48272 _swigc__p_wxFlexGridSizer
,
48273 _swigc__p_wxFocusEvent
,
48275 _swigc__p_wxFontPickerCtrl
,
48276 _swigc__p_wxFontPickerEvent
,
48277 _swigc__p_wxGBSizerItem
,
48278 _swigc__p_wxGIFHandler
,
48280 _swigc__p_wxGenericDirCtrl
,
48281 _swigc__p_wxGenericDragImage
,
48282 _swigc__p_wxGridBagSizer
,
48283 _swigc__p_wxGridSizer
,
48284 _swigc__p_wxHelpEvent
,
48285 _swigc__p_wxHelpProvider
,
48286 _swigc__p_wxHyperlinkCtrl
,
48287 _swigc__p_wxHyperlinkEvent
,
48288 _swigc__p_wxICOHandler
,
48290 _swigc__p_wxIconizeEvent
,
48291 _swigc__p_wxIdleEvent
,
48293 _swigc__p_wxImageHandler
,
48294 _swigc__p_wxImageList
,
48295 _swigc__p_wxIndividualLayoutConstraint
,
48296 _swigc__p_wxInitDialogEvent
,
48297 _swigc__p_wxItemContainer
,
48298 _swigc__p_wxJPEGHandler
,
48299 _swigc__p_wxKeyEvent
,
48300 _swigc__p_wxLayoutConstraints
,
48301 _swigc__p_wxListBox
,
48302 _swigc__p_wxListEvent
,
48303 _swigc__p_wxListItem
,
48304 _swigc__p_wxListItemAttr
,
48305 _swigc__p_wxListView
,
48306 _swigc__p_wxListbook
,
48307 _swigc__p_wxListbookEvent
,
48308 _swigc__p_wxMaximizeEvent
,
48309 _swigc__p_wxMemoryDC
,
48311 _swigc__p_wxMenuBar
,
48312 _swigc__p_wxMenuEvent
,
48313 _swigc__p_wxMenuItem
,
48314 _swigc__p_wxMouseCaptureChangedEvent
,
48315 _swigc__p_wxMouseCaptureLostEvent
,
48316 _swigc__p_wxMouseEvent
,
48317 _swigc__p_wxMoveEvent
,
48318 _swigc__p_wxNavigationKeyEvent
,
48319 _swigc__p_wxNcPaintEvent
,
48320 _swigc__p_wxNotebook
,
48321 _swigc__p_wxNotebookEvent
,
48322 _swigc__p_wxNotifyEvent
,
48323 _swigc__p_wxObject
,
48324 _swigc__p_wxPCXHandler
,
48325 _swigc__p_wxPNGHandler
,
48326 _swigc__p_wxPNMHandler
,
48327 _swigc__p_wxPaintEvent
,
48328 _swigc__p_wxPaletteChangedEvent
,
48329 _swigc__p_wxPaperSize
,
48330 _swigc__p_wxPickerBase
,
48333 _swigc__p_wxPyCommandEvent
,
48334 _swigc__p_wxPyControl
,
48335 _swigc__p_wxPyEvent
,
48336 _swigc__p_wxPyImageHandler
,
48337 _swigc__p_wxPyListCtrl
,
48338 _swigc__p_wxPySizer
,
48339 _swigc__p_wxPyTreeCtrl
,
48340 _swigc__p_wxPyTreeItemData
,
48341 _swigc__p_wxPyValidator
,
48342 _swigc__p_wxQueryNewPaletteEvent
,
48343 _swigc__p_wxRadioBox
,
48344 _swigc__p_wxRadioButton
,
48346 _swigc__p_wxScrollBar
,
48347 _swigc__p_wxScrollEvent
,
48348 _swigc__p_wxScrollWinEvent
,
48349 _swigc__p_wxSetCursorEvent
,
48350 _swigc__p_wxShowEvent
,
48351 _swigc__p_wxSimpleHelpProvider
,
48353 _swigc__p_wxSizeEvent
,
48355 _swigc__p_wxSizerItem
,
48356 _swigc__p_wxSlider
,
48357 _swigc__p_wxSpinButton
,
48358 _swigc__p_wxSpinCtrl
,
48359 _swigc__p_wxSpinEvent
,
48360 _swigc__p_wxStaticBitmap
,
48361 _swigc__p_wxStaticBox
,
48362 _swigc__p_wxStaticBoxSizer
,
48363 _swigc__p_wxStaticLine
,
48364 _swigc__p_wxStaticText
,
48365 _swigc__p_wxStdDialogButtonSizer
,
48366 _swigc__p_wxString
,
48367 _swigc__p_wxSysColourChangedEvent
,
48368 _swigc__p_wxTIFFHandler
,
48369 _swigc__p_wxTextAttr
,
48370 _swigc__p_wxTextCtrl
,
48371 _swigc__p_wxTextUrlEvent
,
48372 _swigc__p_wxToggleButton
,
48373 _swigc__p_wxToolBar
,
48374 _swigc__p_wxToolBarBase
,
48375 _swigc__p_wxToolBarToolBase
,
48376 _swigc__p_wxToolbook
,
48377 _swigc__p_wxToolbookEvent
,
48378 _swigc__p_wxTreeEvent
,
48379 _swigc__p_wxTreeItemId
,
48380 _swigc__p_wxTreebook
,
48381 _swigc__p_wxTreebookEvent
,
48382 _swigc__p_wxUpdateUIEvent
,
48383 _swigc__p_wxValidator
,
48384 _swigc__p_wxVisualAttributes
,
48385 _swigc__p_wxWindow
,
48386 _swigc__p_wxWindowBase
,
48387 _swigc__p_wxWindowCreateEvent
,
48388 _swigc__p_wxWindowDestroyEvent
,
48389 _swigc__p_wxXPMHandler
,
48393 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48395 static swig_const_info swig_const_table
[] = {
48396 {0, 0, 0, 0.0, 0, 0}};
48401 /* -----------------------------------------------------------------------------
48402 * Type initialization:
48403 * This problem is tough by the requirement that no dynamic
48404 * memory is used. Also, since swig_type_info structures store pointers to
48405 * swig_cast_info structures and swig_cast_info structures store pointers back
48406 * to swig_type_info structures, we need some lookup code at initialization.
48407 * The idea is that swig generates all the structures that are needed.
48408 * The runtime then collects these partially filled structures.
48409 * The SWIG_InitializeModule function takes these initial arrays out of
48410 * swig_module, and does all the lookup, filling in the swig_module.types
48411 * array with the correct data and linking the correct swig_cast_info
48412 * structures together.
48414 * The generated swig_type_info structures are assigned staticly to an initial
48415 * array. We just loop though that array, and handle each type individually.
48416 * First we lookup if this type has been already loaded, and if so, use the
48417 * loaded structure instead of the generated one. Then we have to fill in the
48418 * cast linked list. The cast data is initially stored in something like a
48419 * two-dimensional array. Each row corresponds to a type (there are the same
48420 * number of rows as there are in the swig_type_initial array). Each entry in
48421 * a column is one of the swig_cast_info structures for that type.
48422 * The cast_initial array is actually an array of arrays, because each row has
48423 * a variable number of columns. So to actually build the cast linked list,
48424 * we find the array of casts associated with the type, and loop through it
48425 * adding the casts to the list. The one last trick we need to do is making
48426 * sure the type pointer in the swig_cast_info struct is correct.
48428 * First off, we lookup the cast->type name to see if it is already loaded.
48429 * There are three cases to handle:
48430 * 1) If the cast->type has already been loaded AND the type we are adding
48431 * casting info to has not been loaded (it is in this module), THEN we
48432 * replace the cast->type pointer with the type pointer that has already
48434 * 2) If BOTH types (the one we are adding casting info to, and the
48435 * cast->type) are loaded, THEN the cast info has already been loaded by
48436 * the previous module so we just ignore it.
48437 * 3) Finally, if cast->type has not already been loaded, then we add that
48438 * swig_cast_info to the linked list (because the cast->type) pointer will
48440 * ----------------------------------------------------------------------------- */
48450 #define SWIGRUNTIME_DEBUG
48454 SWIG_InitializeModule(void *clientdata
) {
48456 swig_module_info
*module_head
;
48457 static int init_run
= 0;
48459 clientdata
= clientdata
;
48461 if (init_run
) return;
48464 /* Initialize the swig_module */
48465 swig_module
.type_initial
= swig_type_initial
;
48466 swig_module
.cast_initial
= swig_cast_initial
;
48468 /* Try and load any already created modules */
48469 module_head
= SWIG_GetModule(clientdata
);
48471 swig_module
.next
= module_head
->next
;
48472 module_head
->next
= &swig_module
;
48474 /* This is the first module loaded */
48475 swig_module
.next
= &swig_module
;
48476 SWIG_SetModule(clientdata
, &swig_module
);
48479 /* Now work on filling in swig_module.types */
48480 #ifdef SWIGRUNTIME_DEBUG
48481 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48483 for (i
= 0; i
< swig_module
.size
; ++i
) {
48484 swig_type_info
*type
= 0;
48485 swig_type_info
*ret
;
48486 swig_cast_info
*cast
;
48488 #ifdef SWIGRUNTIME_DEBUG
48489 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48492 /* if there is another module already loaded */
48493 if (swig_module
.next
!= &swig_module
) {
48494 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48497 /* Overwrite clientdata field */
48498 #ifdef SWIGRUNTIME_DEBUG
48499 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48501 if (swig_module
.type_initial
[i
]->clientdata
) {
48502 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48503 #ifdef SWIGRUNTIME_DEBUG
48504 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48508 type
= swig_module
.type_initial
[i
];
48511 /* Insert casting types */
48512 cast
= swig_module
.cast_initial
[i
];
48513 while (cast
->type
) {
48514 /* Don't need to add information already in the list */
48516 #ifdef SWIGRUNTIME_DEBUG
48517 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48519 if (swig_module
.next
!= &swig_module
) {
48520 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48521 #ifdef SWIGRUNTIME_DEBUG
48522 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48526 if (type
== swig_module
.type_initial
[i
]) {
48527 #ifdef SWIGRUNTIME_DEBUG
48528 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48533 /* Check for casting already in the list */
48534 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48535 #ifdef SWIGRUNTIME_DEBUG
48536 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48538 if (!ocast
) ret
= 0;
48543 #ifdef SWIGRUNTIME_DEBUG
48544 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48547 type
->cast
->prev
= cast
;
48548 cast
->next
= type
->cast
;
48554 /* Set entry in modules->types array equal to the type */
48555 swig_module
.types
[i
] = type
;
48557 swig_module
.types
[i
] = 0;
48559 #ifdef SWIGRUNTIME_DEBUG
48560 printf("**** SWIG_InitializeModule: Cast List ******\n");
48561 for (i
= 0; i
< swig_module
.size
; ++i
) {
48563 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48564 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48565 while (cast
->type
) {
48566 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48570 printf("---- Total casts: %d\n",j
);
48572 printf("**** SWIG_InitializeModule: Cast List ******\n");
48576 /* This function will propagate the clientdata field of type to
48577 * any new swig_type_info structures that have been added into the list
48578 * of equivalent types. It is like calling
48579 * SWIG_TypeClientData(type, clientdata) a second time.
48582 SWIG_PropagateClientData(void) {
48584 swig_cast_info
*equiv
;
48585 static int init_run
= 0;
48587 if (init_run
) return;
48590 for (i
= 0; i
< swig_module
.size
; i
++) {
48591 if (swig_module
.types
[i
]->clientdata
) {
48592 equiv
= swig_module
.types
[i
]->cast
;
48594 if (!equiv
->converter
) {
48595 if (equiv
->type
&& !equiv
->type
->clientdata
)
48596 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48598 equiv
= equiv
->next
;
48618 /* Python-specific SWIG API */
48619 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48620 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48621 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48623 /* -----------------------------------------------------------------------------
48624 * global variable support code.
48625 * ----------------------------------------------------------------------------- */
48627 typedef struct swig_globalvar
{
48628 char *name
; /* Name of global variable */
48629 PyObject
*(*get_attr
)(void); /* Return the current value */
48630 int (*set_attr
)(PyObject
*); /* Set the value */
48631 struct swig_globalvar
*next
;
48634 typedef struct swig_varlinkobject
{
48636 swig_globalvar
*vars
;
48637 } swig_varlinkobject
;
48639 SWIGINTERN PyObject
*
48640 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48641 return PyString_FromString("<Swig global variables>");
48644 SWIGINTERN PyObject
*
48645 swig_varlink_str(swig_varlinkobject
*v
) {
48646 PyObject
*str
= PyString_FromString("(");
48647 swig_globalvar
*var
;
48648 for (var
= v
->vars
; var
; var
=var
->next
) {
48649 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48650 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48652 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48657 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48658 PyObject
*str
= swig_varlink_str(v
);
48659 fprintf(fp
,"Swig global variables ");
48660 fprintf(fp
,"%s\n", PyString_AsString(str
));
48666 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48667 swig_globalvar
*var
= v
->vars
;
48669 swig_globalvar
*n
= var
->next
;
48676 SWIGINTERN PyObject
*
48677 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48678 PyObject
*res
= NULL
;
48679 swig_globalvar
*var
= v
->vars
;
48681 if (strcmp(var
->name
,n
) == 0) {
48682 res
= (*var
->get_attr
)();
48687 if (res
== NULL
&& !PyErr_Occurred()) {
48688 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48694 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48696 swig_globalvar
*var
= v
->vars
;
48698 if (strcmp(var
->name
,n
) == 0) {
48699 res
= (*var
->set_attr
)(p
);
48704 if (res
== 1 && !PyErr_Occurred()) {
48705 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48710 SWIGINTERN PyTypeObject
*
48711 swig_varlink_type(void) {
48712 static char varlink__doc__
[] = "Swig var link object";
48713 static PyTypeObject varlink_type
;
48714 static int type_init
= 0;
48716 const PyTypeObject tmp
48718 PyObject_HEAD_INIT(NULL
)
48719 0, /* Number of items in variable part (ob_size) */
48720 (char *)"swigvarlink", /* Type name (tp_name) */
48721 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48722 0, /* Itemsize (tp_itemsize) */
48723 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48724 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48725 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48726 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48727 0, /* tp_compare */
48728 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48729 0, /* tp_as_number */
48730 0, /* tp_as_sequence */
48731 0, /* tp_as_mapping */
48734 (reprfunc
)swig_varlink_str
, /* tp_str */
48735 0, /* tp_getattro */
48736 0, /* tp_setattro */
48737 0, /* tp_as_buffer */
48739 varlink__doc__
, /* tp_doc */
48740 0, /* tp_traverse */
48742 0, /* tp_richcompare */
48743 0, /* tp_weaklistoffset */
48744 #if PY_VERSION_HEX >= 0x02020000
48745 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48747 #if PY_VERSION_HEX >= 0x02030000
48750 #ifdef COUNT_ALLOCS
48751 0,0,0,0 /* tp_alloc -> tp_next */
48754 varlink_type
= tmp
;
48755 varlink_type
.ob_type
= &PyType_Type
;
48758 return &varlink_type
;
48761 /* Create a variable linking object for use later */
48762 SWIGINTERN PyObject
*
48763 SWIG_Python_newvarlink(void) {
48764 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48768 return ((PyObject
*) result
);
48772 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48773 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48774 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48776 size_t size
= strlen(name
)+1;
48777 gv
->name
= (char *)malloc(size
);
48779 strncpy(gv
->name
,name
,size
);
48780 gv
->get_attr
= get_attr
;
48781 gv
->set_attr
= set_attr
;
48782 gv
->next
= v
->vars
;
48788 SWIGINTERN PyObject
*
48790 static PyObject
*_SWIG_globals
= 0;
48791 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48792 return _SWIG_globals
;
48795 /* -----------------------------------------------------------------------------
48796 * constants/methods manipulation
48797 * ----------------------------------------------------------------------------- */
48799 /* Install Constants */
48801 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48804 for (i
= 0; constants
[i
].type
; ++i
) {
48805 switch(constants
[i
].type
) {
48806 case SWIG_PY_POINTER
:
48807 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48809 case SWIG_PY_BINARY
:
48810 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48817 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48823 /* -----------------------------------------------------------------------------*/
48824 /* Fix SwigMethods to carry the callback ptrs when needed */
48825 /* -----------------------------------------------------------------------------*/
48828 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48829 swig_const_info
*const_table
,
48830 swig_type_info
**types
,
48831 swig_type_info
**types_initial
) {
48833 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48834 const char *c
= methods
[i
].ml_doc
;
48835 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48837 swig_const_info
*ci
= 0;
48838 const char *name
= c
+ 10;
48839 for (j
= 0; const_table
[j
].type
; ++j
) {
48840 if (strncmp(const_table
[j
].name
, name
,
48841 strlen(const_table
[j
].name
)) == 0) {
48842 ci
= &(const_table
[j
]);
48847 size_t shift
= (ci
->ptype
) - types
;
48848 swig_type_info
*ty
= types_initial
[shift
];
48849 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48850 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48851 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48854 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48856 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48858 strncpy(buff
, "swig_ptr: ", 10);
48860 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48861 methods
[i
].ml_doc
= ndoc
;
48873 /* -----------------------------------------------------------------------------*
48874 * Partial Init method
48875 * -----------------------------------------------------------------------------*/
48880 SWIGEXPORT
void SWIG_init(void) {
48883 /* Fix SwigMethods to carry the callback ptrs when needed */
48884 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48886 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48887 d
= PyModule_GetDict(m
);
48889 SWIG_InitializeModule(0);
48890 SWIG_InstallConstants(d
,swig_const_table
);
48893 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48894 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48895 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48896 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48897 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48898 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48899 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48900 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48901 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48902 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48903 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48904 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48905 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48906 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48907 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48908 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48909 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48910 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48911 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48912 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48913 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48914 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48915 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48916 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48917 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48918 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48919 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48920 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48921 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48922 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48923 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48924 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48925 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48926 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48927 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48928 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48929 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48930 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48931 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48932 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48933 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48934 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48935 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48936 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48937 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48938 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48939 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48940 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48941 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48942 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48943 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48944 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48945 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48946 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48947 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48948 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48949 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48950 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48951 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48952 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48953 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48954 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48955 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48956 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48957 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48958 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48959 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48960 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48961 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48962 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48963 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48964 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48965 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
48966 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48967 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48970 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48971 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48972 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48973 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48974 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48975 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48976 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48977 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48978 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48979 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48980 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48981 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48982 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48983 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48984 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48985 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48986 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48987 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48988 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48989 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48990 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48991 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48992 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48993 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48995 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48996 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48997 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48998 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48999 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49000 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49001 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49002 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49003 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49004 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49005 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49006 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49007 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49008 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49009 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49010 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49011 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49012 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49013 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49014 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49015 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49016 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49017 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49018 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49019 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49020 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49021 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49022 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49023 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49024 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49025 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49026 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49027 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49028 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49029 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49030 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49031 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49032 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49033 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49034 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49035 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49036 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49037 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49038 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49039 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49040 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49041 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49042 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49043 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49044 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49045 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49046 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49047 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49048 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49049 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49050 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49051 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49052 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49053 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49054 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49055 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49056 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49057 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49058 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49059 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49060 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49061 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49062 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49063 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49064 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49065 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49066 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49067 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49068 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49069 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49070 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49071 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49072 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49073 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49074 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49075 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49076 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49077 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49078 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49079 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49080 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49081 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49082 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49083 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49084 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49085 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49086 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49087 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49088 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49089 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49090 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49091 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49092 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49093 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49094 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49095 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49096 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49097 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49098 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49099 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49100 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49101 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49102 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49103 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49104 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49105 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49106 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49107 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49108 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49109 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49110 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49111 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49112 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49113 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49114 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49115 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49116 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49117 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49118 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49119 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49120 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49121 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49122 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49123 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49124 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49125 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49126 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49127 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49128 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49129 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49130 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49131 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49132 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49133 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49134 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49135 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49136 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49137 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49138 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49139 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49140 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49141 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49142 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49143 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49144 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49145 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49146 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49147 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49151 // Map renamed classes back to their common name for OOR
49152 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49154 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49155 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49156 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49157 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49158 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49159 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49160 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49161 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49162 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49163 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49164 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49165 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49166 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49167 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49168 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49169 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49170 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49171 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49172 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49173 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49174 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49175 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49176 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49177 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49178 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49179 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49180 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49181 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49182 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49183 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49184 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49185 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49186 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49187 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49189 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49190 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49191 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49192 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49193 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49194 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49195 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49196 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49197 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49198 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49199 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49200 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49201 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49202 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49203 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49204 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49205 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49206 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49207 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49208 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49209 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49211 // Map renamed classes back to their common name for OOR
49212 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49213 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49215 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49216 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49217 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49218 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49219 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49220 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49221 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49222 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49223 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49224 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49225 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49227 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49229 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49230 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49231 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49232 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49233 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49234 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49235 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49236 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49237 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49238 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49239 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49240 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49241 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49242 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49243 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49244 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49245 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49246 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49247 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49248 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49249 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49250 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49251 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49252 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49253 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49254 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49255 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49256 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49257 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49258 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49259 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49260 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49261 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49262 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49263 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49264 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49265 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49266 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49267 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49268 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49269 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49270 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49271 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));